我有一個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>
你爲什麼只想這樣做?它是爲了空間嗎? –