pom.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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.8.6</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 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional> <!-- 表示依赖不会传递 -->
  22. </dependency>
  23. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. <!-- Mysql驱动包 -->
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. </dependency>
  33. <!-- 核心模块-->
  34. <dependency>
  35. <groupId>com.ruoyi</groupId>
  36. <artifactId>ruoyi-framework</artifactId>
  37. </dependency>
  38. <!-- 定时任务-->
  39. <dependency>
  40. <groupId>com.ruoyi</groupId>
  41. <artifactId>ruoyi-quartz</artifactId>
  42. </dependency>
  43. <!-- 代码生成-->
  44. <dependency>
  45. <groupId>com.ruoyi</groupId>
  46. <artifactId>ruoyi-generator</artifactId>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. <version>2.1.1.RELEASE</version>
  55. <configuration>
  56. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <goals>
  61. <goal>repackage</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-war-plugin</artifactId>
  69. <version>3.1.0</version>
  70. <configuration>
  71. <failOnMissingWebXml>false</failOnMissingWebXml>
  72. <warName>${project.artifactId}</warName>
  73. </configuration>
  74. </plugin>
  75. </plugins>
  76. <finalName>${project.artifactId}</finalName>
  77. </build>
  78. </project>