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

Avoid deprecated warnings during build of trac-plugin

    XMLWordPrintable

Details

    Description

      During the build of 1.13-SNAPSHOT warnings about deprecated functions appear
      see http://ci.jenkins-ci.org/view/Plugins/job/plugins_trac/lastBuild/console

      [INFO] --- maven-hpi-plugin:1.54:apt-compile (default-apt-compile) @ trac ---
      [INFO] Compiling 4 source files to /home/jenkins/slave/workspace/plugins_trac/target/classes
      Note: Generating hudson/plugins/trac/TracProjectProperty.stapler
      Note: Generating hudson/plugins/trac/TracRepositoryBrowser.stapler
      Note: hudson.plugins.trac.TracLinkAnnotator indexed under hudson.Extension
      Note: hudson.plugins.trac.TracProjectProperty.DescriptorImpl indexed under hudson.Extension
      Note: hudson.plugins.trac.TracRepositoryBrowser.DescriptorImpl indexed under hudson.Extension
      /home/jenkins/slave/workspace/plugins_trac/src/main/java/hudson/plugins/trac/TracProjectProperty.java:41: warning: [deprecation] getJobAction(J) in hudson.model.JobProperty has been deprecated
          public Action getJobAction(AbstractProject<?,?> job) {
                        ^
      1 warning
      
      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ trac ---
      [INFO] Compiling 2 source files to /home/jenkins/slave/workspace/plugins_trac/target/test-classes
      [WARNING] /home/jenkins/slave/workspace/plugins_trac/src/test/java/hudson/plugins/trac/TracLinkAnnotatorTest.java:[78,54] [deprecation] toString() in hudson.MarkupText has been deprecated
      [INFO] [INFO] Generating /home/jenkins/slave/workspace/plugins_trac/target/test-classes/the.hpl
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gerd_zanker Gerd Zanker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: