What version of Maven are you using?

You have an old version of the project reports that is not compatible.

- Brett

On 9/22/05, Pablo Muñiz <[EMAIL PROTECTED]> wrote:
> If I include <reports> tag around the two reports I get the following error
>
> [ERROR] BUILD ERROR
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [INFO] Diagnosis: Error getting reports
> [INFO] 
> -------------------------------------------------------------------------
> ---
> [ERROR] Cause:
> org.apache.maven.plugin.MojoExecutionException: Error getting reports
>         at org.apache.maven.doxia.DoxiaMojo.getReports(DoxiaMojo.java:1112)
>         at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:237)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:357)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:479)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:460)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:442)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>         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:324)
>         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)
> Caused by: org.apache.maven.plugin.PluginManagerException: Error looking up 
> plugin:
>         at 
> org.apache.maven.plugin.DefaultPluginManager.getReports(DefaultPluginManager.java:443)
>         at org.apache.maven.doxia.DoxiaMojo.getReports(DoxiaMojo.java:1104)
>         ... 17 more
> Caused by: 
> org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
> Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven
> .plugins:maven-project-info-reports-plugin:2.0-alpha-1:dependencies', it 
> could not be created
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:312)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:417)
> ....
>
>
> Could you please send me a working example of how to use 
> maven-project-info-reports-plugin ?
>
> Thanks in advance.
>
> Best regards,
>
> Pablo.
>
>
> >Missing <reports> around the two reports. beta-1 gives an appropriate
> >error for this.
> >
> >- Brett
> >
> >On 9/22/05, Pablo Muñiz <[EMAIL PROTECTED]> wrote:
> > Hi all !!
> >
> >     I'm trying to include report generation in my project by using
> > maven-project-info-reports-plugin. Bellow you can see a snippet of pom.xml
> >
> >     <reporting>
> >         <plugins>
> >             <plugin>
> >                 <artifactId>
> >                     maven-project-info-reports-plugin
> >                 </artifactId>
> >                 <reportSets>
> >                     <reportSet>
> >                         <report>dependencies</report>
> >                         <report>license</report>
> >                     </reportSet>
> >                 </reportSets>
> >             </plugin>
> >             <plugin>
> >                 <artifactId>
> >                     maven-checkstyle-plugin
> >                 </artifactId>
> >             </plugin>
> >         </plugins>
> >     </reporting>
> >
> > Although chekstyle report is generated, nothing happens with
> > dependencies or license report.
> >
> > Any ideas with what is wrong?
> >
> > Thanks in advance.
> >
> > Best regards,
> >
> > Pablo.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to