123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>jeecg-cloud-module</artifactId>
- <groupId>org.jeecgframework.boot</groupId>
- <version>2.4.5</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>jeecg-cloud-system-start</artifactId>
- <description>System项目微服务启动</description>
- <dependencies>
- <dependency>
- <groupId>org.jeecgframework.boot</groupId>
- <artifactId>jeecg-boot-base-core</artifactId>
- </dependency>
- <!-- 引入jeecg-boot-starter-cloud依赖 -->
- <dependency>
- <groupId>org.jeecgframework.boot</groupId>
- <artifactId>jeecg-boot-starter-cloud</artifactId>
- <!--system模块需要排除jeecg-system-cloud-api-->
- <exclusions>
- <exclusion>
- <groupId>org.jeecgframework.boot</groupId>
- <artifactId>jeecg-system-cloud-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- 引入jeecg-boot-module-system依赖 -->
- <dependency>
- <groupId>org.jeecgframework.boot</groupId>
- <artifactId>jeecg-boot-module-system</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <!--rabbitmq消息队列-->
- <!-- <dependency>-->
- <!-- <groupId>org.jeecgframework.boot</groupId>-->
- <!-- <artifactId>jeecg-boot-starter-rabbitmq</artifactId>-->
- <!-- </dependency>-->
- <!--xxl-job定时任务-->
- <!-- <dependency>-->
- <!-- <groupId>org.jeecgframework.boot</groupId>-->
- <!-- <artifactId>jeecg-boot-starter-job</artifactId>-->
- <!-- </dependency>-->
- <!-- 分布式锁依赖 -->
- <!-- <dependency>-->
- <!-- <groupId>org.jeecgframework.boot</groupId>-->
- <!-- <artifactId>jeecg-boot-starter-lock</artifactId>-->
- <!-- </dependency>-->
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <!--先排除所有的配置文件-->
- <excludes>
- <exclude>application*.yml</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <!--引入所需环境的配置文件-->
- <filtering>true</filtering>
- <includes>
- <include>application.yml</include>
- <include>application-${activatedProperties}.yml</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
- <!-- 环境 -->
- <profiles>
- <!-- 开发 -->
- <profile>
- <id>dev-bak</id>
- <properties>
- <activatedProperties>dev-bak</activatedProperties>
- </properties>
- </profile>
- <!-- 测试 -->
- <profile>
- <id>test</id>
- <properties>
- <activatedProperties>test</activatedProperties>
- </properties>
- </profile>
- <!-- 生产 -->
- <profile>
- <id>prod</id>
- <properties>
- <activatedProperties>prod</activatedProperties>
- </properties>
- </profile>
- </profiles>
- </project>
|