maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Cody <gc...@zafinlabs.com>
Subject Re: how to not deploy sources.jar to artifactory
Date Fri, 01 May 2009 19:50:19 GMT
Exactly what I wanted to (not) see.

Thanks again Wendy and Todd too

Regards, Gord

On Wed, Apr 29, 2009 at 5:26 PM, Wendy Smoak <wsmoak@gmail.com> wrote:
> On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody <gcody@zafinlabs.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message