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

Does not work with Java 11 #18

Open
jakub-lore opened this issue Sep 3, 2020 · 4 comments
Open

Does not work with Java 11 #18

jakub-lore opened this issue Sep 3, 2020 · 4 comments

Comments

@jakub-lore
Copy link

Seems that the plugin requires javax.xml.bind package that is not a part of default distribution anymore

@ChristianMurphy
Copy link
Member

Thanks for reaching out @Leithain!
A pull request adding the dependencies needed for Java 11 would be welcome!

@jakobbraun
Copy link

I prepared a PR for that. I can however not upload it until #19 is fixed, since I do not want trouble with the Apache Maven Trademark ;-)

@ChristianMurphy
Copy link
Member

@jakobbraun the license is unrelated to this issue, and can be addressed separately, so it shouldn't really be a blocker.

@jcodagnone
Copy link

A workarround that works at least on Java 17 is adding the missing dependencies to the runtime:

      <plugin>
        <groupId>org.jasig.maven</groupId>
        <artifactId>maven-notice-plugin</artifactId>
        <version>1.0.6.1</version>
        <dependencies>
          <dependency>
              <groupId>jakarta.xml.bind</groupId>
              <artifactId>jakarta.xml.bind-api</artifactId>
              <version>2.3.3</version>
          </dependency>
          <dependency>
              <groupId>org.glassfish.jaxb</groupId>
              <artifactId>jaxb-runtime</artifactId>
              <version>2.3.3</version>
          </dependency>
        </dependencies>
       …

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

No branches or pull requests

4 participants