pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>shop.alien</groupId>
  7. <artifactId>alien-cloud</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>alien-job</artifactId>
  11. <version>1.0.0</version>
  12. <name>alien-job</name>
  13. <description>alien-job</description>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-jdbc</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>io.springfox</groupId>
  33. <artifactId>springfox-swagger2</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.swagger</groupId>
  37. <artifactId>swagger-annotations</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-models</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.github.xiaoymin</groupId>
  45. <artifactId>swagger-bootstrap-ui</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.xuxueli</groupId>
  49. <artifactId>xxl-job-core</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>shop.alien</groupId>
  57. <artifactId>alien-util</artifactId>
  58. <version>1.0.0</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>shop.alien</groupId>
  62. <artifactId>alien-entity</artifactId>
  63. <version>1.0.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>shop.alien</groupId>
  67. <artifactId>alien-config</artifactId>
  68. <version>1.0.0</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.alibaba.cloud</groupId>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba.cloud</groupId>
  76. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-boot-starter</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.github.pagehelper</groupId>
  84. <artifactId>pagehelper-spring-boot-starter</artifactId>
  85. </dependency>
  86. <!-- mybatis-plus代码生成器 Start -->
  87. <dependency>
  88. <groupId>com.baomidou</groupId>
  89. <artifactId>mybatis-plus-generator</artifactId>
  90. <exclusions>
  91. <exclusion>
  92. <artifactId>jsqlparser</artifactId>
  93. <groupId>com.github.jsqlparser</groupId>
  94. </exclusion>
  95. <exclusion>
  96. <artifactId>mybatis</artifactId>
  97. <groupId>org.mybatis</groupId>
  98. </exclusion>
  99. <exclusion>
  100. <artifactId>mybatis-spring</artifactId>
  101. <groupId>org.mybatis</groupId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.baomidou</groupId>
  107. <artifactId>mybatis-plus-annotation</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.baomidou</groupId>
  111. <artifactId>mybatis-plus-extension</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.baomidou</groupId>
  115. <artifactId>mybatis-plus-core</artifactId>
  116. <scope>compile</scope>
  117. </dependency>
  118. <!-- mybatisPlus Freemarker 模版引擎 -->
  119. <dependency>
  120. <groupId>org.freemarker</groupId>
  121. <artifactId>freemarker</artifactId>
  122. </dependency>
  123. <!-- mybatis-plus代码生成器 End -->
  124. </dependencies>
  125. <build>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-dependency-plugin</artifactId>
  130. <version>3.1.2</version> <!-- 使用最新版本 -->
  131. <executions>
  132. <execution>
  133. <id>copy-dependencies</id>
  134. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  135. <goals>
  136. <goal>copy-dependencies</goal>
  137. </goals>
  138. <configuration>
  139. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  140. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  141. </configuration>
  142. </execution>
  143. </executions>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-maven-plugin</artifactId>
  148. <configuration>
  149. <mainClass>shop.alien.job.AlienJobApplication</mainClass>
  150. <layout>ZIP</layout>
  151. <includes>
  152. <include>
  153. <groupId>nothing</groupId>
  154. <artifactId>nothing</artifactId>
  155. </include>
  156. </includes>
  157. </configuration>
  158. <executions>
  159. <execution>
  160. <goals>
  161. <goal>repackage</goal>
  162. </goals>
  163. </execution>
  164. </executions>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <configuration>
  170. <source>8</source>
  171. <target>8</target>
  172. </configuration>
  173. </plugin>
  174. </plugins>
  175. </build>
  176. </project>