pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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>jeecg-cloud-module</artifactId>
  7. <groupId>org.jeecgframework.boot</groupId>
  8. <version>2.4.5</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>jeecg-cloud-system-start</artifactId>
  12. <description>System项目微服务启动</description>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.jeecgframework.boot</groupId>
  16. <artifactId>jeecg-boot-base-core</artifactId>
  17. </dependency>
  18. <!-- 引入jeecg-boot-starter-cloud依赖 -->
  19. <dependency>
  20. <groupId>org.jeecgframework.boot</groupId>
  21. <artifactId>jeecg-boot-starter-cloud</artifactId>
  22. <!--system模块需要排除jeecg-system-cloud-api-->
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.jeecgframework.boot</groupId>
  26. <artifactId>jeecg-system-cloud-api</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <!-- 引入jeecg-boot-module-system依赖 -->
  31. <dependency>
  32. <groupId>org.jeecgframework.boot</groupId>
  33. <artifactId>jeecg-boot-module-system</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-web</artifactId>
  38. </dependency>
  39. <!--rabbitmq消息队列-->
  40. <!-- <dependency>-->
  41. <!-- <groupId>org.jeecgframework.boot</groupId>-->
  42. <!-- <artifactId>jeecg-boot-starter-rabbitmq</artifactId>-->
  43. <!-- </dependency>-->
  44. <!--xxl-job定时任务-->
  45. <!-- <dependency>-->
  46. <!-- <groupId>org.jeecgframework.boot</groupId>-->
  47. <!-- <artifactId>jeecg-boot-starter-job</artifactId>-->
  48. <!-- </dependency>-->
  49. <!-- 分布式锁依赖 -->
  50. <!-- <dependency>-->
  51. <!-- <groupId>org.jeecgframework.boot</groupId>-->
  52. <!-- <artifactId>jeecg-boot-starter-lock</artifactId>-->
  53. <!-- </dependency>-->
  54. </dependencies>
  55. <build>
  56. <resources>
  57. <resource>
  58. <directory>src/main/resources</directory>
  59. <!--先排除所有的配置文件-->
  60. <excludes>
  61. <exclude>application*.yml</exclude>
  62. </excludes>
  63. </resource>
  64. <resource>
  65. <directory>src/main/resources</directory>
  66. <!--引入所需环境的配置文件-->
  67. <filtering>true</filtering>
  68. <includes>
  69. <include>application.yml</include>
  70. <include>application-${activatedProperties}.yml</include>
  71. </includes>
  72. </resource>
  73. </resources>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. <!-- 环境 -->
  82. <profiles>
  83. <!-- 开发 -->
  84. <profile>
  85. <id>dev-bak</id>
  86. <properties>
  87. <activatedProperties>dev-bak</activatedProperties>
  88. </properties>
  89. </profile>
  90. <!-- 测试 -->
  91. <profile>
  92. <id>test</id>
  93. <properties>
  94. <activatedProperties>test</activatedProperties>
  95. </properties>
  96. </profile>
  97. <!-- 生产 -->
  98. <profile>
  99. <id>prod</id>
  100. <properties>
  101. <activatedProperties>prod</activatedProperties>
  102. </properties>
  103. </profile>
  104. </profiles>
  105. </project>