pom.xml 8.2 KB

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