pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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.5.5</mybatis-plus.boot.starter.version>
  24. <mybatis-plus.generator.version>3.5.5</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>4.3.0</dynamic-datasource.version>
  30. <netty.version>4.1.110.Final</netty.version>
  31. <poi.version>3.17</poi.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.apache.groovy</groupId>
  36. <artifactId>groovy</artifactId>
  37. <version>4.0.22</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.poi</groupId>
  41. <artifactId>poi</artifactId>
  42. <version>${poi.version}</version>
  43. <scope>compile</scope>
  44. </dependency>
  45. <!-- powerjob -->
  46. <dependency>
  47. <groupId>tech.powerjob</groupId>
  48. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  49. <version>${powerjob.worker.starter.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>tech.powerjob</groupId>
  53. <artifactId>powerjob-official-processors</artifactId>
  54. <version>${powerjob.worker.starter.version}</version>
  55. </dependency>
  56. <!-- SpringBoot -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. <version>${springboot.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-autoconfigure</artifactId>
  65. <version>${springboot.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <version>${springboot.version}</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>tech.powerjob</groupId>
  75. <artifactId>powerjob-worker-spring-boot-starter</artifactId>
  76. <version>${powerjob.worker.starter.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba</groupId>
  80. <artifactId>fastjson</artifactId>
  81. <version>${fastjson.version}</version>
  82. </dependency>
  83. <!-- lombok -->
  84. <dependency>
  85. <groupId>org.projectlombok</groupId>
  86. <artifactId>lombok</artifactId>
  87. <version>${lombok.version}</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <!-- 高版本 JDK 移除了 JavaEE 的包,需要手动引入
  91. <dependency>
  92. <groupId>javax.xml.bind</groupId>
  93. <artifactId>jaxb-api</artifactId>
  94. <version>2.3.1</version>
  95. </dependency>
  96. -->
  97. <!-- druid -->
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid</artifactId>
  101. <version>${druid.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.mariadb.jdbc</groupId>
  105. <artifactId>mariadb-java-client</artifactId>
  106. <version>${mariadb.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.taosdata.jdbc</groupId>
  110. <artifactId>taos-jdbcdriver</artifactId>
  111. <version>${taosdata.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>cn.hutool</groupId>
  115. <artifactId>hutool-all</artifactId>
  116. <version>${hutool.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.baomidou</groupId>
  120. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  121. <version>${dynamic-datasource.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.boot</groupId>
  125. <artifactId>spring-boot-starter-data-redis</artifactId>
  126. <version>${springboot.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.mybatis.spring.boot</groupId>
  130. <artifactId>mybatis-spring-boot-starter</artifactId>
  131. <version>${mybatis.spring.boot.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.baomidou</groupId>
  135. <artifactId>mybatis-plus-boot-starter</artifactId>
  136. <version>${mybatis-plus.boot.starter.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.baomidou</groupId>
  140. <artifactId>mybatis-plus-generator</artifactId>
  141. <version>${mybatis-plus.generator.version}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>io.netty</groupId>
  145. <artifactId>netty-all</artifactId>
  146. <version>${netty.version}</version>
  147. </dependency>
  148. </dependencies>
  149. <!-- SpringBoot专用的打包插件 -->
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-maven-plugin</artifactId>
  155. <version>${springboot.version}</version>
  156. <configuration>
  157. <mainClass>com.gyee.generation.GenerationMain</mainClass>
  158. </configuration>
  159. <executions>
  160. <execution>
  161. <goals>
  162. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-deploy-plugin</artifactId>
  170. <configuration>
  171. <skip>true</skip>
  172. </configuration>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-compiler-plugin</artifactId>
  177. <version>${maven-compiler-plugin.version}</version>
  178. <configuration>
  179. <source>${java.version}</source>
  180. <target>${java.version}</target>
  181. <testSource>${java.version}</testSource>
  182. <testTarget>${java.version}</testTarget>
  183. </configuration>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>