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

maven clean install for ace-maven-plugin with JDK >= Java 9 fails #2

Open
ChrWeissDe opened this issue Mar 11, 2023 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ChrWeissDe
Copy link
Contributor

Compiling the plugin with a JDK >= version 9 fails.

Reason for the error is that the jaxb libraries were reorganized in Java 9 and above. Some jaxb classes were removed from the standard Java distribution.

Typical error message is:
Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc (eclipseProject) on project ace-maven-plugin: Execution eclipseProject of goal org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:1.6:xjc: javax/activation/DataSource

Issue should be fixed by upgrading to a later jaxb dependency - however not changed tested yet.

Workaround for the moment: ensure to compile the plugin with JDK 8.

@ChrWeissDe ChrWeissDe added enhancement New feature or request good first issue Good for newcomers labels Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant