pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>3.2.1-SNAPSHOT</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. <!-- xxl-sso (xxl-tool、gson) -->
  71. <dependency>
  72. <groupId>com.xuxueli</groupId>
  73. <artifactId>xxl-sso-core</artifactId>
  74. <version>${xxl-sso.version}</version>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-maven-plugin</artifactId>
  82. <!--<version>${spring-boot.version}</version>-->
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>repackage</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <!-- docker -->
  92. <!--<plugin>
  93. <groupId>com.spotify</groupId>
  94. <artifactId>docker-maven-plugin</artifactId>
  95. <version>0.4.13</version>
  96. <configuration>
  97. &lt;!&ndash; made of '[a-z0-9-_.]' &ndash;&gt;
  98. <imageName>${project.artifactId}:${project.version}</imageName>
  99. <dockerDirectory>${project.basedir}</dockerDirectory>
  100. <resources>
  101. <resource>
  102. <targetPath>/</targetPath>
  103. <directory>${project.build.directory}</directory>
  104. <include>${project.build.finalName}.jar</include>
  105. </resource>
  106. </resources>
  107. </configuration>
  108. </plugin>-->
  109. </plugins>
  110. </build>
  111. </project>