Skip to main content

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

could be a bug in the updateVersionRangeMatchingBounds option.

https://github.com/eclipse/tycho/commit/bd715d9dc044256e9298a8b71cbab2b910f6623c

has some tests so you could check whether your scenario is covered.

Regards
Jan

On 15.09.17, 16:17, "tycho-user-bounces@xxxxxxxxxxx on behalf of sparsick@xxxxxx" <tycho-user-bounces@xxxxxxxxxxx on behalf of sparsick@xxxxxx> wrote:

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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top