pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>ruoyi</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>3.7.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>ruoyi-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- spring-boot-devtools, 在部分情况可能导致 类型异常或者 linkerror -->
  18. <!--<dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> &lt;!&ndash; 表示依赖不会传递 &ndash;&gt;
  22. </dependency>-->
  23. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-models</artifactId>
  32. <version>1.6.2</version>
  33. </dependency>
  34. <!-- Mysql驱动包 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- 核心模块-->
  40. <dependency>
  41. <groupId>com.ruoyi</groupId>
  42. <artifactId>ruoyi-framework</artifactId>
  43. <version>${ruoyi.version}</version>
  44. </dependency>
  45. <!-- 定时任务-->
  46. <dependency>
  47. <groupId>com.ruoyi</groupId>
  48. <artifactId>ruoyi-quartz</artifactId>
  49. <version>${ruoyi.version}</version>
  50. </dependency>
  51. <!-- 代码生成-->
  52. <dependency>
  53. <groupId>com.ruoyi</groupId>
  54. <artifactId>ruoyi-generator</artifactId>
  55. <version>${ruoyi.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.ruoyi</groupId>
  59. <artifactId>ruoyi-mall</artifactId>
  60. <version>${ruoyi.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.junit.vintage</groupId>
  64. <artifactId>junit-vintage-engine</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <version>2.5.0</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.h2database</groupId>
  75. <artifactId>h2</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <!-- 代码转换产生器 -->
  79. <dependency>
  80. <groupId>org.mapstruct</groupId>
  81. <artifactId>mapstruct</artifactId>
  82. <version>1.4.2.Final</version>
  83. </dependency>
  84. <!-- aliyun sms -->
  85. <dependency>
  86. <groupId>com.aliyun</groupId>
  87. <artifactId>dysmsapi20170525</artifactId>
  88. <optional>true</optional>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.baomidou</groupId>
  92. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. <version>2.1.1.RELEASE</version>
  101. <configuration>
  102. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  103. </configuration>
  104. <executions>
  105. <execution>
  106. <goals>
  107. <goal>repackage</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-war-plugin</artifactId>
  115. <version>3.1.0</version>
  116. <configuration>
  117. <failOnMissingWebXml>false</failOnMissingWebXml>
  118. <warName>${project.artifactId}</warName>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. <finalName>${project.artifactId}</finalName>
  123. </build>
  124. </project>