Hi Tony,
The jdepend plugin is not yet in the central repo. It hasn't been
released yet but you can download the source at
https://svn.codehaus.org/mojo/trunk/mojo/jdepend-maven-plugin/,
build it yourself and install it in your local repo.
Thanks,
Odea
tony nys wrote:
Hi
I try to generate a sample jdepend report on a new
default project generated by the archetype:create
I have added the report configuration as document on
codehaus website, but when I run site:site or
jdepend:generate, it cannot find the plugin.
When I Look manually on the repository
http://www.ibiblio.org/maven2/org/codehaus/mojo/
I cannot find it either.
error:
[INFO] Failed to resolve artifact.
GroupId: org.codehaus.mojo
ArtifactId: jdepend-maven-plugin
Version: 1.0-SNAPSHOT
Reason: Unable to download the artifact from any
repository
org.codehaus.mojo:jdepend-maven-plugin:pom:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException:
Unable to build project for plugin 'org.codehaus.mojo:
jdepend-maven-plugin': POM
'org.codehaus.mojo:jdepend-maven-plugin' not found in
repository: Unable to downloa
d the artifact from any repository
org.codehaus.mojo:jdepend-maven-plugin:pom:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
this is my pom
<project...
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
</plugins>
</reporting>
</project>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
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]