Damn, I keep giving all the wrong advice based on things that are
going  to stop working...

The release plugin isn't really a replacement; in order to easily have
source access in Eclipse for debugging, I want to install/deploy the
source/javadocs for SNAPSHOTs too.  Plus, even for releases, I haven't
yet embraced using the release plugin; it's a bit heavyweight for
simple releases.

Admittedly, performRelease=true for deploying SNAPSHOT sources and
jars is quite the misleading name, so I guess I'll just have to come
up with a better property name and put it in my global parent POM.

Anyhow, new answer for the most direct correct way to do this:

mvn clean source:jar javadoc:jar deploy

-Stephen

On 2/14/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
On 14 Feb 07, at 8:17 PM 14 Feb 07, Stephen Duncan wrote:

> mvn clean deploy -DperformRelease=true
>

I would use the release plugin and not that property because that
triggers a profile in the SuperPOM which is going away.

That property is only used by the release plugin and the release
plugin is the interface. Using that property will burn you in the
future.

Jason.

> -Stephen
>
> On 2/14/07, Dave Hoffer <[EMAIL PROTECTED]> wrote:
>> It doesn't seem the deploy plug-in supports deploying sources and
>> javadocs for external artifacts.  How can this be done?
>>
>>
>>
>> -dh
>>
>>
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>
> ---------------------------------------------------------------------
> 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]




--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to