Are you sure it's a maven 2 plugin ? ;-) (I think no) - Olivier
-----Message d'origine----- De : Leo L [mailto:[EMAIL PROTECTED] Envoyé : mercredi 10 mai 2006 14:18 À : users@maven.apache.org Objet : NullPointException - Maven 2 with plugin statcvs Hi, I have a NullPointerException with de plugin statcvs and I don´t known how to solve it... My pom.xml is like this <project ... <build> <sourceDirectory>${basedir}\src</sourceDirectory> <plugins> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.12</version> </dependency> </dependencies> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> <version>2.0-beta-1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.0-beta-1</version> <configuration> <targetJdk>1.5</targetJdk> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins </groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.0-beta-1</version> <configuration> <targetJdk> 1.5</targetJdk> </configuration> </plugin> <plugin> <groupId>statcvs</groupId> <artifactId>maven-statcvs-plugin</artifactId> <version>2.6</version> </plugin> </plugins> </reporting> </project> ...and, when a run de command mvn -e site i have the exception (above is the full description): [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin (DefaultPluginM anager.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin (De faultPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin (Defau ltPluginManager.java:487) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugi n(DefaultLifecycleExecutor.java:1292) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports (Defaul tLifecycleExecutor.java:657) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(Defaul tLifecycleExecutor.java:637) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.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(DelegatingMethodAcces sorImpl.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: 13 seconds [INFO] Finished at: Tue May 09 15:19:46 GMT-03:00 2006 [INFO] Final Memory: 9M/18M [INFO] ------------------------------------------------------------------------ Any clue???? Can anyone help me? Thanks Léo This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -------------------------------------------------------------------------------------------------------------- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]