pom.xml 2.9 KB

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