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 ( #6

Open
ChrWeissDe opened this issue Mar 8, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ChrWeissDe
Copy link
Owner

Compiling the plugin with a JDK >= version 9 fails. 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

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.

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

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

@ChrWeissDe ChrWeissDe self-assigned this Mar 8, 2023
@ChrWeissDe ChrWeissDe added enhancement New feature or request good first issue Good for newcomers labels Mar 8, 2023
@ChrWeissDe
Copy link
Owner Author

See also the discussion in mojohaus/jaxb2-maven-plugin#43

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