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

Findbugs Reporting not working with Maven 3.1

    Details

    • Similar Issues:

      Description

      I just switched to Maven 3.1 and saw that Findbugs was not reported on the page of the job anymore. When I switch back to Maven 3.0 it works like always.

      With Maven 3.1 I found two different warnings in the Logs:
      WARN org.apache.maven.eventspy.internal.EventSpyDispatcher - Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: Failed to load edu.umd.cs.findbugs.detect.TestASM

      WARN org.apache.maven.eventspy.internal.EventSpyDispatcher - Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: Could not initialize class edu.umd.cs.findbugs.SortedBugCollection

      Jenkins version: 1.526
      Jenkins Findbugs Plugin version: 4.49
      Findbugs Maven Plugin version: 2.5.2

        Attachments

        1. findbugs-maven-example.zip
          45 kB
        2. jenkins.log
          116 kB
        3. pluginversions.jpg
          pluginversions.jpg
          224 kB

          Issue Links

            Activity

            Hide
            dahn Daan Hoogland added a comment -

            H all, I started noticing this on jenkins.buildacloud.org (the apache cloudstack ci). I reproduced the job we have there internally at Schuberg Philis. There it does produce reports on the enterprise jenkins. I am triaging the differences but not hopefull as most of the obvious have passed. Any progress on this issue yet? Let me know if I can help with further info.

            Daan, also reachable as dhoogland at our company name without the space dot com

            Show
            dahn Daan Hoogland added a comment - H all, I started noticing this on jenkins.buildacloud.org (the apache cloudstack ci). I reproduced the job we have there internally at Schuberg Philis. There it does produce reports on the enterprise jenkins. I am triaging the differences but not hopefull as most of the obvious have passed. Any progress on this issue yet? Let me know if I can help with further info. Daan, also reachable as dhoogland at our company name without the space dot com
            Hide
            drulli Ulli Hafner added a comment -

            @Daan: Currently there are no plans to fix the class loading issues of the maven plug-in. Please use a freestyle project until I find some time to migrate my plug-in actions so they do not require the maven plug-in anymore.

            Show
            drulli Ulli Hafner added a comment - @Daan: Currently there are no plans to fix the class loading issues of the maven plug-in. Please use a freestyle project until I find some time to migrate my plug-in actions so they do not require the maven plug-in anymore.
            Hide
            podskalsky podskalsky added a comment -

            I can't accept "switch to the freestyle project" !

            A freestyle project has not the requered extended Maven features which are used by our projects.

            For example:

            POM_* variables from pom.xml are missing in env
            MAVEN_HOME variable is missing in env
            Artifactory-Plugin is not able to find artifacts in freestyle project
            artifacts have different names like at maven project (at finalName was ignored at freestyle project - name was artifacId)
            collecting reports (checkstyle, pmd, findbugs, junit, jacoco, ...) is not easy
            ...

            Show
            podskalsky podskalsky added a comment - I can't accept "switch to the freestyle project" ! A freestyle project has not the requered extended Maven features which are used by our projects. For example: POM_* variables from pom.xml are missing in env MAVEN_HOME variable is missing in env Artifactory-Plugin is not able to find artifacts in freestyle project artifacts have different names like at maven project (at finalName was ignored at freestyle project - name was artifacId) collecting reports (checkstyle, pmd, findbugs, junit, jacoco, ...) is not easy ...
            Hide
            markewaite Mark Waite added a comment -

            podskalsky, since this is an open source project, you're welcome to submit pull requests. There is a wiki page that will help you get started as a Jenkins developer. Don't forget to include tests of your changes (as recommended in that wiki page).

            Show
            markewaite Mark Waite added a comment - podskalsky , since this is an open source project, you're welcome to submit pull requests. There is a wiki page that will help you get started as a Jenkins developer. Don't forget to include tests of your changes (as recommended in that wiki page).
            Hide
            drulli Ulli Hafner added a comment -

            This issue is also fixed by pull request for JENKINS-26923.

            Show
            drulli Ulli Hafner added a comment - This issue is also fixed by pull request for JENKINS-26923 .

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                achbine Sabine Achilles
              • Votes:
                17 Vote for this issue
                Watchers:
                30 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: