How to best "mass update" MANIFEST-MF dependencies #4981
Unanswered
phermsdorf
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There is an update-manifest mojo but it was not much tested yet, maybe it works, maybe it would need some enhancements for your use-case. If you want your manifest automatically manged you need to use automatic manifest type of projects: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently in the process of updating a pretty large mixed-mode maven reactor.
After updating the target file dependencies including some major version changes it is now neccessary to adjust a lot of Require-Bundle and/or Import-Package directives in a lot of MANIFEST.MF files.
Of course, managing dependency version by target platform and in the MANIFEST is to some degree redundant.
But currently these version ranges are in place and completly removing them might also not be the best.
Currently they lokk like this:
and they should be changes to something like this:
Since in the last tycho releases some cleanup/adjustment goals appeared i wondered if there is soemthing that can help to make these changes.
Compared to that the update of the same dependencies in the plain maven project is much more easier by using central managed version properties and/or dependencyManagement configuration.
Could one think of to have something similar for bundle dependencies or is that a complete wrong approach?
Any other idea to improve this tendious manual process is of cource more than welcome.
Thanks for any hints on this.
Bye Peter
Beta Was this translation helpful? Give feedback.
All reactions