You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Manfred Moser <ma...@mosabuam.com> on 2012/09/26 23:46:45 UTC

Versioning with release plugin - support for qualifier

Hi!

I have done some testing with version numbers using classifiers and found
that e.g. the release plugin does not correctly increase the version
number.

With e.g. 2.1.1-RC.1-SNAPSHOT  or 2.1.1-RC1-SNAPSHOT the release plugin
prepare goal suggests 2.1.2-RC.1-SNAPSHOT as next version but I would
expect it to suggest 2.1.1-RC.2-SNAPSHOT

Is this a known bug or intended behaviour? Should I file a bug?

manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Versioning with release plugin - support for qualifier

Posted by Manfred Moser <ma...@mosabuam.com>.
On Wed, September 26, 2012 2:46 pm, Manfred Moser wrote:
> Hi!
>
> I have done some testing with version numbers using classifiers and found
> that e.g. the release plugin does not correctly increase the version
> number.
>
> With e.g. 2.1.1-RC.1-SNAPSHOT  or 2.1.1-RC1-SNAPSHOT the release plugin
> prepare goal suggests 2.1.2-RC.1-SNAPSHOT as next version but I would
> expect it to suggest 2.1.1-RC.2-SNAPSHOT
>
> Is this a known bug or intended behaviour? Should I file a bug?
>
> manfred

Btw. the reason I am asking is that this scheme is suggested as good
practice by http://semver.org/ and it should imho work..

manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Versioning with release plugin - support for qualifier

Posted by Manfred Moser <ma...@mosabuam.com>.
On Thu, September 27, 2012 1:49 pm, Karl Heinz Marbaise wrote:
> Hi,
>
>> With e.g. 2.1.1-RC.1-SNAPSHOT
> I've never seen a version marker like this..

It is definitely not common yet but imho it is actually better than the
below used version without the dot delimiter. More importantly this is
what http://semver.org 2.0 recommends so Maven should imho support it.

>> or 2.1.1-RC1-SNAPSHOT the release plugin
>
> This works...after 2.1.1-RC1-SNAPSHOT it will become
> 2.1.1-RC2-SNAPSHOT, 2.1.1-RC3-SNAPSHOT and so on...

Really weird. When I tried last time it did not seem to work, but I tried
again now and it works ok. So I guess for now I have to recommend that
scheme against semver.org.

Should I file a bug to support semver.org for the release plugin, you think?

manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Versioning with release plugin - support for qualifier

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

> With e.g. 2.1.1-RC.1-SNAPSHOT
I've never seen a version marker like this..

> or 2.1.1-RC1-SNAPSHOT the release plugin

This works...after 2.1.1-RC1-SNAPSHOT it will become
2.1.1-RC2-SNAPSHOT, 2.1.1-RC3-SNAPSHOT and so on...

Kind regards
Karl-Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Versioning with release plugin - support for qualifier

Posted by Ken O'Connell <ko...@casenetllc.com>.
Hi Manfred,
I have been struggling with the same thing here, and would love to know how to control this. Under my scenario though, the dependency version (with the classifier) is just ignored and not updated to the next dev iteration..
-Ken

-----Original Message-----
From: Manfred Moser [mailto:manfred@mosabuam.com]
Sent: Wednesday, September 26, 2012 5:47 PM
To: users@maven.apache.org
Subject: Versioning with release plugin - support for qualifier

Hi!

I have done some testing with version numbers using classifiers and found that e.g. the release plugin does not correctly increase the version number.

With e.g. 2.1.1-RC.1-SNAPSHOT  or 2.1.1-RC1-SNAPSHOT the release plugin prepare goal suggests 2.1.2-RC.1-SNAPSHOT as next version but I would expect it to suggest 2.1.1-RC.2-SNAPSHOT

Is this a known bug or intended behaviour? Should I file a bug?

manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org