Mojo's FindBugs Maven Plugin
  1. Mojo's FindBugs Maven Plugin
  2. MFINDBUGS-122

[Maven3] Could not find matching constructor for: org.codehaus.mojo.findbugs.FindbugsReportGenerator

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2
    • Labels:
      None
    • Environment:
      Win 7, Maven 3(r1004208; 2010-10-04)
    • Number of attachments :
      0

      Description

      I have a multi-module project and have configured the findbugs-maven-plugin v2.3.1. If I execute mvn install I receive following error message:

      [ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3.1:findbugs (default) on project myproject: An error has occurr
      ed in FindBugs Report report generation. Could not find matching constructor for: org.codehaus.mojo.findbugs.FindbugsReportGenerator(org.cod
      ehaus.doxia.module.xhtml.XhtmlSink, java.util.PropertyResourceBundle, java.io.File, org.apache.maven.doxia.tools.DefaultSiteTool) -> [Help 1]
      

        Activity

        Hide
        Olivier Lamy added a comment -
        Show
        Olivier Lamy added a comment - can you try with building locally http://svn.codehaus.org/mojo/branches/findbugs-maven-plugin-MFINDBUGS-119/
        Hide
        thomas hahn added a comment -

        I was haveing the same problem. I am using sonar, which won't let me configure which findbugs-maven-plugin is used. so to try out http://svn.codehaus.org/mojo/branches/findbugs-maven-plugin-MFINDBUGS-119/ I had to compile it as version 2.3.1.

        But now my sonar build is working again. Thanks very much

        Show
        thomas hahn added a comment - I was haveing the same problem. I am using sonar, which won't let me configure which findbugs-maven-plugin is used. so to try out http://svn.codehaus.org/mojo/branches/findbugs-maven-plugin-MFINDBUGS-119/ I had to compile it as version 2.3.1. But now my sonar build is working again. Thanks very much
        Hide
        Garvin LeClaire added a comment -

        Try the 2.3.2-SNAPSHOT version.

        Show
        Garvin LeClaire added a comment - Try the 2.3.2-SNAPSHOT version.
        Hide
        Garvin LeClaire added a comment -

        Try the 2.3.2-SNAPSHOT version.

        Show
        Garvin LeClaire added a comment - Try the 2.3.2-SNAPSHOT version.
        Hide
        oliver.burkhalter added a comment -

        Thanks a lot, works great!

        Show
        oliver.burkhalter added a comment - Thanks a lot, works great!
        Hide
        Nikolay Nikolov added a comment -

        Thanks for fixing this - any idea when 2.3.2 will be released?

        Show
        Nikolay Nikolov added a comment - Thanks for fixing this - any idea when 2.3.2 will be released?
        Hide
        kapil dhamija added a comment -

        I am still getting:-
        Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3:findbugs (findbugs) on project mifos-common: An error has occurred in FindBugs Report report generation. Could not find matching constructor for: org.codehaus.mojo.findbugs.FindbugsReportGenerator(org.codehaus.doxia.module.xhtml.XhtmlSink, java.util.PropertyResourceBundle, java.io.File, org.apache.maven.doxia.tools.DefaultSiteTool) ->

        Can anyone help me with step by step solution for this ?

        My System Enviroment is:
        OS-Win7 64bit
        JDK-64bit
        mifos-gazelle build

        Thanks in advance

        Show
        kapil dhamija added a comment - I am still getting:- Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:2.3:findbugs (findbugs) on project mifos-common: An error has occurred in FindBugs Report report generation. Could not find matching constructor for: org.codehaus.mojo.findbugs.FindbugsReportGenerator(org.codehaus.doxia.module.xhtml.XhtmlSink, java.util.PropertyResourceBundle, java.io.File, org.apache.maven.doxia.tools.DefaultSiteTool) -> Can anyone help me with step by step solution for this ? My System Enviroment is: OS-Win7 64bit JDK-64bit mifos-gazelle build Thanks in advance
        Hide
        Garvin LeClaire added a comment -

        Nikolay,

        I have a couple Maven 3 issues to clean up first before a release. These issues are site generation issues of the Findbugs site. I have been using it at my full-time job without issues in a number of our builds.
        I hope to get some free time to clean these last few issues.

        Garvin

        Show
        Garvin LeClaire added a comment - Nikolay, I have a couple Maven 3 issues to clean up first before a release. These issues are site generation issues of the Findbugs site. I have been using it at my full-time job without issues in a number of our builds. I hope to get some free time to clean these last few issues. Garvin
        Hide
        Garvin LeClaire added a comment -

        Kapil,

        This is a place for bug reports and fixes. You should uses the mail list for general support.

        Try using the current 2.3.2-SNAPSHOT version.

        Show
        Garvin LeClaire added a comment - Kapil, This is a place for bug reports and fixes. You should uses the mail list for general support. Try using the current 2.3.2-SNAPSHOT version.

          People

          • Assignee:
            Garvin LeClaire
            Reporter:
            oliver.burkhalter
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: