pom.xml 8.4 KB

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