pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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-vue-plus</artifactId>
  7. <groupId>com.ruoyi</groupId>
  8. <version>4.8.2</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. <!-- Mysql驱动包 -->
  24. <dependency>
  25. <groupId>com.mysql</groupId>
  26. <artifactId>mysql-connector-j</artifactId>
  27. </dependency>
  28. <!-- Oracle -->
  29. <dependency>
  30. <groupId>com.oracle.database.jdbc</groupId>
  31. <artifactId>ojdbc8</artifactId>
  32. </dependency>
  33. <!-- PostgreSql -->
  34. <dependency>
  35. <groupId>org.postgresql</groupId>
  36. <artifactId>postgresql</artifactId>
  37. </dependency>
  38. <!-- SqlServer -->
  39. <dependency>
  40. <groupId>com.microsoft.sqlserver</groupId>
  41. <artifactId>mssql-jdbc</artifactId>
  42. </dependency>
  43. <!-- 核心模块-->
  44. <dependency>
  45. <groupId>com.ruoyi</groupId>
  46. <artifactId>ruoyi-framework</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.ruoyi</groupId>
  50. <artifactId>ruoyi-system</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.ruoyi</groupId>
  54. <artifactId>ruoyi-job</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.ruoyi</groupId>
  58. <artifactId>ruoyi-oss</artifactId>
  59. </dependency>
  60. <!-- 代码生成-->
  61. <dependency>
  62. <groupId>com.ruoyi</groupId>
  63. <artifactId>ruoyi-generator</artifactId>
  64. </dependency>
  65. <!-- demo模块 -->
  66. <dependency>
  67. <groupId>com.ruoyi</groupId>
  68. <artifactId>ruoyi-demo</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <!-- skywalking 整合 logback -->
  76. <!-- <dependency>-->
  77. <!-- <groupId>org.apache.skywalking</groupId>-->
  78. <!-- <artifactId>apm-toolkit-logback-1.x</artifactId>-->
  79. <!-- <version>${与你的agent探针版本保持一致}</version>-->
  80. <!-- </dependency>-->
  81. <!-- <dependency>-->
  82. <!-- <groupId>org.apache.skywalking</groupId>-->
  83. <!-- <artifactId>apm-toolkit-trace</artifactId>-->
  84. <!-- <version>${与你的agent探针版本保持一致}</version>-->
  85. <!-- </dependency>-->
  86. </dependencies>
  87. <build>
  88. <finalName>${project.artifactId}</finalName>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. <version>${spring-boot.version}</version>
  94. <configuration>
  95. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  96. </configuration>
  97. <executions>
  98. <execution>
  99. <goals>
  100. <goal>repackage</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-war-plugin</artifactId>
  108. <version>3.2.2</version>
  109. <configuration>
  110. <failOnMissingWebXml>false</failOnMissingWebXml>
  111. <warName>${project.artifactId}</warName>
  112. </configuration>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>