Hi,

Make sure it is not attached to the project.
For assembly-plugin, see http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach
Set this value to false.

Robert

Op Mon, 20 Jan 2014 21:28:49 +0100 schreef Jim Garrison <[email protected]>:

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to