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".
On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:
I using findbugs plugin at http://www.ibiblio.org/maven2/findbugs/,
maven2 give me such error messages:
...
[INFO] The plugin 'org.apache.maven.plugins:maven-findbugs-plugin' does
not exist
or no valid version could be found
...
here is my pom.xml snippet:
...
<dependencies>
...
<dependency>
<groupId>findbugs</groupId>
<artifactId>findbugs</artifactId>
<version>0.9.6</version>
</dependency>
</dependencies>
...
<reporting>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
</plugin>
<plugins>
<reporting>
...
When I set /reporting/plugins/plugin/groupId &
/reporting/plugins/plugin/artifactId
to 'findbugs', it give me same error.
Thanks for some help
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]