Re: Detecting current phase in a plugin

2012-01-03 Thread Jochen Wiedmann
Sure you really want to do that? It would amount to hard wiring your plugin to a certain phase, whereas a plugin should typically be able to run in any phase, depending on the POM. On Tue, Jan 3, 2012 at 5:21 AM, Carson Gross carsongr...@gmail.com wrote: I'd like to detect the current phase of

WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
Hi, I just found a regression: http://jira.codehaus.org/browse/MNG-5224 I think it is serious enough to recommend users avoid using the above combination if you rely on properties in a settings.xml profile to GPG sign your releases. (i.e. anyone pushing to Central) -Stephen

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Mark Derricutt
Is this still broken under the 3.0.4-RC4 builds, or just 3.0.3? -- Great artists are extremely selfish and arrogant things — Steven Wilson, Porcupine Tree On Wed, Jan 4, 2012 at 4:18 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Hi, I just found a regression:

Re: Detecting current phase in a plugin

2012-01-03 Thread Carson Gross
Yes, it appears that I have a different mental model for plugins than Maven provides. Let me explain what I'm trying to accomplish, and perhaps a better high-level approach is available: I work on Gosu (http://gosu-lang.org) a small language for the JVM. Me and a few other guys are trying to

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
I have checked in a fix towards 3.0.5... Pester olamy to backport... though he may want to wait for me to write the tests of the fix (manual testing confirms the fix... just have to figure out how to get automated testing!) On 3 January 2012 16:03, Mark Derricutt m...@talios.com wrote: Is this

Re: Detecting current phase in a plugin

2012-01-03 Thread Vincent Latombe
Hello Carson, you can achieve what you need by defining a new packaging, as described in http://www.sonatype.com/people/2009/08/create-a-customized-build-process-in-maven/ Vincent 2012/1/3 Carson Gross carsongr...@gmail.com Yes, it appears that I have a different mental model for plugins

Re: Detecting current phase in a plugin

2012-01-03 Thread Manfred Moser
For a full working example mapping Maven to a different life cycle with a whole bunch of different tasks look at the code of the android maven plugin.. manfred On 12-01-03 08:43 AM, Vincent Latombe wrote: Hello Carson, you can achieve what you need by defining a new packaging, as described

Re: Detecting current phase in a plugin

2012-01-03 Thread Carson Gross
Will do, thanks for the references Manfred and Vincent! Cheers, Carson On Tue, Jan 3, 2012 at 9:11 AM, Manfred Moser manf...@mosabuam.com wrote: For a full working example mapping Maven to a different life cycle with a whole bunch of different tasks look at the code of the android maven

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Mark Derricutt
Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of his releases I'd certainly want 3.0.4 to be able to release... -- Great artists are extremely selfish and arrogant things — Steven Wilson,

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
it all depends on whether olamy decides as RM to backport or not. he is RM for the 3.0.4 release by virtue of action. On Tuesday, 3 January 2012, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Jesse Farinacci
Greetings, On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of his releases I'd certainly want 3.0.4 to be able to

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Benson Margulies
On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho.  As someone who uses GPG in that manner for some of his releases I'd certainly want 3.0.4 to be able to release... I

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Arnaud Héritier
Not only properties like I explained it here : http://jira.codehaus.org/browse/MRELEASE-724 Arnaud On Tue, Jan 3, 2012 at 4:18 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Hi, I just found a regression: http://jira.codehaus.org/browse/MNG-5224 I think it is serious enough

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
that is because you are using maven-release-plugin 2.2.1 switch to 2.2.2 and see how you feel - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 3 Jan 2012 20:58, Jesse

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Olivier Lamy
Hello, As it's not mandatory for users to use release plugin 2.2.2, no problem to release a 3.0.5 in 5/6 weeks. We must release this 3.0.4 one day... BTW could be nice to have both it tests for that in core it and in release plugin too ... 2012/1/3 Jesse Farinacci jie...@gmail.com: Greetings,

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Jesse Farinacci
Greetings, On Tue, Jan 3, 2012 at 4:20 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: that is because you are using maven-release-plugin 2.2.1 switch to 2.2.2 and see how you feel Sounds like there is a clear and easy work around. Why hold up a release for this? -Jesse --

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Arnaud Héritier
I agree to not hold up the 3.0.4 release as it was already in 3.0.3 thus the problem was in the previous release process that didn't identify this problem. The problem of this bug is that we don't know if this bug is affecting many plugins but it seems that it's not really the case as it is here

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
i am not saying hold up the release... just beware the combo - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 3 Jan 2012 21:22, Olivier Lamy ol...@apache.org wrote: Hello,

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Ansgar Konermann
Am 03.01.2012 22:12, schrieb Benson Margulies: On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of his releases I'd

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Brett Porter
On 04/01/2012, at 7:58 AM, Jesse Farinacci wrote: Greetings, On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Brett Porter
On 04/01/2012, at 9:04 AM, Ansgar Konermann wrote: Am 03.01.2012 22:12, schrieb Benson Margulies: On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
also part of the problem in this specific case is that it is tricky to test the release plugin... i may look into refactoring the current tests to be based off of mrm-maven-plugin, as that should open up additional test paths. further i may add some multi-maven version testing so that the tests

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Benson Margulies
On Tue, Jan 3, 2012 at 6:12 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: also part of the problem in this specific case is that it is tricky to test the release plugin... i may look into refactoring the current tests to be based off of mrm-maven-plugin, as that should open up