maven deploy 时,通常需要忽略生成war的model,简单调整一下配置即可:
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <configuration> <skip>true</skip> //deploy 时忽略此model </configuration> </plugin> </plugins>
时间: 2024-10-14 09:36:21