Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Java 9 support #91

Closed
aznan2 opened this issue May 9, 2018 · 3 comments
Closed

Java 9 support #91

aznan2 opened this issue May 9, 2018 · 3 comments
Assignees
Milestone

Comments

@aznan2
Copy link

aznan2 commented May 9, 2018

With the release of a Java 9 compatible version of maven-jaxb2-plugin rapidly approaching (knock on wood), it would be nice if jaxb2-basics were to follow suit.

At the moment, when i run the java-9 branch of maven-jaxb2-plugin with this config:

<args>
  <arg>-XsimpleEquals</arg>
  <arg>-XsimpleHashCode</arg>
</args>
<plugins>
  <plugin>
    <groupId>org.jvnet.jaxb2_commons</groupId>
    <artifactId>jaxb2-basics</artifactId>
    <version>0.11.2-SNAPSHOT</version>
  </plugin>
</plugins>

I get [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb23-plugin:0.13.3-SNAPSHOT:generate (default) on project java9-test-jaxb: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb23-plugin:0.13.3-SNAPSHOT:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb23-plugin:0.13.3-SNAPSHOT:generate: com/sun/tools/xjc/model/Aspect

@popshi
Copy link

popshi commented May 17, 2018

I have the same issue in Java 10.

[ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate (default) on project msran-jcat-extension-helpers: Execution default of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate: com/sun/xml/bind/api/ErrorListener
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1

@highsource highsource self-assigned this Jun 2, 2018
@highsource highsource added this to the 0.12.x milestone Jun 2, 2018
highsource added a commit that referenced this issue Jun 2, 2018
highsource added a commit that referenced this issue Jun 2, 2018
highsource added a commit that referenced this issue Jun 2, 2018
highsource added a commit that referenced this issue Jun 2, 2018
highsource added a commit that referenced this issue Jun 2, 2018
highsource added a commit that referenced this issue Jun 3, 2018
highsource added a commit that referenced this issue Jun 4, 2018
highsource added a commit that referenced this issue Jun 4, 2018
highsource added a commit that referenced this issue Jun 4, 2018
@aznan2
Copy link
Author

aznan2 commented Jun 4, 2018

@highsource I can confirm that it works. Thanks!

@highsource
Copy link
Owner

Great, thanks for the confirmation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants