pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.xuxueli</groupId>
  6. <artifactId>xxl-job</artifactId>
  7. <version>2.4.2</version>
  8. </parent>
  9. <artifactId>xxl-job-admin</artifactId>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <maven.deploy.skip>true</maven.deploy.skip>
  13. </properties>
  14. <dependencyManagement>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-parent</artifactId>
  19. <version>${spring-boot.version}</version>
  20. <type>pom</type>
  21. <scope>import</scope>
  22. </dependency>
  23. </dependencies>
  24. </dependencyManagement>
  25. <dependencies>
  26. <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <!-- starter-test:junit + spring-test + mockito -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-test</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <!-- freemarker-starter -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-freemarker</artifactId>
  41. </dependency>
  42. <!-- mail-starter -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-mail</artifactId>
  46. </dependency>
  47. <!-- starter-actuator -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-actuator</artifactId>
  51. </dependency>
  52. <!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
  53. <dependency>
  54. <groupId>org.mybatis.spring.boot</groupId>
  55. <artifactId>mybatis-spring-boot-starter</artifactId>
  56. <version>${mybatis-spring-boot-starter.version}</version>
  57. </dependency>
  58. <!-- mysql -->
  59. <dependency>
  60. <groupId>com.mysql</groupId>
  61. <artifactId>mysql-connector-j</artifactId>
  62. <version>${mysql-connector-j.version}</version>
  63. </dependency>
  64. <!-- xxl-job-core -->
  65. <dependency>
  66. <groupId>com.xuxueli</groupId>
  67. <artifactId>xxl-job-core</artifactId>
  68. <version>${project.parent.version}</version>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <version>${spring-boot.version}</version>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>repackage</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <!-- docker -->
  86. <!--<plugin>
  87. <groupId>com.spotify</groupId>
  88. <artifactId>docker-maven-plugin</artifactId>
  89. <version>0.4.13</version>
  90. <configuration>
  91. &lt;!&ndash; made of '[a-z0-9-_.]' &ndash;&gt;
  92. <imageName>${project.artifactId}:${project.version}</imageName>
  93. <dockerDirectory>${project.basedir}</dockerDirectory>
  94. <resources>
  95. <resource>
  96. <targetPath>/</targetPath>
  97. <directory>${project.build.directory}</directory>
  98. <include>${project.build.finalName}.jar</include>
  99. </resource>
  100. </resources>
  101. </configuration>
  102. </plugin>-->
  103. </plugins>
  104. </build>
  105. </project>