pom.xml 3.5 KB

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