Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-version-plugin: Update version range with SNAPSHOT version

Hi Mailing list,

I observe following behaviour when I use tycho-version-plugin for updating project version and the version range to a new SNAPSHOT version and I'd like to find out if this behaviour is wrong or I forget to set a flag :)

My project setup looks like the following one:

project (version 1.2.3)
|_ bundle 1
|_ bundle 2 has bundle 1 as Required-Bundle with bundle-version=(0.0.0,1.2.3]

Now I'd like to update the project version to 1.2.4-SNAPSHOT with

"mvn org.eclipse.tycho:tycho-versions-plugin:1.0.0:set-version -Dtycho.mode=maven -DnewVersion=1.2.4-SNAPSHOT -DupdateVersionRangeMatchingBounds=true" (in the project root folder).

Then my project looks like the following one:

project (version 1.2.4-SNAPSHOT / 1.2.4.qualfier)
|_ bundle 1
|_ bundle 2 has bundle 1 as Required-Bundle with bundle-version=(0.0.0,1.2.4]

But then "mvn clean install" (in the project root) fails because bundle 2 cannot find bundle 1. When I change the bundle version ranges to (0.0.0,1.2.4.qualifier] or to (0.0.0,1.2.5] manually, everything is fine.

So my question is, is this a bug or do I forget to set additional flag during the version plugin call?

Thank you and best regards,

Sandra Parsick


Back to the top