Warnings when using gradle to build plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: gradle-jpi-plugin
    • None

      Getting a bunch of warnings when building using the gradle plugin. Not sure if this is something in my environment or not. The plugin I am building is pretty minimal.

      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings'
      warning: Supported source version 'RELEASE_6' from annotation processor 'jenkins.PluginSubtypeMarker' less than -source '1.7'
      warning: Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.stapler.jsr269.ConstructorProcessor' less than -source '1.7'
      warning: Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.stapler.jsr269.ExportedBeanAnnotationProcessor' less than -source '1.7'
      warning: Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.stapler.jsr269.QueryParameterAnnotationProcessor' less than -source '1.7'
      warning: Supported source version 'RELEASE_6' from annotation processor 'org.jvnet.hudson.annotation_indexer.AnnotationProcessorImpl' less than -source '1.7'
      warning: Supported source version 'RELEASE_6' from annotation processor 'net.java.sezpoz.impl.Indexer6' less than -source '1.7'
      Note: org.jenkinsci.plugins.mailer2.Mailer2Publisher.DESCRIPTOR indexed under hudson.Extension
      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings'
      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
      C:\Users\USER\.m2\repository\org\jenkins-ci\main\jenkins-core\1.447\jenkins-core-1.447.jar(jenkins/model/Jenkins.class): warning: Cannot find annotation metho
      d 'value()' in type 'SuppressWarnings'

            Assignee:
            Daniel Spilker
            Reporter:
            Alex Earl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: