<?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>security-server</artifactId> <groupId>com.bcxin</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>security-web-api</artifactId> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>2.5.1</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.apache.dubbo</groupId> <artifactId>dubbo-bom</artifactId> <version>3.0.2.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>com.bcxin</groupId> <artifactId>security-domain</artifactId> </dependency> <dependency> <groupId>com.bcxin</groupId> <artifactId>security-domain-repository</artifactId> </dependency> <dependency> <groupId>org.apache.dubbo</groupId> <artifactId>dubbo</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.bcxin</groupId> <artifactId>tenant-api-interface</artifactId> </dependency> <dependency> <groupId>com.bcxin</groupId> <artifactId>tenant-registration-nacos</artifactId> </dependency> <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.el</artifactId> </dependency> <dependency> <groupId>com.bcxin</groupId> <artifactId>tenant-web-common</artifactId> </dependency> <dependency> <groupId>com.bcxin</groupId> <artifactId>tenant-api-interface</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j2</artifactId> </dependency> </dependencies> <profiles> <profile> <id>dev</id> <properties> <spring.profiles.active>dev</spring.profiles.active> </properties> </profile> <profile> <id>dev-ws</id> <properties> <spring.profiles.active>dev-ws</spring.profiles.active> </properties> </profile> <profile> <id>dev-ws-security</id> <properties> <spring.profiles.active>dev-ws-security</spring.profiles.active> </properties> </profile> <profile> <id>test-ws</id> <properties> <spring.profiles.active>test-ws</spring.profiles.active> </properties> </profile> <profile> <id>test-in-ws</id> <properties> <spring.profiles.active>test-in-ws</spring.profiles.active> </properties> </profile> <profile> <id>dev-rt</id> <properties> <spring.profiles.active>dev-rt</spring.profiles.active> </properties> </profile> <profile> <id>dev-in-pg</id> <properties> <spring.profiles.active>dev-in-pg</spring.profiles.active> </properties> </profile> <profile> <id>dev-in-mysql</id> <properties> <spring.profiles.active>dev-in-mysql</spring.profiles.active> </properties> </profile> <profile> <id>securityoutdev</id> <properties> <spring.profiles.active>securityoutdev</spring.profiles.active> </properties> </profile> <profile> <id>prod</id> <properties> <spring.profiles.active>prod</spring.profiles.active> </properties> </profile> <profile> <id>com-prod</id> <properties> <spring.profiles.active>com-prod</spring.profiles.active> </properties> </profile> <profile> <id>dev-mpp</id> <properties> <spring.profiles.active>dev-mpp</spring.profiles.active> </properties> </profile> <profile> <id>beijing-in-prod</id> <properties> <spring.profiles.active>beijing-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>rt-beijing-in-prod</id> <properties> <spring.profiles.active>rt-beijing-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>beijing-out-prod</id> <properties> <spring.profiles.active>beijing-out-prod</spring.profiles.active> </properties> </profile> <profile> <id>nanning-in-prod</id> <properties> <spring.profiles.active>nanning-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>guangxi-in-prod</id> <properties> <spring.profiles.active>guangxi-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>hunan-in-prod</id> <properties> <spring.profiles.active>hunan-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>hunan-out-prod</id> <properties> <spring.profiles.active>hunan-out-prod</spring.profiles.active> </properties> </profile> <profile> <id>shanxi-in-prod</id> <properties> <spring.profiles.active>shanxi-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>shanxi-out-prod</id> <properties> <spring.profiles.active>shanxi-out-prod</spring.profiles.active> </properties> </profile> <profile> <id>local</id> <properties> <spring.profiles.active>local</spring.profiles.active> </properties> </profile> <profile> <id>pre-in-prod</id> <properties> <spring.profiles.active>pre-in-prod</spring.profiles.active> </properties> </profile> <profile> <id>pre-out-prod</id> <properties> <spring.profiles.active>pre-out-prod</spring.profiles.active> </properties> </profile> <profile> <id>pre-prod</id> <properties> <spring.profiles.active>pre-prod</spring.profiles.active> </properties> </profile> <profile> <id>gansu-out-prod</id> <properties> <spring.profiles.active>gansu-out-prod</spring.profiles.active> </properties> </profile> <profile> <id>gansu-in-prod</id> <properties> <spring.profiles.active>gansu-in-prod</spring.profiles.active> </properties> </profile> </profiles> <build> <finalName>${project.artifactId}-1.0</finalName> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>application-*.yml</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>application.yml</include> <include>application-${spring.profiles.active}.yml</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.5.1</version> </plugin> </plugins> </build> </project>