pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ruoyi-admin</artifactId>
  12. <description>
  13. web服务入口
  14. </description>
  15. <properties>
  16. <pagehelper.boot.version>1.2.5</pagehelper.boot.version>
  17. <swagger.version>2.7.0</swagger.version>
  18. </properties>
  19. <dependencies>
  20. <!-- SpringBoot Web容器 -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!-- SpringBoot集成thymeleaf模板 -->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  29. </dependency>
  30. <!-- spring-boot-devtools -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-devtools</artifactId>
  34. <optional>true</optional> <!-- 表示依赖不会传递 -->
  35. </dependency>
  36. <!-- pagehelper 分页插件 -->
  37. <dependency>
  38. <groupId>com.github.pagehelper</groupId>
  39. <artifactId>pagehelper-spring-boot-starter</artifactId>
  40. <version>${pagehelper.boot.version}</version>
  41. </dependency>
  42. <!-- swagger2-->
  43. <dependency>
  44. <groupId>io.springfox</groupId>
  45. <artifactId>springfox-swagger2</artifactId>
  46. <version>${swagger.version}</version>
  47. </dependency>
  48. <!-- swagger2-UI-->
  49. <dependency>
  50. <groupId>io.springfox</groupId>
  51. <artifactId>springfox-swagger-ui</artifactId>
  52. <version>${swagger.version}</version>
  53. </dependency>
  54. <!-- 核心模块-->
  55. <dependency>
  56. <groupId>com.ruoyi</groupId>
  57. <artifactId>ruoyi-framework</artifactId>
  58. <version>${ruoyi.version}</version>
  59. </dependency>
  60. <!-- 定时任务-->
  61. <dependency>
  62. <groupId>com.ruoyi</groupId>
  63. <artifactId>ruoyi-quartz</artifactId>
  64. <version>${ruoyi.version}</version>
  65. </dependency>
  66. <!-- 代码生成-->
  67. <dependency>
  68. <groupId>com.ruoyi</groupId>
  69. <artifactId>ruoyi-generator</artifactId>
  70. <version>${ruoyi.version}</version>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <configuration>
  79. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. <finalName>ruoyi-${ruoyi.version}</finalName>
  91. </build>
  92. </project>