pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. <artifactId>ruoyi-extend</artifactId>
  6. <groupId>org.dromara</groupId>
  7. <version>${revision}</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <artifactId>ruoyi-xxl-job-admin</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <spring-boot.version>2.7.12</spring-boot.version>
  14. <spring-boot-admin.version>2.7.10</spring-boot-admin.version>
  15. <mybatis-spring-boot.version>2.2.2</mybatis-spring-boot.version>
  16. </properties>
  17. <dependencyManagement>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-parent</artifactId>
  22. <version>${spring-boot.version}</version>
  23. <type>pom</type>
  24. <scope>import</scope>
  25. </dependency>
  26. </dependencies>
  27. </dependencyManagement>
  28. <dependencies>
  29. <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <!-- starter-test:junit + spring-test + mockito -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <!-- freemarker-starter -->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-freemarker</artifactId>
  44. </dependency>
  45. <!-- mail-starter -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-mail</artifactId>
  49. </dependency>
  50. <!-- starter-actuator -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-actuator</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-aop</artifactId>
  58. </dependency>
  59. <!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
  60. <dependency>
  61. <groupId>org.mybatis.spring.boot</groupId>
  62. <artifactId>mybatis-spring-boot-starter</artifactId>
  63. <version>${mybatis-spring-boot.version}</version>
  64. </dependency>
  65. <!-- mysql -->
  66. <dependency>
  67. <groupId>com.mysql</groupId>
  68. <artifactId>mysql-connector-j</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>de.codecentric</groupId>
  72. <artifactId>spring-boot-admin-starter-client</artifactId>
  73. <version>${spring-boot-admin.version}</version>
  74. </dependency>
  75. <!-- xxl-job-core -->
  76. <dependency>
  77. <groupId>com.xuxueli</groupId>
  78. <artifactId>xxl-job-core</artifactId>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <finalName>${project.artifactId}</finalName>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-maven-plugin</artifactId>
  87. <version>${spring-boot.version}</version>
  88. <executions>
  89. <execution>
  90. <goals>
  91. <goal>repackage</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>