pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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.edge</groupId>
  13. <artifactId>edge-calculate</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. <spring-cloud.version>Hoxton.SR3</spring-cloud.version>
  20. <spring-cloud-alibaba.version>2.2.1.RELEASE</spring-cloud-alibaba.version>
  21. <mybatis-plus.version>3.3.1</mybatis-plus.version>
  22. <mybatis-typehandlers.version>1.0.2</mybatis-typehandlers.version>
  23. <mybatis-plus-generator.version>3.3.1.tmp</mybatis-plus-generator.version>
  24. <velocity-engine.version>2.2</velocity-engine.version>
  25. <swagger.version>1.9.1.RELEASE</swagger.version>
  26. <!-- <lombok.version>1.18.16</lombok.version>-->
  27. <lombok.version>1.16.18</lombok.version>
  28. <jwt.version>0.9.1</jwt.version>
  29. <web.version>2.3.0.RELEASE</web.version>
  30. <security.version>2.3.0.RELEASE</security.version>
  31. <redis.version>2.3.0.RELEASE</redis.version>
  32. <jedis.version>3.1.0</jedis.version>
  33. <fastjson.version>1.2.58</fastjson.version>
  34. <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
  35. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  36. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  37. </properties>
  38. <dependencies>
  39. <!-- https://mvnrepository.com/artifact/com.ghgande/j2mod -->
  40. <dependency>
  41. <groupId>com.ghgande</groupId>
  42. <artifactId>j2mod</artifactId>
  43. <version>3.1.1</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>net.i2p.crypto</groupId>
  47. <artifactId>eddsa</artifactId>
  48. <version>0.3.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.sshd</groupId>
  52. <artifactId>sshd-core</artifactId>
  53. <version>2.5.1</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.sshd</groupId>
  57. <artifactId>sshd-scp</artifactId>
  58. <version>2.5.1</version>
  59. </dependency>
  60. <!--mybatis-plus-->
  61. <dependency>
  62. <groupId>com.baomidou</groupId>
  63. <artifactId>mybatis-plus-boot-starter</artifactId>
  64. <version>${mybatis-plus.version}</version>
  65. </dependency>
  66. <!--这个必须引用 因为使用mybatis-plus LocalDataTime问题-->
  67. <dependency>
  68. <groupId>org.mybatis</groupId>
  69. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  70. <version>${mybatis-typehandlers.version}</version>
  71. </dependency>
  72. <!--jdbc starter-->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-jdbc</artifactId>
  76. </dependency>
  77. <!--lombok-->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>${lombok.version}</version>
  82. </dependency>
  83. <!--quartz-->
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-quartz</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-test</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.alibaba</groupId>
  94. <artifactId>fastjson</artifactId>
  95. <version>${fastjson.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.xerial</groupId>
  99. <artifactId>sqlite-jdbc</artifactId>
  100. <version>3.36.0.3</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.baomidou</groupId>
  104. <artifactId>mybatis-plus-generator</artifactId>
  105. <version>3.3.1.tmp</version>
  106. <scope>test</scope>
  107. </dependency>
  108. <!-- 模板引擎 -->
  109. <dependency>
  110. <groupId>org.apache.velocity</groupId>
  111. <artifactId>velocity-engine-core</artifactId>
  112. <version>2.0</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.gct.common.util</groupId>
  116. <artifactId>common-util</artifactId>
  117. <version>3.0-SNAPSHOT</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.jetbrains</groupId>
  121. <artifactId>annotations</artifactId>
  122. <version>13.0</version>
  123. <scope>compile</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-starter-validation</artifactId>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.thrift</groupId>
  131. <artifactId>libthrift</artifactId>
  132. <version>0.13.0</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.apache.commons</groupId>
  136. <artifactId>commons-pool2</artifactId>
  137. </dependency>
  138. </dependencies>
  139. <build>
  140. <resources>
  141. <resource>
  142. <directory>src/main/java</directory>
  143. <excludes>
  144. <exclude>**/*.java</exclude>
  145. </excludes>
  146. </resource>
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <includes>
  150. <include>**/*.*</include>
  151. </includes>
  152. </resource>
  153. <resource>
  154. <directory>src/main/java</directory>
  155. <includes>
  156. <include>**/*.xml</include>
  157. </includes>
  158. <!-- 是否替换资源中的属性-->
  159. <filtering>false</filtering>
  160. </resource>
  161. </resources>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-maven-plugin</artifactId>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-compiler-plugin</artifactId>
  170. <version>${maven-compiler-plugin.version}</version>
  171. <configuration>
  172. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  173. 允许值为:
  174. none - no annotation processing is performed.
  175. only - only annotation processing is done, no compilation.
  176. 设置为only complie 或者build一下就可以运行annotation processor了
  177. 平常走默认值即可-->
  178. <!-- <proc>only</proc>-->
  179. <source>${java.version}</source>
  180. <target>${java.version}</target>
  181. <encoding>utf-8</encoding>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.projectlombok</groupId>
  186. <artifactId>lombok-maven-plugin</artifactId>
  187. <version>${lombok-maven-plugin.version}</version>
  188. </plugin>
  189. <!-- 打包过程忽略Junit测试 -->
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-surefire-plugin</artifactId>
  193. <configuration>
  194. <skip>true</skip>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>