pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. <packaging>jar</packaging>
  12. <artifactId>ruoyi-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <!--消息推送(个推)的私服仓库 没有私服仓库下载不了包-->
  17. <repositories>
  18. <repository>
  19. <id>getui-nexus</id>
  20. <url>http://mvn.gt.getui.com/nexus/content/repositories/releases/</url>
  21. </repository>
  22. </repositories>
  23. <dependencies>
  24. <!-- spring-boot-devtools -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-devtools</artifactId>
  28. <optional>true</optional> <!-- 表示依赖不会传递 -->
  29. </dependency>
  30. <!-- Mysql驱动包 -->
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. </dependency>
  35. <!-- 核心模块-->
  36. <dependency>
  37. <groupId>com.ruoyi</groupId>
  38. <artifactId>ruoyi-framework</artifactId>
  39. </dependency>
  40. <!-- 定时任务-->
  41. <dependency>
  42. <groupId>com.ruoyi</groupId>
  43. <artifactId>ruoyi-quartz</artifactId>
  44. </dependency>
  45. <!-- 代码生成-->
  46. <dependency>
  47. <groupId>com.ruoyi</groupId>
  48. <artifactId>ruoyi-generator</artifactId>
  49. </dependency>
  50. <!--消息推送(个推)-->
  51. <dependency>
  52. <groupId>com.gexin.platform</groupId>
  53. <artifactId>gexin-rp-sdk-http</artifactId>
  54. <version>4.1.1.4</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. <version>2.1.1.RELEASE</version>
  63. <configuration>
  64. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-war-plugin</artifactId>
  77. <version>3.1.0</version>
  78. <configuration>
  79. <failOnMissingWebXml>false</failOnMissingWebXml>
  80. <warName>${project.artifactId}</warName>
  81. </configuration>
  82. </plugin>
  83. </plugins>
  84. <finalName>${project.artifactId}</finalName>
  85. </build>
  86. </project>