• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-plugin
    • None
    • java 7

      when building with java 7:

      WARNING: Error injecting: org.jenkinsci.maven.plugins.hpi.AptCompiler
      java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory

      solution - change parent version in pom.xml from:
      <parent>
      <groupId>org.jenkins-ci.plugins</groupId>
      <artifactId>plugin</artifactId>
      <version>1.409</version>
      </parent>

      to 1.509

          [JENKINS-17441] can't build plugin with java 7

          I've got a pull request outstanding (https://github.com/jenkinsci/gradle-plugin/pull/18) which should fix this issue. Just waiting for it to be pulled.

          Richard Bywater added a comment - I've got a pull request outstanding ( https://github.com/jenkinsci/gradle-plugin/pull/18 ) which should fix this issue. Just waiting for it to be pulled.

          I've sucessfully built gradle plugin 1.24 and 1.25-SNAPSHOT with jdk1.7.0_51-64b

          Gregory SSI-YAN-KAI added a comment - I've sucessfully built gradle plugin 1.24 and 1.25-SNAPSHOT with jdk1.7.0_51-64b

            gbois Gregory Boissinot
            tomekk Tomek Kaczanowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: