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

Build fails on JDK 15 due to maven bundle plugin error #413

Closed
prashantbhat opened this issue Sep 23, 2020 · 2 comments
Closed

Build fails on JDK 15 due to maven bundle plugin error #413

prashantbhat opened this issue Sep 23, 2020 · 2 comments

Comments

@prashantbhat
Copy link
Contributor

Using JDK 15, the project build command mvn clean install fails with the following error:

[INFO] --- maven-bundle-plugin:4.2.0:manifest (bundle-manifest) @ openpdf ---
[ERROR] An internal error occurred
java.util.ConcurrentModificationException
    at java.util.TreeMap.callMappingFunctionWithCheck (TreeMap.java:742)
    at java.util.TreeMap.computeIfAbsent (TreeMap.java:596)
    at aQute.bnd.osgi.Jar.putResource (Jar.java:288)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:202)
    at aQute.bnd.osgi.Jar$1.visitFile (Jar.java:177)

Updating maven-bundle-plugin to it's latest release 5.1.1 is solving this issue as I tested locally.

And I notice that there are few other maven plugins that can be updated. Enabling Dependabot for this project would automatically create PRs to update external dependencies such as maven plugins, libraries.

@andreasrosdal
Copy link
Contributor

pull requests welcome ☺️

@prashantbhat
Copy link
Contributor Author

@andreasrosdal I've created PR #415 to fix this issue along with other dependency updates, please review.

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

2 participants