pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <parent>
  6. <groupId>cn.com.taiji</groupId>
  7. <artifactId>data-service</artifactId>
  8. <version>1.0</version>
  9. </parent>
  10. <artifactId>zwww-service</artifactId>
  11. <name>zwww-service</name>
  12. <version>1.0</version>
  13. <description>DataService project for Spring Boot</description>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-devtools</artifactId>
  25. <scope>runtime</scope>
  26. <optional>true</optional>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. <optional>true</optional>
  32. <version>1.18.20</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.kafka</groupId>
  36. <artifactId>spring-kafka</artifactId>
  37. <version>2.2.4.RELEASE</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-data-redis</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.com.taiji</groupId>
  45. <artifactId>apione-http-client</artifactId>
  46. <version>1.0.0-SNAPSHOT</version>
  47. <scope>system</scope>
  48. <systemPath>${basedir}/lib/apione-http-client-1.0.0-SNAPSHOT.jar</systemPath>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. <version>1.2.75</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>cn.hutool</groupId>
  57. <artifactId>hutool-all</artifactId>
  58. <version>5.6.6</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-amqp</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>commons-io</groupId>
  66. <artifactId>commons-io</artifactId>
  67. <version>2.11.0</version>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-compiler-plugin</artifactId>
  75. <configuration>
  76. <source>1.8</source>
  77. <target>1.8</target>
  78. <encoding>utf-8</encoding>
  79. </configuration>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. <configuration>
  85. <!--fork:设置True,否则可能devtools不会起作用-->
  86. <fork>true</fork>
  87. <!-- 指定该Main Class为全局的唯一入口 -->
  88. <mainClass>cn.com.taiji.dataService.DataServiceApplication</mainClass>
  89. <layout>ZIP</layout>
  90. </configuration>
  91. <executions>
  92. <execution>
  93. <goals>
  94. <goal>repackage</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. <resources>
  101. <resource>
  102. <directory>lib</directory>
  103. <targetPath>BOOT-INF/lib/</targetPath>
  104. <includes>
  105. <include>**/*.jar</include>
  106. </includes>
  107. </resource>
  108. <resource>
  109. <directory>src/main/resources</directory>
  110. <filtering>true</filtering>
  111. </resource>
  112. </resources>
  113. </build>
  114. </project>