pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>lineage</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>3.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ruoyi-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. <dependency>
  23. <groupId>com.auth0</groupId>
  24. <artifactId>java-jwt</artifactId>
  25. <version>3.4.0</version>
  26. </dependency>
  27. <!-- swagger2-->
  28. <dependency>
  29. <groupId>io.springfox</groupId>
  30. <artifactId>springfox-swagger2</artifactId>
  31. </dependency>
  32. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  33. <dependency>
  34. <groupId>io.swagger</groupId>
  35. <artifactId>swagger-annotations</artifactId>
  36. <version>1.5.21</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.swagger</groupId>
  40. <artifactId>swagger-models</artifactId>
  41. <version>1.5.21</version>
  42. </dependency>
  43. <!-- swagger2-UI-->
  44. <dependency>
  45. <groupId>io.springfox</groupId>
  46. <artifactId>springfox-swagger-ui</artifactId>
  47. </dependency>
  48. <!-- Mysql驱动包 -->
  49. <dependency>
  50. <groupId>mysql</groupId>
  51. <artifactId>mysql-connector-java</artifactId>
  52. </dependency>
  53. <!-- 核心模块-->
  54. <dependency>
  55. <groupId>com.ruoyi</groupId>
  56. <artifactId>ruoyi-framework</artifactId>
  57. </dependency>
  58. <!-- 定时任务-->
  59. <dependency>
  60. <groupId>com.ruoyi</groupId>
  61. <artifactId>ruoyi-quartz</artifactId>
  62. </dependency>
  63. <!-- 代码生成-->
  64. <dependency>
  65. <groupId>com.ruoyi</groupId>
  66. <artifactId>ruoyi-generator</artifactId>
  67. </dependency>
  68. <!-- 阿里云短信SDK -->
  69. <dependency>
  70. <groupId>com.aliyun</groupId>
  71. <artifactId>aliyun-java-sdk-core</artifactId>
  72. <version>4.1.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.aliyun</groupId>
  76. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  77. <version>1.1.0</version>
  78. </dependency>
  79. </dependencies>
  80. <build>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. <version>2.1.1.RELEASE</version>
  86. <configuration>
  87. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  88. </configuration>
  89. <executions>
  90. <execution>
  91. <goals>
  92. <goal>repackage</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-war-plugin</artifactId>
  100. <version>3.1.0</version>
  101. <configuration>
  102. <failOnMissingWebXml>false</failOnMissingWebXml>
  103. <warName>${project.artifactId}</warName>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. <finalName>${project.artifactId}</finalName>
  108. </build>
  109. </project>