[FB-Discuss] Finbugs Maven Plugin error

muthu velappan muthu.velappan at aspiresys.com
Thu Apr 16 04:38:43 EDT 2009


Hi,

 

I tried to setup maven findbugs plug-in for my project but it shows the
error trace copied below. I also attached my settings.xml file and findbugs
reporting configuration in my pom.xml. 

 

Please let me know where I'm going wrong. 

 

Thanks,

Muthu

 

Reporting configuration in pom.xml

 

        <reporting>

          <plugins>

            <plugin>

                  <groupId>org.codehaus.mojo</groupId>

                  <artifactId>findbugs-maven-plugin</artifactId>

                  <version>2.0</version>

                  <configuration>

                     <xmlOutput>true</xmlOutput>

 
<xmlOutputDirectory>e:\muthu\Projects</xmlOutputDirectory>

                     <effort>Max</effort>

                     <threshold>Medium</threshold>

                  </configuration>

            </plugin>

          </plugins>

        </reporting>

 

Error Trace

url = http://repository.codehaus.org

Downloading:
http://repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/2.0/f
indbugs-maven-plugin-2.0.pom

url = http://maven.restlet.org/

Downloading:
http://maven.restlet.org//org/codehaus/mojo/findbugs-maven-plugin/2.0/findbu
gs-maven-plugin-2.0.pom

url = http://repo1.maven.org/maven2

Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/findbugs-maven-plugin/2.0/fi
ndbugs-maven-plugin-2.0.pom

[ERROR] 

 

Maven encountered an error while loading a plugin for use in your build.

 

Plugin:

Group-Id: org.codehaus.mojo

Artifact-Id: findbugs-maven-plugin

Version: 2.0

Referenced mojo: findbugs

brought in via: null

 

While building project:

Group-Id: com.thinkronize.edudym

Artifact-Id: EduDymServices

Version: 1.0.0-SNAPSHOT

>From file: E:\Muthu\Projects\Antares\EduDymServices\pom.xml

 

 

Error message:Failed to load plugin. Reason: Unable to build project for
plugin 'org.codehaus.mojo:findbugs-maven-plugin': POM
'org.codehaus.mojo:findbugs-maven-plugin' not found in repository: Unable to
download the artifact from any repository

 

  org.codehaus.mojo:findbugs-maven-plugin:pom:2.0

 

from the specified remote repositories:

  findbugs (http://repository.codehaus.org),

  maven-restlet (http://maven.restlet.org/),

  central (http://repo1.maven.org/maven2)

 for project org.codehaus.mojo:findbugs-maven-plugin

Root error message:Unable to download the artifact from any repository

 

 

 

[INFO]
------------------------------------------------------------------------

[INFO] For more information, run with the -e flag

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILED

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 4 seconds

[INFO] Finished at: Thu Apr 16 14:00:30 IST 2009

[INFO] Final Memory: 1M/4M

[INFO]
------------------------------------------------------------------------

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cs.umd.edu/pipermail/findbugs-discuss/attachments/20090416/ef765304/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: settings.xml
Type: text/xml
Size: 691 bytes
Desc: not available
URL: <https://mailman.cs.umd.edu/pipermail/findbugs-discuss/attachments/20090416/ef765304/attachment.xml>


More information about the Findbugs-discuss mailing list