pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-batch</artifactId>
  14. <version>1.0</version>
  15. <description>抄表批处理模块</description>
  16. <properties>
  17. <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.huaxu.zoniot</groupId>
  22. <artifactId>meter-reading-common</artifactId>
  23. <version>1.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. <optional>true</optional>
  38. </dependency>
  39. <!-- AMQP-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-amqp</artifactId>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <finalName>
  47. ${project.artifactId}-${project.version}-${maven.build.timestamp}
  48. </finalName>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-maven-plugin</artifactId>
  53. <configuration>
  54. <fork>true</fork>
  55. <addResources>true</addResources>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. </project>