pom.xml 4.2 KB

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