Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2152 Weld build with JDK 9
  3. WELD-2149

Weld build fails on checkstyle with JDK9

    XMLWordPrintable

Details

    Description

      As described in WELD-1847, building Weld on JDK9 fails on Chekstyle Maven plugin. Even when upgrading to the latest version the build fails with the following error:

      Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:checkstyle (check-style)
      on project weld-core-parent: Execution check-style of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:checkstyle failed:
      Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved:
      Could not find artifact com.sun:tools:jar:1.6.0 at specified path /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/../lib/tools.jar
      

      Attachments

        Issue Links

          Activity

            People

              asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: