maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo L" <leo.ma...@gmail.com>
Subject Re: RE : RE : NullPointException - Maven 2 with plugin statcvs
Date Wed, 10 May 2006 14:52:17 GMT
Thanks again Oliver...
I´m convinced now that statcvs is not yet for Maven 2. But i think is
missing information in the site, don´t u think? None information about
statcvs for maven 2.
I´ll see what i can do...

Thanks for findbugs, i´ll test that configuration...

Leo


2006/5/10, Olivier Lamy <olivier.lamy@accor.com>:
>
> Look at http://statcvs-xml.berlios.de/maven-plugin/
> You will see it's not a maven2 plugin.
> For findbug have a look :
> http://mojo.codehaus.org/findbugs-maven-plugin/howto.html
>
> - Olivier
>
> -----Message d'origine-----
> De : Leo L [mailto:leo.maven@gmail.com]
> Envoyé : mercredi 10 mai 2006 16:34
> À : Maven Users List
> Objet : Re: RE : NullPointException - Maven 2 with plugin statcvs
>
>
> Hi Oliver!
> It´s a maven´s 2 plugins.
> It´s available in http://www.ibiblio.org/maven2/statcvs, but i realize
> that is not a statcvs problem. I tested with findbugs plugin, and i
> getting the same error. I don´t known what happend. When I put these
> plugins in <reporting> tag in my pom.xml
>
>        <plugin>
>          <groupId>statcvs</groupId>
>          <artifactId>maven-statcvs-plugin</artifactId>
>          <version>2.6</version>
>        </plugin>
>
> and or,
>
>       <plugin>
>          <groupId>findbugs</groupId>
>          <artifactId>findbugs</artifactId>
>          <version>0.9.6</version>
>        </plugin>
>
> That exception occur:
>
>
> [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 help would be great!!!
>
> Thanks anyway...
>
> Léo
>
>
>
> 2006/5/10, Olivier Lamy <olivier.lamy@accor.com>:
> >
> > Are you sure it's a maven 2 plugin ? ;-) (I think no)
> >
> > - Olivier
> >
> > -----Message d'origine-----
> > De : Leo L [mailto:leo.maven@gmail.com]
> > 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: 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message