Re: turn off javadoc during release

2009-09-10 Thread Brett Porter

Please don't cross-post.

You to set useReleaseProfile to false for the release plugin, then  
add -Psome-other-release-profile to the arguments, defining that  
profile with the bits that you do want (like the source JAR, if you do  
need it). Examples can be found in the Maven and ASF parent POM.


- Brett

On 11/09/2009, at 12:41 PM, Jason Chaffee wrote:


Is there a way to turn off javadoc execution during release:perform? I
using -Dgoals=deploy, but javadoc execution is still happening.

I need to turn it off because it is causing the release to fail.  I
don't have time to debug the javadoc failure on an internal dependency
that does not need javadocs released.

This is extremely frustrating...

regards,

Jason

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




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



Re: turn off javadoc during release

2009-09-10 Thread David Hoffer
I don't know if this helps but we put our javadocs plugin inside of a
profile so it only runs if we activate the profile.  We actually do
the reverse of what you desire...we always include the profile on CI
builds but not on local developer builds because it takes too long and
we just don't need docs that often.

-Dave

On Thu, Sep 10, 2009 at 8:41 PM, Jason Chaffee
jason.chaf...@zilliontv.tv wrote:
 Is there a way to turn off javadoc execution during release:perform? I
 using -Dgoals=deploy, but javadoc execution is still happening.

 I need to turn it off because it is causing the release to fail.  I
 don't have time to debug the javadoc failure on an internal dependency
 that does not need javadocs released.

 This is extremely frustrating...

 regards,

 Jason

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



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



Re: turn off javadoc during release

2009-09-10 Thread Jason Chaffee
Thanks!


On Sep 10, 2009, at 7:44 PM, Brett Porter wrote:

 Please don't cross-post.

 You to set useReleaseProfile to false for the release plugin, then
 add -Psome-other-release-profile to the arguments, defining that
 profile with the bits that you do want (like the source JAR, if you do
 need it). Examples can be found in the Maven and ASF parent POM.

 - Brett

 On 11/09/2009, at 12:41 PM, Jason Chaffee wrote:

 Is there a way to turn off javadoc execution during  
 release:perform? I
 using -Dgoals=deploy, but javadoc execution is still happening.

 I need to turn it off because it is causing the release to fail.  I
 don't have time to debug the javadoc failure on an internal  
 dependency
 that does not need javadocs released.

 This is extremely frustrating...

 regards,

 Jason

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



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



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