pom.xml 9.5 KB

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