Thanks, I do as you say, but no errors detected, just silent success.
After I build
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/findbugs-maven-plugin,
all is ok.

Another question, Can I discard some erros like this ?
VR: Unresolvable reference
EI/EI2: may expose internal representation

2006/6/23, Janhavi Phirke <[EMAIL PROTECTED]>:

Pls add following as stated:

  <dependencies>
    <dependency>
       <groupId>jaxen</groupId>
       <artifactId>jaxen</artifactId>
       <version>1.1-beta-8</version>
       <scope>compile</scope>
    </dependency>
  </dependencies>
  <pluginRepositories>
      <pluginRepository>
               <id>Maven Snapshots</id>
               <url>http://snapshots.maven.codehaus.org/maven2</url>
      </pluginRepository>
  </pluginRepositories>

  <reporting>
      <plugins>
              <plugin>
                  <groupId>maven-plugins</groupId>
                  <artifactId>maven-findbugs-plugin</artifactId>
                  <version>1.0-SNAPSHOT</version>
             </plugin>
      </plugins>
  </reporting>

Also comment the <optional> tag for jaxen in the pom of dom4j i.e.
dom4j-1.6.1.pom

Dependency for jaxen is added since I was getting the error for dom4j for
jaxen while adding findbugs plugin.

After adding above code in your pom.xml, run the command "mvn install"
which
will install/download findbugs plugin in your local repository and then
run
the command "mvn findbugs:findbugs".


Reply via email to