Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28366

build with java 7

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be nice if one could build the plugin with Java 7. It fails with:
      WARNING: Error injecting: org.jenkinsci.maven.plugins.hpi.AptCompiler
      java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory

      I tried to update the Jenkins version in the pom.xml from 1.409 to 1.427. Then I can build the plugin but then most of the unit tests fail.

        Attachments

          Activity

          rschulz Roland Schulz created issue -
          Hide
          chronozphere Nathan Schagen added a comment -

          Updated pom to 1.420 and also had loads of failing unit tests.

          Show
          chronozphere Nathan Schagen added a comment - Updated pom to 1.420 and also had loads of failing unit tests.
          Hide
          rodrigc Craig Rodrigues added a comment -

          Fixed in 0.0.9

          Show
          rodrigc Craig Rodrigues added a comment - Fixed in 0.0.9
          rodrigc Craig Rodrigues made changes -
          Field Original Value New Value
          Assignee Frédéric Camblor [ fcamblor ] Craig Rodrigues [ rodrigc ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 163204 ] JNJira + In-Review [ 197134 ]

            People

            Assignee:
            rodrigc Craig Rodrigues
            Reporter:
            rschulz Roland Schulz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: