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

Cannot build dozer with Java 9 #555

Closed
jbq opened this issue Feb 24, 2018 · 4 comments
Closed

Cannot build dozer with Java 9 #555

jbq opened this issue Feb 24, 2018 · 4 comments

Comments

@jbq
Copy link
Contributor

jbq commented Feb 24, 2018

Are you in the right place?

  • For issues or feature requests related to the code in this repository file a Github issue.
  • For general technical questions, post a question on Google Groups.

Whats your runtime?

  • Dozer version: 6.2.0-SNAPSHOT
  • OS version: macOS 10.13.2
  • JDK version: 9.0.4

Whats the problem?

Steps to reproduce:

  1. run mvn install

Observed Results:

What happened? This could be a description, log output, etc.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.684 s
[INFO] Finished at: 2018-02-24T09:16:07+01:00
[INFO] Final Memory: 74M/246M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc (default) on project dozer-core: Execution default of goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc: com/sun/codemodel/CodeWriter

See mojohaus/jaxb2-maven-plugin#43

Removing jaxb2-maven-plugin and xmlbeans-maven-plugin from core/pom.xml and running with -Dmaven.test.skip=true the install goes fine.

@garethahealy
Copy link
Collaborator

@jbq ; going to wait a few months until adding java{X} support, to let all other components catch up. At that point, we'd probably go to the latest Java release, as they are doing shorter releases now, so Java10 will be out soon.

@garethahealy
Copy link
Collaborator

@garethahealy
Copy link
Collaborator

Module-info generator:

@garethahealy
Copy link
Collaborator

Code and components build. OSGi tests fail, but need to wait for a new release of pax to fix.

As core/components build, closing this ticket.

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