Jim Garrison
2014-01-20 20:28:49 UTC
I have a simple project that uses the assembly plugin to build a jar-with-dependencies and then a zip file containing the jar-with-dependencies and a shell script. When I run "mvn deploy" it deploys all three artifacts (the original jar, the jwd and the zip file) to Nexus.
Is there a way to prevent deployment of the jar and jwd, and only upload the zip file to Nexus? I've read the maven-deploy-plugin documentation page but there doesn't seem to be a way to prevent those artifacts from being deployed.
Is there a way to prevent deployment of the jar and jwd, and only upload the zip file to Nexus? I've read the maven-deploy-plugin documentation page but there doesn't seem to be a way to prevent those artifacts from being deployed.