pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.ruoyi</groupId>
  6. <artifactId>ruoyi-modules</artifactId>
  7. <version>2.5.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>train-resource</artifactId>
  11. <description>
  12. 社区培训学院-基础资源库系统
  13. </description>
  14. <dependencies>
  15. <!-- SpringCloud Ailibaba Nacos -->
  16. <dependency>
  17. <groupId>com.alibaba.cloud</groupId>
  18. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  19. </dependency>
  20. <!-- SpringCloud Ailibaba Nacos Config -->
  21. <dependency>
  22. <groupId>com.alibaba.cloud</groupId>
  23. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  24. </dependency>
  25. <!-- SpringCloud Ailibaba Sentinel -->
  26. <dependency>
  27. <groupId>com.alibaba.cloud</groupId>
  28. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.rabbitmq</groupId>
  32. <artifactId>amqp-client</artifactId>
  33. <version>4.1.0</version>
  34. </dependency>
  35. <!-- SpringBoot Actuator -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-actuator</artifactId>
  39. </dependency>
  40. <!-- Swagger -->
  41. <dependency>
  42. <groupId>io.springfox</groupId>
  43. <artifactId>springfox-swagger-ui</artifactId>
  44. <version>${swagger.fox.version}</version>
  45. </dependency>
  46. <!-- Quartz -->
  47. <dependency>
  48. <groupId>org.quartz-scheduler</groupId>
  49. <artifactId>quartz</artifactId>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>com.mchange</groupId>
  53. <artifactId>c3p0</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!-- Mysql Connector -->
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.ruoyi</groupId>
  64. <artifactId>ruoyi-common-datasource</artifactId>
  65. </dependency>
  66. <!-- RuoYi Common Log -->
  67. <dependency>
  68. <groupId>com.ruoyi</groupId>
  69. <artifactId>ruoyi-common-log</artifactId>
  70. </dependency>
  71. <!-- RuoYi Common Swagger -->
  72. <dependency>
  73. <groupId>com.ruoyi</groupId>
  74. <artifactId>ruoyi-common-swagger</artifactId>
  75. </dependency>
  76. <!-- 系统接口 -->
  77. <dependency>
  78. <groupId>com.ruoyi</groupId>
  79. <artifactId>ruoyi-api-system</artifactId>
  80. <version>${ruoyi.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-test</artifactId>
  85. <version>2.3.4.RELEASE</version>
  86. <scope>test</scope>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>org.junit.vintage</groupId>
  90. <artifactId>junit-vintage-engine</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. </dependency>
  98. </dependencies>
  99. <build>
  100. <finalName>${project.artifactId}</finalName>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-maven-plugin</artifactId>
  105. <version>2.3.5.RELEASE</version>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. <resources>
  116. <resource>
  117. <directory>src/main/resources</directory>
  118. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  119. <filtering>true</filtering>
  120. </resource>
  121. </resources>
  122. </build>
  123. </project>