pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.2.6.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.huaxu.zoniot</groupId>
  13. <artifactId>meter-reading-tianjin</artifactId>
  14. <version>1.0</version>
  15. <description>津南抄表集成与迁移工程</description>
  16. <properties>
  17. <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
  18. <java.version>1.8</java.version>
  19. <skipTests>true</skipTests>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>com.huaxu.zoniot</groupId>
  24. <artifactId>meter-reading-common</artifactId>
  25. <version>1.0</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.projectlombok</groupId>
  29. <artifactId>lombok</artifactId>
  30. <optional>true</optional>
  31. </dependency>
  32. <!-- 实现web功能 -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>io.springfox</groupId>
  44. <artifactId>springfox-swagger2</artifactId>
  45. <version>2.7.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>io.springfox</groupId>
  49. <artifactId>springfox-swagger-ui</artifactId>
  50. <version>2.7.0</version>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <finalName>
  55. ${project.artifactId}-${project.version}-${maven.build.timestamp}
  56. </finalName>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <configuration>
  62. <fork>true</fork>
  63. <addResources>true</addResources>
  64. </configuration>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </project>