LE FEVRE FRANCOIS
2017-08-04 08:44:10 UTC
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.
Francois
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.
Francois