pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>gyee.job</groupId>
  7. <artifactId>powerjob</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <name>gyee-job</name>
  11. <properties>
  12. <springboot.version>2.7.18</springboot.version>
  13. <powerjob.worker.starter.version>4.3.9</powerjob.worker.starter.version>
  14. <fastjson.version>1.2.83</fastjson.version>
  15. <lombok.version>1.18.12</lombok.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  22. <mybatis.spring.boot.version>2.3.2</mybatis.spring.boot.version>
  23. <mybatis-plus.boot.starter.version>3.2.0</mybatis-plus.boot.starter.version>
  24. <mybatis-plus.generator.version>3.3.2</mybatis-plus.generator.version>
  25. <druid.version>1.2.5</druid.version>
  26. <mariadb.version>3.4.0</mariadb.version>
  27. <taosdata.version>3.2.11</taosdata.version>
  28. <hutool.version>5.8.27</hutool.version>
  29. <dynamic-datasource.version>3.5.0</dynamic-datasource.version>
  30. <netty.version>4.1.110.Final</netty.version>
  31. <poi.version>3.17</poi.version>
  32. <freemarker.version>2.3.28</freemarker.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.freemarker</groupId>
  37. <artifactId>freemarker</artifactId>
  38. <version>${freemarker.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.mysql</groupId>
  42. <artifactId>mysql-connector-j</artifactId>
  43. <version>8.0.31</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.poi</groupId>
  47. <artifactId>poi</artifactId>
  48. <version>${poi.version}</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. <!-- powerjob -->
  52. <dependency>
  53. <groupId>tech.powerjob</groupId>
  54. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  55. <version>${powerjob.worker.starter.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>tech.powerjob</groupId>
  59. <artifactId>powerjob-official-processors</artifactId>
  60. <version>${powerjob.worker.starter.version}</version>
  61. </dependency>
  62. <!-- SpringBoot -->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-web</artifactId>
  66. <version>${springboot.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-autoconfigure</artifactId>
  71. <version>${springboot.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-test</artifactId>
  76. <version>${springboot.version}</version>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>tech.powerjob</groupId>
  81. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  82. <version>${powerjob.worker.starter.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.alibaba</groupId>
  86. <artifactId>fastjson</artifactId>
  87. <version>${fastjson.version}</version>
  88. </dependency>
  89. <!-- lombok -->
  90. <dependency>
  91. <groupId>org.projectlombok</groupId>
  92. <artifactId>lombok</artifactId>
  93. <version>${lombok.version}</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. <!-- 高版本 JDK 移除了 JavaEE 的包,需要手动引入
  97. <dependency>
  98. <groupId>javax.xml.bind</groupId>
  99. <artifactId>jaxb-api</artifactId>
  100. <version>2.3.1</version>
  101. </dependency>
  102. -->
  103. <!-- druid -->
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>druid</artifactId>
  107. <version>${druid.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.mariadb.jdbc</groupId>
  111. <artifactId>mariadb-java-client</artifactId>
  112. <version>${mariadb.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.taosdata.jdbc</groupId>
  116. <artifactId>taos-jdbcdriver</artifactId>
  117. <version>${taosdata.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>cn.hutool</groupId>
  121. <artifactId>hutool-all</artifactId>
  122. <version>${hutool.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  127. <version>${dynamic-datasource.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-starter-data-redis</artifactId>
  132. <version>${springboot.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.mybatis.spring.boot</groupId>
  136. <artifactId>mybatis-spring-boot-starter</artifactId>
  137. <version>${mybatis.spring.boot.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.baomidou</groupId>
  141. <artifactId>mybatis-plus-boot-starter</artifactId>
  142. <version>${mybatis-plus.boot.starter.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.baomidou</groupId>
  146. <artifactId>mybatis-plus-generator</artifactId>
  147. <version>${mybatis-plus.generator.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.netty</groupId>
  151. <artifactId>netty-all</artifactId>
  152. <version>${netty.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>junit</groupId>
  156. <artifactId>junit</artifactId>
  157. <version>4.13.1</version>
  158. <scope>test</scope>
  159. </dependency>
  160. </dependencies>
  161. <!-- SpringBoot专用的打包插件 -->
  162. <build>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. <version>${springboot.version}</version>
  168. <configuration>
  169. <mainClass>com.gyee.generation.GenerationMain</mainClass>
  170. </configuration>
  171. <executions>
  172. <execution>
  173. <goals>
  174. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  175. </goals>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-deploy-plugin</artifactId>
  182. <configuration>
  183. <skip>true</skip>
  184. </configuration>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-compiler-plugin</artifactId>
  189. <version>${maven-compiler-plugin.version}</version>
  190. <configuration>
  191. <source>${java.version}</source>
  192. <target>${java.version}</target>
  193. <testSource>${java.version}</testSource>
  194. <testTarget>${java.version}</testTarget>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>