pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>jeecg-boot-parent</artifactId>
  6. <groupId>org.jeecgframework.boot</groupId>
  7. <version>2.4.5</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>jeecg-boot-report</artifactId>
  11. <description>Demo project for Spring Boot</description>
  12. <properties>
  13. <java.version>11</java.version>
  14. </properties>
  15. <dependencies>
  16. <!--引入微服务启动依赖 starter-->
  17. <dependency>
  18. <groupId>org.jeecgframework.boot</groupId>
  19. <artifactId>jeecg-boot-starter-cloud</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-webflux</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  28. </dependency>
  29. <!--健康监控-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-actuator</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.jeecgframework.boot</groupId>
  36. <artifactId>jeecg-boot-base-core</artifactId>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>org.jeecgframework.boot</groupId>
  40. <artifactId>hibernate-re</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.jeecgframework.boot</groupId>
  46. <artifactId>jeecg-system-cloud-api</artifactId>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. </plugin>
  55. </plugins>
  56. <resources>
  57. <!-- 解决MyBatis配置文件引入问题 -->
  58. <resource>
  59. <directory>src/main/java</directory>
  60. <includes>
  61. <include>**/*.properties</include>
  62. <include>**/*.xml</include>
  63. </includes>
  64. <!-- 是否替换资源中的属性-->
  65. <filtering>true</filtering>
  66. </resource>
  67. <resource>
  68. <directory>src/main/resources</directory>
  69. <filtering>true</filtering>
  70. </resource>
  71. </resources>
  72. </build>
  73. <!-- 环境 -->
  74. <profiles>
  75. <!-- 开发 -->
  76. <profile>
  77. <id>dev</id>
  78. <properties>
  79. <activatedProperties>dev</activatedProperties>
  80. </properties>
  81. </profile>
  82. <!-- 测试 -->
  83. <profile>
  84. <id>test</id>
  85. <properties>
  86. <activatedProperties>test</activatedProperties>
  87. </properties>
  88. </profile>
  89. <!-- 生产 -->
  90. <profile>
  91. <id>prod</id>
  92. <properties>
  93. <activatedProperties>prod</activatedProperties>
  94. </properties>
  95. </profile>
  96. </profiles>
  97. </project>