pom.xml 8.1 KB

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