Hi,

I have some spare time to develop a findbugs report plugin for maven 2.

I have looked up so far:

- the pmd plugin
- the findbugs eclipse plugin

I have the recipe to build the plugin and have created the necessary classes. I am now testing how to get the compile artifacts from the maven environment and pass them to my helper classes.

I have installed the plugin to my local repository with mvn install and call this plugin from another java project with the plugin in the reporting section of the pom. Unfortunately, I am getting an error message:

[INFO] Error getting reports from the plugin 'org.apache.maven.plugins:maven-findbugs-plugin': Unable to find the mojo 'org.apache.maven.plugins:maven-findbugs-plugin:1.0- SNAPSHOT:findbugs' in the plugin 'org.apache.maven.plugins:maven- findbugs-plugin'

At the moment, I am lost. Please can you help me?


Environment:
Java 1.4.2_09
MacOS X 10.4



Regards,

Cyrill



/**
* Generates a FindBugs report.
*
* @author $Author: cyrill $
* @version $Revision: 4 $ $Date: 2006-01-01 16:52:39 +0100 (Sun, 01 Jan 2006) $
*
* @goal findbugs
* @description Generates a FindBugs Report.
*
*/
public final class FindBugsReport extends AbstractMavenReport {




<project
    xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http:// maven.apache.org/maven-v4_0_0.xsd ">
    <parent>
        <artifactId>maven-plugin-parent</artifactId>
        <groupId>org.apache.maven.plugins</groupId>
        <version>2.0-beta-1</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>maven-findbugs-plugin</artifactId>
    <packaging>maven-plugin</packaging>
    <name>Maven FindBugs PlugIn</name>
    <version>1.0-SNAPSHOT</version>
    <prerequisites>
        <maven>2.0.1</maven>
    </prerequisites>

Reply via email to