pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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>com.alibaba</groupId>
  33. <artifactId>druid-spring-boot-starter</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.xuxueli</groupId>
  37. <artifactId>xxl-job-core</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-openfeign</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>shop.alien</groupId>
  49. <artifactId>alien-util</artifactId>
  50. <version>1.0.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>shop.alien</groupId>
  54. <artifactId>alien-entity</artifactId>
  55. <version>1.0.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>shop.alien</groupId>
  59. <artifactId>alien-config</artifactId>
  60. <version>1.0.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-boot-starter</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.github.pagehelper</groupId>
  68. <artifactId>pagehelper-spring-boot-starter</artifactId>
  69. </dependency>
  70. <!-- mybatis-plus代码生成器 Start -->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-generator</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <artifactId>jsqlparser</artifactId>
  77. <groupId>com.github.jsqlparser</groupId>
  78. </exclusion>
  79. <exclusion>
  80. <artifactId>mybatis</artifactId>
  81. <groupId>org.mybatis</groupId>
  82. </exclusion>
  83. <exclusion>
  84. <artifactId>mybatis-spring</artifactId>
  85. <groupId>org.mybatis</groupId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.baomidou</groupId>
  91. <artifactId>mybatis-plus-annotation</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.baomidou</groupId>
  95. <artifactId>mybatis-plus-extension</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.baomidou</groupId>
  99. <artifactId>mybatis-plus-core</artifactId>
  100. <scope>compile</scope>
  101. </dependency>
  102. <!-- mybatisPlus Freemarker 模版引擎 -->
  103. <dependency>
  104. <groupId>org.freemarker</groupId>
  105. <artifactId>freemarker</artifactId>
  106. </dependency>
  107. <!-- mybatis-plus代码生成器 End -->
  108. </dependencies>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-dependency-plugin</artifactId>
  114. <version>3.1.2</version> <!-- 使用最新版本 -->
  115. <executions>
  116. <execution>
  117. <id>copy-dependencies</id>
  118. <phase>prepare-package</phase> <!-- 在package之前执行 -->
  119. <goals>
  120. <goal>copy-dependencies</goal>
  121. </goals>
  122. <configuration>
  123. <outputDirectory>${project.build.directory}/lib</outputDirectory> <!-- 指定输出目录 -->
  124. <includeScope>runtime</includeScope> <!-- 仅包含运行时依赖 -->
  125. </configuration>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-maven-plugin</artifactId>
  132. <configuration>
  133. <mainClass>shop.alien.job.AlienJobApplication</mainClass>
  134. <layout>ZIP</layout>
  135. <includes>
  136. <include>
  137. <groupId>nothing</groupId>
  138. <artifactId>nothing</artifactId>
  139. </include>
  140. </includes>
  141. </configuration>
  142. <executions>
  143. <execution>
  144. <goals>
  145. <goal>repackage</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-compiler-plugin</artifactId>
  153. <configuration>
  154. <source>8</source>
  155. <target>8</target>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. </build>
  160. </project>