On Sep 14, 2013, at 4:00 PM, Daniel Kulp <[email protected]> wrote:

> 
> 
> On Sep 14, 2013, at 1:24 PM, Jason van Zyl <[email protected]> wrote:
> 
>> When a release fails like this it is annoying to have to rev back the 
>> version of the POM. I'm not sure who flipped the versions in the POM and 
>> while it's a little more visible to see what you're moving toward I prefer 
>> the pattern of:
>> 
>> 3.1-SNAPSHOT --> 3.1.1 --> 3.1-SNAPSHOT --> 3.1.2 --> 3.1-SNAPSHOT
>> 
>> I know this may not be obvious to the casual observer as they may think 3.1 
>> is next, but I'm personally fine with that.
>> 
>> Especially after a failed release because then I don't have to go change all 
>> the POMs (whether rolling back manually, using the release rollback, the 
>> version:set command, or whatever else). It's much easier to just fix what's 
>> necessary and carry on.
> 
> 
> You don't have to go back and reset the poms.  Just re-run the 
> maven-release-plugin and when it asks for the release version, type in 3.1.1 
> instead of defaulting to 3.1.2.
> 

Technically, yes I can do that but I think it look odd to go from 
3.1.2-SNAPSHOT to 3.1.1. I've already reset them here locally while integrating 
other fixes. I was pleasantly surprised using version:set which didn't rewrite 
the POMs but just really did just target the version change. It was painless 
using version:set.

> 
> Dan
> 
> 
> 
>> Unless anyone objects I would like to go back this pattern, what I 
>> previously had, because it's far easier to manage. Ideally it might be nice 
>> if all the tools understood 3.1.z-SNAPSHOT but they don't an in lieu of that 
>> I would prefer not to diddle POMs after a failed release.
>> 
>> Thanks,
>> 
>> Jason
>> 
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> ---------------------------------------------------------
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------







Reply via email to