pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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>4.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>war</packaging>
  12. <artifactId>ruoyi-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.baidu.aip</groupId>
  19. <artifactId>java-sdk</artifactId>
  20. <version>4.12.0</version>
  21. </dependency>
  22. <!-- SpringBoot集成thymeleaf模板 -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  26. </dependency>
  27. <!-- spring-boot-devtools -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-devtools</artifactId>
  31. <optional>true</optional> <!-- 表示依赖不会传递 -->
  32. </dependency>
  33. <!-- swagger2-->
  34. <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-swagger2</artifactId>
  37. </dependency>
  38. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-annotations</artifactId>
  42. <version>1.5.21</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.swagger</groupId>
  46. <artifactId>swagger-models</artifactId>
  47. <version>1.5.21</version>
  48. </dependency>
  49. <!-- swagger2-UI-->
  50. <dependency>
  51. <groupId>io.springfox</groupId>
  52. <artifactId>springfox-swagger-ui</artifactId>
  53. </dependency>
  54. <!-- 核心模块-->
  55. <dependency>
  56. <groupId>com.ruoyi</groupId>
  57. <artifactId>ruoyi-framework</artifactId>
  58. </dependency>
  59. <!-- 定时任务-->
  60. <dependency>
  61. <groupId>com.ruoyi</groupId>
  62. <artifactId>ruoyi-quartz</artifactId>
  63. </dependency>
  64. <!-- 代码生成-->
  65. <dependency>
  66. <groupId>com.ruoyi</groupId>
  67. <artifactId>ruoyi-generator</artifactId>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  70. <dependency>
  71. <groupId>commons-codec</groupId>
  72. <artifactId>commons-codec</artifactId>
  73. <version>1.4</version>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  76. <dependency>
  77. <groupId>org.apache.httpcomponents</groupId>
  78. <artifactId>httpclient</artifactId>
  79. <version>4.5.3</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  82. <dependency>
  83. <groupId>commons-logging</groupId>
  84. <artifactId>commons-logging</artifactId>
  85. <version>1.1.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>commons-httpclient</groupId>
  89. <artifactId>commons-httpclient</artifactId>
  90. <version>3.1</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework</groupId>
  94. <artifactId>spring-test</artifactId>
  95. <version>5.2.6.RELEASE</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <version>2.2.6.RELEASE</version>
  104. <configuration>
  105. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  106. </configuration>
  107. <executions>
  108. <execution>
  109. <goals>
  110. <goal>repackage</goal>
  111. </goals>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-war-plugin</artifactId>
  118. <version>3.0.0</version>
  119. <configuration>
  120. <failOnMissingWebXml>false</failOnMissingWebXml>
  121. <warName>${project.artifactId}</warName>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. <finalName>${project.artifactId}</finalName>
  126. </build>
  127. </project>