Maven build多个war包合并
来源:互联网 发布:ipad能用mac系统 编辑:程序博客网 时间:2024/05/13 03:34
<!-- 添加要合并的war包依赖 -->
<dependency>
<groupId>com.jeeplus</groupId>
<artifactId>jeeplus-cert-web</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
<build>
<plugins>
<!-- 打包插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<!-- 多个war包合并,合并规则:前面的总是覆盖后面(需要添加合并的war包依赖且type:war)- -->
<overlays>
<overlay>
<groupId>com.jeeplus</groupId>
<artifactId>jeeplus-cert-web</artifactId>
<excludes>
<exclude>WEB-INF/web.xml</exclude> <!--不包含-->
</excludes>
</overlay>
<overlay></overlay> <!--空表示当前构建-->
</overlays>
<dependency>
<groupId>com.jeeplus</groupId>
<artifactId>jeeplus-cert-web</artifactId>
<version>1.0.0</version>
<type>war</type>
</dependency>
<build>
<plugins>
<!-- 打包插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<!-- 多个war包合并,合并规则:前面的总是覆盖后面(需要添加合并的war包依赖且type:war)- -->
<overlays>
<overlay>
<groupId>com.jeeplus</groupId>
<artifactId>jeeplus-cert-web</artifactId>
<excludes>
<exclude>WEB-INF/web.xml</exclude> <!--不包含-->
</excludes>
</overlay>
<overlay></overlay> <!--空表示当前构建-->
</overlays>
</configuration>
</plugin>
</build>
阅读全文
0 0
- Maven build多个war包合并
- maven 合并多个war包插件
- maven合并打包多个war包
- maven合并war包
- maven合并war包
- maven 多模块合并war包
- maven用用overlays合并多个war
- maven用用overlays合并多个war
- maven项目 build war包
- maven 多模块多Web应用合并War包
- 【maven】pom配置:用overlays合并多个war
- maven插件_Apache Maven WAR Plugin_用overlays合并多个war
- 使用maven整合多个web项目,多个war合并
- 使用maven整合多个web项目,多个war合并
- 使用maven整合多个web项目,多个war合并
- 使用maven整合多个web项目,多个war合并
- 使用maven整合多个web项目,多个war合并
- Ant build war包
- 紧急BUG修正
- iOS企业版打包流程
- c#对list排序示例
- Storm的ack机制
- Mac版本的docker安装
- Maven build多个war包合并
- 无限级分类之查找子孙树
- 1.1安装 vs sdk
- hdoj1058 Humble Numbers (排序)
- Python爬虫下载QQ音乐网站歌曲
- 深入理解LCD之基本特性
- ubuntu常用命令
- 流媒体框架
- Android View---自定义View