pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>com.gct.dataengine</groupId>
  13. <artifactId>data-engine-collector</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>data_engine_collector</name>
  16. <description>样例服务</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <jdk.version>8</jdk.version>
  20. <com-gct-common-core.version>2.0-SNAPSHOT</com-gct-common-core.version>
  21. <com-gct-common-security.version>2.0-SNAPSHOT</com-gct-common-security.version>
  22. <com-gct-common-util.version>2.0-SNAPSHOT</com-gct-common-util.version>
  23. <commons-io.version>2.8.0</commons-io.version>
  24. <org.apache.thrift.version>0.13.0</org.apache.thrift.version>
  25. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  26. <lombok.version>1.16.18</lombok.version>
  27. <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
  28. </properties>
  29. <dependencies>
  30. <!--oss-->
  31. <dependency>
  32. <groupId>de.ruedigermoeller</groupId>
  33. <artifactId>fst</artifactId>
  34. <version>2.57</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.gct.common.oss</groupId>
  38. <artifactId>oss-api</artifactId>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>com.squareup.okhttp3</groupId>
  42. <artifactId>okhttp</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. <version>4.1-SNAPSHOT</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.squareup.okhttp3</groupId>
  49. <artifactId>okhttp</artifactId>
  50. <version>4.9.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.gct.dataengine.template</groupId>
  54. <artifactId>data-engine-template</artifactId>
  55. <version>1.0-SNAPSHOT</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-quartz</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-configuration-processor</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>commons-configuration</groupId>
  68. <artifactId>commons-configuration</artifactId>
  69. <version>1.8</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-beanutils</groupId>
  73. <artifactId>commons-beanutils</artifactId>
  74. <version>1.8.0</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.cloud</groupId>
  78. <artifactId>spring-cloud-starter-openfeign</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-jxpath</groupId>
  82. <artifactId>commons-jxpath</artifactId>
  83. <version>1.3</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.gct.common.driver</groupId>
  87. <artifactId>data-engine-driver</artifactId>
  88. <version>1.0-SNAPSHOT</version>
  89. </dependency>
  90. <!--common核心包依赖-->
  91. <dependency>
  92. <groupId>com.gct.common.core</groupId>
  93. <artifactId>common-core</artifactId>
  94. <version>1.0-SNAPSHOT</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.gct.common.util</groupId>
  98. <artifactId>common-util</artifactId>
  99. <version>3.0-SNAPSHOT</version>
  100. </dependency>
  101. <!--common 安全包-->
  102. <dependency>
  103. <groupId>com.gct.common.security</groupId>
  104. <artifactId>common-security</artifactId>
  105. <version>2.0-SNAPSHOT</version>
  106. </dependency>
  107. <!--nocas 注册中心依赖-->
  108. <dependency>
  109. <groupId>com.alibaba.cloud</groupId>
  110. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  111. </dependency>
  112. <!--sentinel依赖-->
  113. <!-- <dependency>
  114. <groupId>com.alibaba.cloud</groupId>
  115. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  116. </dependency>
  117. &lt;!&ndash;actuator 流量收集 使用sentinel的前提&ndash;&gt;
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-actuator</artifactId>
  121. </dependency>-->
  122. <!--web 依赖-->
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-web</artifactId>
  126. </dependency>
  127. <!--lombok-->
  128. <dependency>
  129. <groupId>org.projectlombok</groupId>
  130. <artifactId>lombok</artifactId>
  131. <optional>true</optional>
  132. </dependency>
  133. <!--文件上传相关-->
  134. <dependency>
  135. <groupId>commons-io</groupId>
  136. <artifactId>commons-io</artifactId>
  137. <version>2.8.0</version>
  138. </dependency>
  139. <!-- spring security -->
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-security</artifactId>
  143. </dependency>
  144. <!--junit测试-->
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-starter-test</artifactId>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-validation</artifactId>
  153. </dependency>
  154. </dependencies>
  155. <dependencyManagement>
  156. <dependencies>
  157. <!-- Spring Cloud Hoxton -->
  158. <dependency>
  159. <groupId>org.springframework.cloud</groupId>
  160. <artifactId>spring-cloud-dependencies</artifactId>
  161. <version>Hoxton.SR3</version>
  162. <type>pom</type>
  163. <scope>import</scope>
  164. </dependency>
  165. <!-- Spring Cloud Alibaba -->
  166. <dependency>
  167. <groupId>com.alibaba.cloud</groupId>
  168. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  169. <version>2.2.1.RELEASE</version>
  170. <type>pom</type>
  171. <scope>import</scope>
  172. </dependency>
  173. </dependencies>
  174. </dependencyManagement>
  175. <build>
  176. <resources>
  177. <resource>
  178. <directory>src/main/java</directory>
  179. <excludes>
  180. <exclude>**/*.java</exclude>
  181. </excludes>
  182. </resource>
  183. <resource>
  184. <directory>src/main/resources</directory>
  185. <includes>
  186. <include>**/*.*</include>
  187. </includes>
  188. </resource>
  189. <resource>
  190. <directory>src/main/java</directory>
  191. <includes>
  192. <include>**/*.xml</include>
  193. </includes>
  194. <!-- 是否替换资源中的属性-->
  195. <filtering>false</filtering>
  196. </resource>
  197. </resources>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot-maven-plugin</artifactId>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-compiler-plugin</artifactId>
  206. <version>${maven-compiler-plugin.version}</version>
  207. <configuration>
  208. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  209. 允许值为:
  210. none - no annotation processing is performed.
  211. only - only annotation processing is done, no compilation.
  212. 设置为only complie 或者build一下就可以运行annotation processor了
  213. 平常走默认值即可-->
  214. <!-- <proc>only</proc>-->
  215. <source>${jdk.version}</source>
  216. <target>${jdk.version}</target>
  217. <encoding>utf-8</encoding>
  218. </configuration>
  219. </plugin>
  220. <plugin>
  221. <groupId>org.projectlombok</groupId>
  222. <artifactId>lombok-maven-plugin</artifactId>
  223. <version>${lombok-maven-plugin.version}</version>
  224. </plugin>
  225. <!-- 打包过程忽略Junit测试 -->
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-surefire-plugin</artifactId>
  229. <configuration>
  230. <skip>true</skip>
  231. </configuration>
  232. </plugin>
  233. </plugins>
  234. </build>
  235. </project>