Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Version qualifier problems when building release candidates...

The current mapping is pretty simplistic.

 

I’d be open to comparing the versions on a semantic level (e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=382482 ). However this implies that we need to be sure of the semantics in OSGi and Maven versions. I’m less firm on the Maven side, so we’d need someone with solid Maven version semantic know-how to contribute here.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
Sent: Donnerstag, 15. November 2012 10:14
To: Tycho user list
Subject: Re: [tycho-user] Version qualifier problems when building release candidates...

 

Tycho enforces that OSGI and Maven version are the same, with the mapping between .qualifier and -SNAPSHOT

Regards
Jeff

 

On Thu, Nov 15, 2012 at 9:27 AM, <Bernd.Vogt@xxxxxxxxxxxx> wrote:

Hi,

I'd like to build a release candidate of my plug-ins. For that I replaced all occurrences of 1.0.0-SNAPSHOT with the qualifed Maven like version 1.0.0-rc1 and all occurrences of 1.0.0.qualifier with 1.0.0.rc1.

Performing the build leeds to the following error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.15.0:validate-version (default-validate-version) on project bundle.a: OSGi version 1.0.0.rc1 in META-INF/MANIFEST.MF does not match Maven version 1.0.0-rc1 in pom.xml -> [Help 1]

When using exact the same versions in both (pom.xml and MANIFEST.MF) the build succeeds. Unfortunately, therefore I have to use the OSGi like version 1.0.0.rc1 in my pom files, where I would realy prefer the Maven format 1.0.0-rc1.

Is there a deeper reason why Tycho does not support qualified release versions, such as 1.0.0-rc1?

Best regards

Bernd Vogt
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY

Image removed by sender.
"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


Back to the top