提交 fffc1ba2 authored 作者: Matrix's avatar Matrix

pom多环境打包的修改

上级 9ae971de
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<artifactId>union</artifactId> <artifactId>union</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>union</name> <name>union</name>
<packaging>war</packaging> <packaging>${pom.package}</packaging>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>
<parent> <parent>
<artifactId>equip</artifactId> <artifactId>equip</artifactId>
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<profile> <profile>
<id>dev</id> <id>dev</id>
<properties> <properties>
<pom.package>jar</pom.package>
<activatedProperties>dev</activatedProperties> <activatedProperties>dev</activatedProperties>
</properties> </properties>
<activation> <activation>
...@@ -31,6 +32,7 @@ ...@@ -31,6 +32,7 @@
<profile> <profile>
<id>local</id> <id>local</id>
<properties> <properties>
<pom.package>jar</pom.package>
<activatedProperties>local</activatedProperties> <activatedProperties>local</activatedProperties>
</properties> </properties>
</profile> </profile>
...@@ -39,6 +41,7 @@ ...@@ -39,6 +41,7 @@
<profile> <profile>
<id>simc</id> <id>simc</id>
<properties> <properties>
<pom.package>jar</pom.package>
<activatedProperties>test</activatedProperties> <activatedProperties>test</activatedProperties>
</properties> </properties>
</profile> </profile>
...@@ -47,6 +50,7 @@ ...@@ -47,6 +50,7 @@
<profile> <profile>
<id>prod</id> <id>prod</id>
<properties> <properties>
<pom.package>war</pom.package>
<activatedProperties>prod</activatedProperties> <activatedProperties>prod</activatedProperties>
</properties> </properties>
</profile> </profile>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论