Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] way to check required-plugin version

not sure if this applies to your problem, but tycho-versions-plugin has an option to adapt referencing version ranges


On 04.08.17, 10:44, "tycho-user-bounces@xxxxxxxxxxx on behalf of LE FEVRE FRANCOIS" <tycho-user-bounces@xxxxxxxxxxx on behalf of francois.le-fevre@xxxxxx> wrote:

Dear Tycho user,
I would like to know if there is a Tycho or maven plugin that could check the consistency of required-plugin’versions in a project containing several eclipse plugins.
When using pure maven java project, dependencies version are listed in dependency management section.
You can define in one place the version of the java plugin you are using in the whole project, included the children maven modules.
In one of our eclipse project managed by maven/Tycho, we have several eclipse plugins listed as children modules.
In each eclipse plugins we have a MANIFEST.MF with required bundles
For the bundles that are extracted from the children module, sometimes the developer upgrade the version of the module but forgot to upgrade the different modules that list this plugin as required bundle.
How can we check automatically that all versions are the same for a given module?
Is there a way to define outside the version of the required bundles that belongs to the same project?
For instance
Project A
/bundle A1, v 1.0.0
/bundle A2 v 1.0.0 àdepends on A1 v [1.0.0,2.0.0)
/bundle A3 v 1.0.0àdepends on A1 v [1.0.0,2.0.0)
The developer upgrade the version of A1 to 1.1.0 and reflect it in A2 but forgot to do it in A3
Project A
/bundle A1, v 1.1.0
/bundle A2 v 1.0.0 àdepends on A1 v [1.1.0,2.0.0)
/bundle A3 v 1.0.0àdepends on A1 v [1.0.0,2.0.0)
How can we gather the fact that in all plugins in the project A, the A1 version to be used is 1.1.0
Thanks for your help and ideas.

Back to the top