pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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>3.2.2</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.32</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. <druid.version>1.2.21</druid.version>
  23. <mariadb.version>3.4.0</mariadb.version>
  24. <hutool.version>5.8.27</hutool.version>
  25. <netty.version>4.1.110.Final</netty.version>
  26. <poi.version>3.17</poi.version>
  27. <freemarker.version>2.3.28</freemarker.version>
  28. <taosdata.version>3.2.11</taosdata.version>
  29. <dynamic-datasource.version>4.3.0</dynamic-datasource.version>
  30. <mybatis-plus.version>3.5.5</mybatis-plus.version>
  31. <mybatis-plus-generator.version>3.5.5</mybatis-plus-generator.version>
  32. </properties>
  33. <dependencies>
  34. <!--mybatis-plus 代码生成器的模板引擎-->
  35. <dependency>
  36. <groupId>org.apache.velocity</groupId>
  37. <artifactId>velocity-engine-core</artifactId>
  38. <version>2.3</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.freemarker</groupId>
  42. <artifactId>freemarker</artifactId>
  43. <version>${freemarker.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.mysql</groupId>
  47. <artifactId>mysql-connector-j</artifactId>
  48. <version>8.0.31</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.poi</groupId>
  52. <artifactId>poi</artifactId>
  53. <version>${poi.version}</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <!-- powerjob -->
  57. <!-- <dependency>-->
  58. <!-- <groupId>tech.powerjob</groupId>-->
  59. <!-- <artifactId>powerjob-worker-spring-boot-starter</artifactId>-->
  60. <!-- <version>${powerjob.worker.starter.version}</version>-->
  61. <!-- </dependency>-->
  62. <!-- <dependency>-->
  63. <!-- <groupId>tech.powerjob</groupId>-->
  64. <!-- <artifactId>powerjob-official-processors</artifactId>-->
  65. <!-- <version>${powerjob.worker.starter.version}</version>-->
  66. <!-- </dependency>-->
  67. <!-- <dependency>-->
  68. <!-- <groupId>tech.powerjob</groupId>-->
  69. <!-- <artifactId>powerjob-worker-spring-boot-starter</artifactId>-->
  70. <!-- <version>${powerjob.worker.starter.version}</version>-->
  71. <!-- </dependency>-->
  72. <!-- SpringBoot -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-web</artifactId>
  76. <version>${springboot.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter</artifactId>
  81. <version>${springboot.version}</version>
  82. <exclusions>
  83. <exclusion>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-logging</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-log4j2</artifactId>
  92. <version>${springboot.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-autoconfigure</artifactId>
  97. <version>${springboot.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-test</artifactId>
  102. <version>${springboot.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>fastjson</artifactId>
  108. <version>${fastjson.version}</version>
  109. </dependency>
  110. <!-- lombok -->
  111. <dependency>
  112. <groupId>org.projectlombok</groupId>
  113. <artifactId>lombok</artifactId>
  114. <version>${lombok.version}</version>
  115. <scope>provided</scope>
  116. </dependency>
  117. <!-- 高版本 JDK 移除了 JavaEE 的包,需要手动引入
  118. <dependency>
  119. <groupId>javax.xml.bind</groupId>
  120. <artifactId>jaxb-api</artifactId>
  121. <version>2.3.1</version>
  122. </dependency>
  123. -->
  124. <dependency>
  125. <groupId>org.mariadb.jdbc</groupId>
  126. <artifactId>mariadb-java-client</artifactId>
  127. <version>${mariadb.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.taosdata.jdbc</groupId>
  131. <artifactId>taos-jdbcdriver</artifactId>
  132. <version>${taosdata.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>cn.hutool</groupId>
  136. <artifactId>hutool-all</artifactId>
  137. <version>${hutool.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-starter-data-redis</artifactId>
  142. <version>${springboot.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.baomidou</groupId>
  146. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  147. <version>${dynamic-datasource.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.alibaba</groupId>
  151. <artifactId>druid-spring-boot-3-starter</artifactId>
  152. <version>${druid.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.baomidou</groupId>
  156. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  157. <version>${mybatis-plus.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.baomidou</groupId>
  161. <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
  162. <version>${mybatis-plus-generator.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.netty</groupId>
  166. <artifactId>netty-all</artifactId>
  167. <version>${netty.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>junit</groupId>
  171. <artifactId>junit</artifactId>
  172. <version>4.13.1</version>
  173. <scope>test</scope>
  174. </dependency>
  175. </dependencies>
  176. <!-- SpringBoot专用的打包插件 -->
  177. <build>
  178. <plugins>
  179. <plugin>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-maven-plugin</artifactId>
  182. <version>${springboot.version}</version>
  183. <configuration>
  184. <mainClass>com.gyee.generation.GenerationMain</mainClass>
  185. </configuration>
  186. <executions>
  187. <execution>
  188. <goals>
  189. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  190. </goals>
  191. </execution>
  192. </executions>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-deploy-plugin</artifactId>
  197. <configuration>
  198. <skip>true</skip>
  199. </configuration>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-compiler-plugin</artifactId>
  204. <version>${maven-compiler-plugin.version}</version>
  205. <configuration>
  206. <source>${java.version}</source>
  207. <target>${java.version}</target>
  208. <testSource>${java.version}</testSource>
  209. <testTarget>${java.version}</testTarget>
  210. </configuration>
  211. </plugin>
  212. </plugins>
  213. </build>
  214. </project>