All,

Just a question: Is the reporting example below supposed to work? If I add it 
literally to my pom.xml I get a:

Thanks,

Erwin


[INFO] [site:site]
Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-changes-plugin/1.0-SNAPSHOT/maven-changes-plugin-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository 
http://repo1.maven.org/maven2/plugins
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Diagnosis: Cannot find report plugin
[INFO] 
----------------------------------------------------------------------------
[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Cannot find report plugin
        at org.apache.maven.doxia.DoxiaMojo.getReports(DoxiaMojo.java:731)
        at org.apache.maven.doxia.DoxiaMojo.execute(DoxiaMojo.java:203)
...
Caused by: org.apache.maven.plugin.PluginNotFoundException: Mojo could not be 
found - check that the goal name is correct
  org.apache.maven.plugins:maven-changes-plugin:1.0-SNAPSHOT:maven-plugin

from the specified remote repositories:
  http://repo1.maven.org/maven2/plugins
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:236)
        at org.apache.maven.doxia.DoxiaMojo.getReports(DoxiaMojo.java:726)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: 
Unable to download the artifact from any repository
  org.apache.maven.plugins:maven-changes-plugin:1.0-SNAPSHOT:maven-plugin

from the specified remote repositories:
  http://repo1.maven.org/maven2/plugins
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:116)
        at 
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:270)
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:219)
        ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:224)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:104)
        ... 20 more
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Aug 12 09:16:34 EDT 2005
[INFO] Final Memory: 4M/7M
[INFO] 
----------------------------------------------------------------------------


> 
> To run reports on M2 you should include <reporting> tag in 
> your pom.xml. 
> See example below: 
> 
>     <reporting>
>     <plugins>
>         <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <version>1.0-SNAPSHOT</version>
>         </plugin>
>     </plugins>
>     </reporting>
> 
> To generate the reports. Do m2 site:site
> 
> I am not sure what reports are already available.  Currently under 
> development are the reports:  jdepend, surefire, taglist, 
> changes,changelog, developer activity, file activity, jira, 
> etc..   Soon 
> they will be released :)
> 
> 
> 
> 
> 
> 
> Ron Yust wrote:
> 
> >What reports are available in Maven2?  And how do you 
> specify and run them?
> >I could not locate any documentation.
> >
> > 
> >
> >
> >  
> >
> >-------------------------------------------------------------
> -----------
> >
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.0.338 / Virus Database: 267.10.5/68 - Release 
> Date: 8/10/2005
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> 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