Re: prevent javadoc during release

2008-07-15 Thread Magne Nordtveit
On Mon, 2008-07-14 at 16:38 -0400, Kallin Nagelberg wrote:
 Is there a way to prevent javadoc from occuring during release? I would also
 like to prevent production of source JAR. Any ideas?

When releasing, try setting the useReleaseProfile property to false,
mvn release:perform -DuseReleaseProfile=false

This will disable the attachment of javadoc and sources.

Regards,
Magne 
-- 
Magne Nordtveit [EMAIL PROTECTED]
Systems Engineer
Offshore Simulator Centre AS
http://www.offsimcentre.no

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



Re: prevent javadoc during release

2008-07-15 Thread Kallin Nagelberg
OK thanks. I imagine to make this automatic I could put a release
configuration in the relevant POM.

On Tue, Jul 15, 2008 at 2:41 AM, Magne Nordtveit [EMAIL PROTECTED]
wrote:

 On Mon, 2008-07-14 at 16:38 -0400, Kallin Nagelberg wrote:
  Is there a way to prevent javadoc from occuring during release? I would
 also
  like to prevent production of source JAR. Any ideas?

 When releasing, try setting the useReleaseProfile property to false,
 mvn release:perform -DuseReleaseProfile=false

 This will disable the attachment of javadoc and sources.

 Regards,
 Magne
 --
 Magne Nordtveit [EMAIL PROTECTED]
 Systems Engineer
 Offshore Simulator Centre AS
 http://www.offsimcentre.no

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




prevent javadoc during release

2008-07-14 Thread Kallin Nagelberg
Is there a way to prevent javadoc from occuring during release? I would also
like to prevent production of source JAR. Any ideas?