pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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>org.dromara</groupId>
  6. <artifactId>ruoyi-visual</artifactId>
  7. <version>${revision}</version>
  8. </parent>
  9. <artifactId>ruoyi-xxl-job-admin</artifactId>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <spring-boot.version>2.7.12</spring-boot.version>
  13. <spring-cloud.version>2021.0.7</spring-cloud.version>
  14. <spring-cloud-alibaba.version>2021.0.5.0</spring-cloud-alibaba.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-dependencies</artifactId>
  22. <version>${spring-boot.version}</version>
  23. <type>pom</type>
  24. <scope>import</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-dependencies</artifactId>
  29. <version>${spring-cloud.version}</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba.cloud</groupId>
  35. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  36. <version>${spring-cloud-alibaba.version}</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. </dependencies>
  41. </dependencyManagement>
  42. <dependencies>
  43. <!-- SpringCloud Alibaba Nacos -->
  44. <dependency>
  45. <groupId>com.alibaba.cloud</groupId>
  46. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  47. </dependency>
  48. <!-- SpringCloud Alibaba Nacos Config -->
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  52. </dependency>
  53. <!-- SpringCloud Alibaba Sentinel -->
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  57. </dependency>
  58. <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
  59. <!-- SpringBoot Web容器 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. <exclusions>
  64. <exclusion>
  65. <artifactId>spring-boot-starter-tomcat</artifactId>
  66. <groupId>org.springframework.boot</groupId>
  67. </exclusion>
  68. <exclusion>
  69. <artifactId>log4j-to-slf4j</artifactId>
  70. <groupId>org.apache.logging.log4j</groupId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <!-- web 容器使用 undertow 性能更强 -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-undertow</artifactId>
  78. </dependency>
  79. <!-- starter-test:junit + spring-test + mockito -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <!-- freemarker-starter -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-freemarker</artifactId>
  89. </dependency>
  90. <!-- mail-starter -->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-mail</artifactId>
  94. </dependency>
  95. <!-- starter-actuator -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-actuator</artifactId>
  99. </dependency>
  100. <!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
  101. <dependency>
  102. <groupId>org.mybatis.spring.boot</groupId>
  103. <artifactId>mybatis-spring-boot-starter</artifactId>
  104. <version>${mybatis-spring-boot.version}</version>
  105. </dependency>
  106. <!-- mysql -->
  107. <dependency>
  108. <groupId>com.mysql</groupId>
  109. <artifactId>mysql-connector-j</artifactId>
  110. </dependency>
  111. <!-- xxl-job-core -->
  112. <dependency>
  113. <groupId>com.xuxueli</groupId>
  114. <artifactId>xxl-job-core</artifactId>
  115. </dependency>
  116. </dependencies>
  117. <build>
  118. <finalName>${project.artifactId}</finalName>
  119. <plugins>
  120. <plugin>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-maven-plugin</artifactId>
  123. <version>${spring-boot.version}</version>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>