1:在pom.xml文件中新增如下:
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
2.在module的pom.xml中添加如下配置
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
标签:xml,deploy,module,maven,pom,true From: https://blog.51cto.com/jition/5963004