Try adding <useReleaseProfile>false</useReleaseProfile> to the
<configuration> for maven-release-plugin.

According to:

http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html

useReleaseProfile: boolean [default: true]
   Whether to use the release profile that adds sources
   and javadocs to the released artifact, if appropriate.

Steve

sarat.pediredla wrote:
> I have a requirement where our core JAR with system classes needs to be
> deployed to a maven repo.
> 
> mvn release:perform does this well but ends up uploading both the source JAR
> and original POM. Is there anyway in which I can deploy only my binary JAR
> and prevent the source JAR and POM from being deployed?
> 
> I guess we could live with the POM being deployed but deploying the source
> JAR is a definite no-no for our commercial project. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to