[Hawkular-dev] versioning schema

John Mazzitelli mazz at redhat.com
Wed Nov 11 08:57:36 EST 2015


I like and use x.y.z.Final-SNAPSHOT if only because the mvn release plugin sets that all automatically for you. You just hit <enter> at the prompts and go. If you use x.y.x-SNAPSHOT you have to remember to change the value of the version at the mvn release plugin prompt, which can lead to typos/fat-fingering the version string ;)

Make it easy on ourselves - just use x.y.z.ABC-SNAPSHOT - and let the mvn release plugin automatically determine the versions for us.

----- Original Message -----
> Hello,
>   I'd like to ask about the policy we want to use for the versioning schema.
>   I've raised a PR [1] that will check the project version and fails the
>   build if it's wrong. This should catch the releases with malformed
>   versions. It's aligned with the JBoss project versioning [2], however,
>   it's not clear how to use the "-SNAPSHOT" suffix. Peter has a good point
>   in the PR comment that some use the x.y.z.Final-SNAPSHOT (final can be
>   also AlphaN, BetaN and CRN) and some x.y.z-SNAPSHOT and when releasing, we
>   add the Final/Alpha, etc.
> 
> Looking into wildfly repo, they use the former method. Is this what we want?
> I personally consider the latter method more natural and we use it in the
> inventory, despite the fact the hawkular/hawkular uses the
> x.y.z.AlphaN-SNAPSHOT.
> 
> jk
> 
> 
> [1]: https://github.com/hawkular/hawkular-parent-pom/pull/54
> [2]: https://developer.jboss.org/wiki/JBossProjectVersioning
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list