pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.5</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. <dependency>
  18. <groupId>org.projectlombok</groupId>
  19. <artifactId>lombok</artifactId>
  20. <optional>true</optional>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-websocket</artifactId>
  25. </dependency>
  26. <!-- spring-boot-devtools -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-devtools</artifactId>
  30. <optional>true</optional> <!-- 表示依赖不会传递 -->
  31. </dependency>
  32. <!-- swagger3-->
  33. <dependency>
  34. <groupId>io.springfox</groupId>
  35. <artifactId>springfox-boot-starter</artifactId>
  36. </dependency>
  37. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  38. <dependency>
  39. <groupId>io.swagger</groupId>
  40. <artifactId>swagger-models</artifactId>
  41. <version>1.6.2</version>
  42. </dependency>
  43. <!-- Mysql驱动包 -->
  44. <dependency>
  45. <groupId>mysql</groupId>
  46. <artifactId>mysql-connector-java</artifactId>
  47. </dependency>
  48. <!-- 核心模块-->
  49. <dependency>
  50. <groupId>com.ruoyi</groupId>
  51. <artifactId>ruoyi-framework</artifactId>
  52. </dependency>
  53. <!-- 定时任务-->
  54. <dependency>
  55. <groupId>com.ruoyi</groupId>
  56. <artifactId>ruoyi-quartz</artifactId>
  57. </dependency>
  58. <!-- 定时任务-->
  59. <dependency>
  60. <groupId>com.ruoyi</groupId>
  61. <artifactId>universal-computing-platform</artifactId>
  62. <version>0.0.1</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>junit</groupId>
  71. <artifactId>junit</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <!-- 代码生成-->
  80. <!--<dependency>
  81. <groupId>com.ruoyi</groupId>
  82. <artifactId>ruoyi-generator</artifactId>
  83. </dependency>-->
  84. <dependency>
  85. <groupId>cn.hutool</groupId>
  86. <artifactId>hutool-all</artifactId>
  87. <version>5.8.25</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. <version>2.7.12</version>
  96. <configuration>
  97. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-war-plugin</artifactId>
  110. <version>3.1.0</version>
  111. <configuration>
  112. <failOnMissingWebXml>false</failOnMissingWebXml>
  113. <warName>${project.artifactId}</warName>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. <finalName>${project.artifactId}</finalName>
  118. </build>
  119. </project>