1、base-buiuldpackage的pom整理

This commit is contained in:
zhengyf 2025-08-14 09:58:13 +08:00
parent d677da5ed4
commit 92b2ec8a3f
1 changed files with 18 additions and 19 deletions

View File

@ -2,16 +2,18 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>kangarooDataCenterV3</artifactId>
<groupId>com.hzya.frame</groupId> <groupId>com.hzya.frame</groupId>
<artifactId>kangarooDataCenterV3</artifactId>
<version>${revision}</version> <version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>base-buildpackage</artifactId> <artifactId>base-buildpackage</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<version>${revision}</version>
<!-- 统一管理依赖版本-->
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.hzya.frame</groupId> <groupId>com.hzya.frame</groupId>
@ -22,7 +24,7 @@
<profiles> <profiles>
<profile> <profile>
<id>dev</id> <!--开发环境--> <id>dev</id> <!-- 开发环境 -->
<properties> <properties>
<profile.active>dev</profile.active> <profile.active>dev</profile.active>
</properties> </properties>
@ -30,24 +32,21 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
</profile> </profile>
<profile>
<id>llg</id> <!--吕磊钢-->
<properties>
<profile.active>llg</profile.active>
</properties>
</profile>
<profile>
<id>zqtlocal</id> <!--曾庆拓-->
<properties>
<profile.active>zqtlocal</profile.active>
</properties>
</profile>
</profiles> </profiles>
<build> <build>
<finalName>kangarooDataCenterV3</finalName> <finalName>kangarooDataCenterV3</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<!-- 移除了引用不存在目录的webResources配置 -->
<!-- Maven会自动将依赖的jar包打包到WEB-INF/lib目录 -->
</configuration>
</plugin>
</plugins>
</build> </build>
</project> </project>