You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tulasi <tu...@realsoftinc.com> on 2006/07/07 14:06:54 UTC
Maven findbugs Settings
Hi,
Any know how to configure maven-findbugs-plugin (sourceforge pulgin) for
site generation.
Thanks & Regards,
Tulasi
--
View this message in context: http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216122
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven findbugs Settings
Posted by Janhavi Phirke <ja...@gmail.com>.
To get the plugin into ur local repository, first you have to run the
command "mvn install" and then "mvn findbugs:findbugs"...did u do this? if
not, try this...
On 7/7/06, tulasi <tu...@realsoftinc.com> wrote:
>
> Dear friend ...
>
> its failing...
>
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-
> findbugs-plugin-1.0-SNAPSHOT.pom
> - IGNORING
> Downloading:
>
> http://snapshots.maven.codehaus.org/maven2/maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-findbugs-plugin-1.0-SNAPSHOT.jar
> 5K downloaded
> Downloading:
>
> http://snapshots.maven.codehaus.org/maven2/maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-findbugs-plugin-1.0-SNAPSHOT.jar
> 5K downloaded
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'ad4ee38165e2235a24330a063a0d7961'; remote = '?N??e?#Z$3
> ya' - IGNORING
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(
> DefaultPluginManager.java:292)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(
> DefaultPluginManager.java:198)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(
> DefaultPluginManager.java:487)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(
> DefaultLifecycleExecutor.java:1292)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(
> DefaultLifecycleExecutor.java:657)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(
> DefaultLifecycleExecutor.java:637)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:512)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 39 seconds
> [INFO] Finished at: Fri Jul 07 19:08:31 GMT+05:30 2006
> [INFO] Final Memory: 11M/20M
> [INFO]
> ------------------------------------------------------------------------
>
> --
> View this message in context:
> http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5217462
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Maven findbugs Settings
Posted by tulasi <tu...@realsoftinc.com>.
Dear friend ...
its failing...
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-findbugs-plugin-1.0-SNAPSHOT.pom
- IGNORING
Downloading:
http://snapshots.maven.codehaus.org/maven2/maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-findbugs-plugin-1.0-SNAPSHOT.jar
5K downloaded
Downloading:
http://snapshots.maven.codehaus.org/maven2/maven-plugins/maven-findbugs-plugin/1.0-SNAPSHOT/maven-findbugs-plugin-1.0-SNAPSHOT.jar
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'ad4ee38165e2235a24330a063a0d7961'; remote = '?N??e?#Z$3
ya' - IGNORING
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultPluginManager.java:487)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(DefaultLifecycleExecutor.java:1292)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:657)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:637)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:512)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 39 seconds
[INFO] Finished at: Fri Jul 07 19:08:31 GMT+05:30 2006
[INFO] Final Memory: 11M/20M
[INFO]
------------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5217462
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven findbugs Settings
Posted by Janhavi Phirke <ja...@gmail.com>.
please add following in your pom.xml:
<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>
Point the repository to the http://snapshots.maven.codehaus.org/maven2 and
dependency for jaxen is added since I was getting an error for dom4j for
jaxen. For the same, I have commented/removed the <optional> tag for the
jaxen in pom file of dom4j (i.e. dom4j-1.6.1.pom) from my local repository.
Try this....
On 7/7/06, Jeff Jensen <je...@upstairstechnology.com> wrote:
>
> The SourceForge plugins are for Maven 1.x, not 2.x.
>
>
> -----Original Message-----
> From: tulasi [mailto:tulasidhar.vasa@realsoftinc.com]
> Sent: Friday, July 07, 2006 7:32 AM
> To: users@maven.apache.org
> Subject: RE: Maven findbugs Settings
>
>
> Dear friends,
>
> its not working.. i have tried like this <reporting>
> <plugin>
> <groupId>maven-findbugs</groupId>
> <artifactId>maven-findbugs-plugin</artifactId>
> </plugin>
> </reporting
>
> --
> View this message in context:
> http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216460
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
RE: Maven findbugs Settings
Posted by tulasi <tu...@realsoftinc.com>.
for Maven 2.0 .
Any FindBugs plugin and also plz give me configuration
Thanks in advance
tulsi
--
View this message in context: http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216921
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven findbugs Settings
Posted by Jeff Jensen <je...@upstairstechnology.com>.
The SourceForge plugins are for Maven 1.x, not 2.x.
-----Original Message-----
From: tulasi [mailto:tulasidhar.vasa@realsoftinc.com]
Sent: Friday, July 07, 2006 7:32 AM
To: users@maven.apache.org
Subject: RE: Maven findbugs Settings
Dear friends,
its not working.. i have tried like this <reporting>
<plugin>
<groupId>maven-findbugs</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
</plugin>
</reporting
--
View this message in context:
http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216460
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven findbugs Settings
Posted by tulasi <tu...@realsoftinc.com>.
Dear friends,
its not working.. i have tried like this
<reporting>
<plugin>
<groupId>maven-findbugs</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
</plugin>
</reporting
--
View this message in context: http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216460
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Maven findbugs Settings
Posted by Jeff Jensen <je...@upstairstechnology.com>.
In the reports section, add an entry like other reports:
</reports>
...
<report>maven-findbugs-plugin</report>
...
</reports>
(I will add this to the docs - thanks).
-----Original Message-----
From: tulasi [mailto:tulasidhar.vasa@realsoftinc.com]
Sent: Friday, July 07, 2006 7:07 AM
To: users@maven.apache.org
Subject: Maven findbugs Settings
Hi,
Any know how to configure maven-findbugs-plugin (sourceforge pulgin) for
site generation.
Thanks & Regards,
Tulasi
--
View this message in context:
http://www.nabble.com/Maven-findbugs-Settings-tf1906038.html#a5216122
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org