pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <parent>
  4. <artifactId>blade-ops</artifactId>
  5. <groupId>org.springblade</groupId>
  6. <version>2.9.1.RELEASE</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>blade-xxljob-admin</artifactId>
  10. <name>${project.artifactId}</name>
  11. <version>${bladex.project.version}</version>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <maven.test.skip>true</maven.test.skip>
  20. <xxl-rpc.version>1.5.0</xxl-rpc.version>
  21. <spring.version>4.3.25.RELEASE</spring.version>
  22. <spring-boot.version>1.5.22.RELEASE</spring-boot.version>
  23. <mybatis-spring-boot-starter.version>1.3.5</mybatis-spring-boot-starter.version>
  24. <mysql-connector-java.version>5.1.48</mysql-connector-java.version>
  25. <slf4j-api.version>1.7.29</slf4j-api.version>
  26. <junit.version>4.12</junit.version>
  27. <groovy.version>2.5.8</groovy.version>
  28. <maven-source-plugin.version>3.2.0</maven-source-plugin.version>
  29. <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
  30. <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
  31. <maven-war-plugin.version>3.2.3</maven-war-plugin.version>
  32. </properties>
  33. <dependencies>
  34. <!--Blade-->
  35. <dependency>
  36. <groupId>org.springblade</groupId>
  37. <artifactId>blade-common</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springblade</groupId>
  41. <artifactId>blade-core-cloud</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springblade</groupId>
  45. <artifactId>blade-core-launch</artifactId>
  46. </dependency>
  47. <!-- freemarker-starter -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-freemarker</artifactId>
  51. </dependency>
  52. <!-- mail-starter -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-mail</artifactId>
  56. </dependency>
  57. <!-- starter-actuator -->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-actuator</artifactId>
  61. </dependency>
  62. <!-- mybatis-starter:mybatis + mybatis-spring + tomcat-jdbc(default) -->
  63. <dependency>
  64. <groupId>org.mybatis.spring.boot</groupId>
  65. <artifactId>mybatis-spring-boot-starter</artifactId>
  66. <version>${mybatis-spring-boot-starter.version}</version>
  67. </dependency>
  68. <!-- mysql -->
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. </dependency>
  73. <!-- xxl-job-core -->
  74. <dependency>
  75. <groupId>com.xuxueli</groupId>
  76. <artifactId>xxl-job-core</artifactId>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>com.spotify</groupId>
  83. <artifactId>dockerfile-maven-plugin</artifactId>
  84. <configuration>
  85. <username>${docker.username}</username>
  86. <password>${docker.password}</password>
  87. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  88. <tag>${project.version}</tag>
  89. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  90. <buildArgs>
  91. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  92. </buildArgs>
  93. <skip>false</skip>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-antrun-plugin</artifactId>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. </project>