我有一个maven项目,有几个模块。 当我使用maven deploy插件时,所有模块都会上传到我的本地Nexus服务器。maven deploy - 只上传ear文件到nexus
我想部署只上传ear文件。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
</plugin>
你为什么只想这样做?它是为了空间吗? –