Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong plug-in version resolved after tycho update from 3.0.5 to 4.0.4 #3357

Open
marc-ernst opened this issue Jan 12, 2024 Discussed in #3349 · 1 comment
Open

Wrong plug-in version resolved after tycho update from 3.0.5 to 4.0.4 #3357

marc-ernst opened this issue Jan 12, 2024 Discussed in #3349 · 1 comment

Comments

@marc-ernst
Copy link

Discussed in #3349

Originally posted by marc-ernst January 11, 2024
I'm building osgi plugins using bnd. With tycho 3.0.5 they are resolved fine but with tycho 4.0.4 it takes first the found plug-in from the target platform instead of the one I have build before. I'm using goal "bnd-process" and it's the first module listed in the pom.
I've attached a small reproducer. Building it with tycho 3.0.5 (mvn -Dtycho-version=3.0.5 install) will output the correct version in the p2 repository plugins directory (org.freemarker_2.3.32) but with tycho 4.0.4 it takes the version from the target platform (org.freemarker_2.3.22.v20160210-1233.jar).

TYCHO3349bndfirst.zip

@marc-ernst
Copy link
Author

We build osgi plug-ins from maven repository because in mvn repository there might be newer versions (as in eclipse repository) of this plug-in which contains security/bug fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant