Hi all,

i currently investigate my time migrating my projects to Maven2.

But i still haven't found out how to get the findbugs plugin running.


>From what i found out, after reading through several posts and google
searches, there seem to be 2 different plugIns (i tried them both):

there is one at codehaus:

http://mojo.codehaus.org/findbugs-maven-plugin/howto.html
http://mojo.codehaus.org/findbugs-maven-plugin/howto.html 

  <pluginRepositories>
       <pluginRepository>
           <id>codehaus-snapshot-plugins</id>
           <name>codehaus-shapshot-plugins</name>
           <url> http://snapshots.maven.codehaus.org/maven2/</url>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
           <releases>
               <enabled>false</enabled>
           </releases>
       </pluginRepository>
  </pluginRepositories>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </plugin> 
    </plugins>
  </reporting>


the other one is at sourceforge:

http://maven-plugins.sourceforge.net/maven-findbugs-plugin/index.html
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/index.html 

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


Now my questions:

- Which one of them is the correct one for Maven2? (correct groupId,
artifactId, version PLSSSSS)
- Where is the correct download location?
- Do i need to download (and install it manually) or should it work
automatically, like for most of the other plugIns?
- How do i exactly configure it correctly, since i get errors for both of
them.

thx for your help, kindly regards
R.C.

-- 
View this message in context: 
http://www.nabble.com/findbugs-plugin-for-Maven2-tf1992888.html#a5469179
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to