On 14 Feb 07, at 9:40 PM 14 Feb 07, Stephen Duncan wrote:
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.
Then you can create a profile much like what is used by the release
plugin and activate it all the time.
Plus, even for releases, I haven't
yet embraced using the release plugin; it's a bit heavyweight for
simple releases.
Not really, and it ensures they are done correctly.
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
And if you configure that in a profile in a parent POM then you're
all set and can just do your standard "mvn deploy"
Jason.
-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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]