Maven 多个war依赖,发布打包项目。
方法
子项目的pom.xml中添加如下配置。123456<plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <attachClasses>true</attachClasses> </configuration> </plugin>
父项目的pom.xml中添加如下配置。
|
|
Via
Maven 多个war依赖,发布打包项目。
子项目的pom.xml中添加如下配置。123456<plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <attachClasses>true</attachClasses> </configuration> </plugin>
父项目的pom.xml中添加如下配置。
|
|