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