pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <!-- swagger3-->
  24. <dependency>
  25. <groupId>io.springfox</groupId>
  26. <artifactId>springfox-boot-starter</artifactId>
  27. </dependency>
  28. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  29. <dependency>
  30. <groupId>io.swagger</groupId>
  31. <artifactId>swagger-models</artifactId>
  32. <version>1.6.2</version>
  33. </dependency>
  34. <!-- Mysql驱动包 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- 核心模块-->
  40. <dependency>
  41. <groupId>com.ruoyi</groupId>
  42. <artifactId>ruoyi-framework</artifactId>
  43. </dependency>
  44. <!-- 定时任务-->
  45. <dependency>
  46. <groupId>com.ruoyi</groupId>
  47. <artifactId>ruoyi-quartz</artifactId>
  48. </dependency>
  49. <!-- 代码生成-->
  50. <dependency>
  51. <groupId>com.ruoyi</groupId>
  52. <artifactId>ruoyi-generator</artifactId>
  53. </dependency>
  54. <!--huTool-->
  55. <dependency>
  56. <groupId>cn.hutool</groupId>
  57. <artifactId>hutool-all</artifactId>
  58. <version>5.7.17</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.projectlombok</groupId>
  62. <artifactId>lombok</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>net.java.dev.jna</groupId>
  66. <artifactId>jna</artifactId>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. <version>2.1.1.RELEASE</version>
  75. <configuration>
  76. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  77. </configuration>
  78. <executions>
  79. <execution>
  80. <goals>
  81. <goal>repackage</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-war-plugin</artifactId>
  89. <version>3.1.0</version>
  90. <configuration>
  91. <failOnMissingWebXml>false</failOnMissingWebXml>
  92. <warName>${project.artifactId}</warName>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <configuration>
  99. <source>11</source>
  100. <target>11</target>
  101. </configuration>
  102. </plugin>
  103. </plugins>
  104. <finalName>${project.artifactId}</finalName>
  105. </build>
  106. </project>