pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. <!-- spring-boot-devtools -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-devtools</artifactId>
  24. <optional>true</optional> <!-- 表示依赖不会传递 -->
  25. </dependency>
  26. <!-- pagehelper 分页插件 -->
  27. <dependency>
  28. <groupId>com.github.pagehelper</groupId>
  29. <artifactId>pagehelper-spring-boot-starter</artifactId>
  30. <version>${pagehelper.boot.version}</version>
  31. </dependency>
  32. <!-- swagger2-->
  33. <dependency>
  34. <groupId>io.springfox</groupId>
  35. <artifactId>springfox-swagger2</artifactId>
  36. <version>${swagger.version}</version>
  37. </dependency>
  38. <!-- swagger2-UI-->
  39. <dependency>
  40. <groupId>io.springfox</groupId>
  41. <artifactId>springfox-swagger-ui</artifactId>
  42. <version>${swagger.version}</version>
  43. </dependency>
  44. <!-- 核心模块-->
  45. <dependency>
  46. <groupId>com.ruoyi</groupId>
  47. <artifactId>ruoyi-framework</artifactId>
  48. <version>${ruoyi.version}</version>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-maven-plugin</artifactId>
  56. <configuration>
  57. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  58. </configuration>
  59. <executions>
  60. <execution>
  61. <goals>
  62. <goal>repackage</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. <finalName>ruoyi-${ruoyi.version}</finalName>
  69. </build>
  70. </project>