I've commited changes on PerformReleaseMojo to add a new "releaseProfiles" parameter. Please review and tell me if anything is wrong.
Nico. 2008/1/10, nicolas de loof <[EMAIL PROTECTED]>: > > Right. > > Until this maven core issue is fixed, a parameter is usefull to fix this > on release plugin. > It also looks cleaner not to put too much untyped configuration in > arguments. The goals parameter for example could also be set using > arguments, but has it's own configuration. > > Nico. > > 2008/1/10, Vincent Siveton <[EMAIL PROTECTED]>: > > > > Hi Nico, > > > > 2008/1/10, nicolas de loof <[EMAIL PROTECTED]>: > > > There will be 2 times "-P" option : the one set by arguments, and the > > one > > > set by copying the release:perform maven runtime. > > > > Sounds like MNG-3268 > > > > Cheers, > > > > Vincent > > > > > > > > Nico. > > > > > > 2008/1/10, Brian E. Fox <[EMAIL PROTECTED]>: > > > > > > > > What's wrong with using the arguments command that is already there? > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > > > Behalf Of nicolas de loof > > > > Sent: Thursday, January 10, 2008 3:16 AM > > > > To: Maven Developers List > > > > Subject: [release] introduce a "releaseProfiles" parameter on > > > > PerformReleaseMojo > > > > > > > > Hello, > > > > > > > > I'd like to introduce a new option in the release:perform mojo to > > set > > > > some > > > > additional profiles to get enabled during release (MRELEASE-313). > > > > > > > > In my projects I use to put all tasks non required at developemnt > > time > > > > in a > > > > "release" profile (example : add buildnumber in jar MANIFEST, ...) > > so > > > > that > > > > the developer build gets simplier and quicker. During release, I > > need to > > > > enabe this profile. To ensure this is not omitted, I'd like the > > release > > > > plugin to have a parameter for some release-time required profiles. > > The > > > > performRelease=true option is not enough as this enables the maven > > > > super-POM > > > > profile that I don't want to use (I don't need sources.jar neither > > > > javadocs) > > > > > > > > I have a working change on the plugin, based on a new : > > > > /** > > > > * Comma separated profiles to enable on deployment, in addition > > to > > > > active profiles > > > > * for project execution. > > > > * > > > > * @parameter > > > > */ > > > > private String releaseProfiles; > > > > > > > > Any objection to commit this and deploy a new 2.0-beta-8-SNAPSHOT ? > > > > > > > > Nico. > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > >
