pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>com.ruoyi</groupId>
  7. <artifactId>ruoyi-modules</artifactId>
  8. <version>3.6.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ruoyi-modules-portal</artifactId>
  12. <description>
  13. ruoyi-modules-portal 门户网站
  14. </description>
  15. <dependencies>
  16. <!-- SpringCloud Alibaba Nacos -->
  17. <dependency>
  18. <groupId>com.alibaba.cloud</groupId>
  19. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  20. </dependency>
  21. <!-- SpringCloud Alibaba Nacos Config -->
  22. <dependency>
  23. <groupId>com.alibaba.cloud</groupId>
  24. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  25. </dependency>
  26. <!-- SpringCloud Alibaba Sentinel -->
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  30. </dependency>
  31. <!-- SpringBoot Actuator -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-actuator</artifactId>
  35. </dependency>
  36. <!-- Swagger UI -->
  37. <dependency>
  38. <groupId>io.springfox</groupId>
  39. <artifactId>springfox-swagger-ui</artifactId>
  40. <version>${swagger.fox.version}</version>
  41. </dependency>
  42. <!-- Mysql Connector -->
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. </dependency>
  47. <!-- RuoYi Common DataSource -->
  48. <dependency>
  49. <groupId>com.ruoyi</groupId>
  50. <artifactId>ruoyi-common-datasource</artifactId>
  51. </dependency>
  52. <!-- RuoYi Common DataScope -->
  53. <dependency>
  54. <groupId>com.ruoyi</groupId>
  55. <artifactId>ruoyi-common-datascope</artifactId>
  56. </dependency>
  57. <!-- RuoYi Common Log -->
  58. <dependency>
  59. <groupId>com.ruoyi</groupId>
  60. <artifactId>ruoyi-common-log</artifactId>
  61. </dependency>
  62. <!-- RuoYi Common Swagger -->
  63. <dependency>
  64. <groupId>com.ruoyi</groupId>
  65. <artifactId>ruoyi-common-swagger</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <finalName>${project.artifactId}</finalName>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. <version>${spring-boot.version}</version>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. <resources>
  85. <resource>
  86. <directory>src/main/resources</directory>
  87. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  88. <filtering>true</filtering>
  89. </resource>
  90. </resources>
  91. </build>
  92. </project>