On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody <[email protected]> wrote:
> I know I read this (on someones blog I think) but did not realise I would
> need to care until recently and now I cant find how to do this.
>
> The requirement is to not deploy sources.jar to the artifactory when
> we do mvn release:perform

Don't activate the 'release' profile during your release -- that's
what has the source and javadoc jars configured.

mvn release:perform ... -DuseReleaseProfile=false

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

-- 
Wendy

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

Reply via email to