pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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>4.6.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. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-devtools</artifactId>
  26. <optional>true</optional> <!-- 表示依赖不会传递 -->
  27. </dependency>
  28. <!-- swagger2-->
  29. <dependency>
  30. <groupId>io.springfox</groupId>
  31. <artifactId>springfox-swagger2</artifactId>
  32. </dependency>
  33. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  34. <dependency>
  35. <groupId>io.swagger</groupId>
  36. <artifactId>swagger-annotations</artifactId>
  37. <version>1.5.21</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-models</artifactId>
  42. <version>1.5.21</version>
  43. </dependency>
  44. <!-- swagger2-UI-->
  45. <dependency>
  46. <groupId>io.springfox</groupId>
  47. <artifactId>springfox-swagger-ui</artifactId>
  48. </dependency>
  49. <!-- Mysql驱动包 -->
  50. <dependency>
  51. <groupId>mysql</groupId>
  52. <artifactId>mysql-connector-java</artifactId>
  53. </dependency>
  54. <!-- 达梦驱动包 -->
  55. <!--<dependency>-->
  56. <!--<groupId>com.dm</groupId>-->
  57. <!--<artifactId>DmJdbcDriver</artifactId>-->
  58. <!--</dependency>-->
  59. <!-- 核心模块-->
  60. <dependency>
  61. <groupId>com.ruoyi</groupId>
  62. <artifactId>ruoyi-framework</artifactId>
  63. </dependency>
  64. <!-- 定时任务-->
  65. <dependency>
  66. <groupId>com.ruoyi</groupId>
  67. <artifactId>ruoyi-quartz</artifactId>
  68. </dependency>
  69. <!-- 代码生成-->
  70. <!-- <dependency>
  71. <groupId>com.ruoyi</groupId>
  72. <artifactId>ruoyi-generator</artifactId>
  73. </dependency>-->
  74. <!-- 党建模块 -->
  75. <dependency>
  76. <groupId>com.ruoyi</groupId>
  77. <artifactId>ruoyi-lddy</artifactId>
  78. <version>4.6.0</version>
  79. </dependency>
  80. <!-- 单元测试 -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-test</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.baomidou</groupId>
  88. <artifactId>mybatis-plus-boot-starter</artifactId>
  89. </dependency>
  90. <!--redis-->
  91. <!-- <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-data-redis</artifactId>
  94. <version>2.3.5.RELEASE</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-pool2</artifactId>
  99. <version>2.6.2</version>
  100. </dependency>-->
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. <version>2.1.1.RELEASE</version>
  108. <configuration>
  109. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  110. </configuration>
  111. <executions>
  112. <execution>
  113. <goals>
  114. <goal>repackage</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-war-plugin</artifactId>
  122. <version>3.0.0</version>
  123. <configuration>
  124. <failOnMissingWebXml>false</failOnMissingWebXml>
  125. <warName>${project.artifactId}</warName>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. <finalName>ruoyi-admin-lddy</finalName>
  130. </build>
  131. </project>