pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.zcxk.zoniot</groupId>
  6. <artifactId>smart-city-common</artifactId>
  7. <version>0.0.1</version>
  8. <name>smart-city-common</name>
  9. <description>水务物联网公共模块</description>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <java.version>1.8</java.version>
  13. <skipTests>true</skipTests>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.projectlombok</groupId>
  18. <artifactId>lombok</artifactId>
  19. <version>1.18.2</version>
  20. <optional>true</optional>
  21. </dependency>
  22. <!--<dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  25. </dependency>-->
  26. <dependency>
  27. <groupId>org.apache.commons</groupId>
  28. <artifactId>commons-lang3</artifactId>
  29. <version>3.4</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.data</groupId>
  33. <artifactId>spring-data-mongodb</artifactId>
  34. <version>2.2.7.RELEASE</version>
  35. <scope>compile</scope>
  36. </dependency>
  37. <!-- 构建Restful API -->
  38. <dependency>
  39. <groupId>io.springfox</groupId>
  40. <artifactId>springfox-swagger2</artifactId>
  41. <version>2.7.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>io.springfox</groupId>
  45. <artifactId>springfox-swagger-ui</artifactId>
  46. <version>2.7.0</version>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <phase>none</phase>
  57. </execution>
  58. </executions>
  59. <configuration>
  60. <classifier>execute</classifier>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-compiler-plugin</artifactId>
  66. <configuration>
  67. <source>8</source>
  68. <target>8</target>
  69. </configuration>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>