I'm sure I has this problem too but I can't remember how I fixed it.
Could you post your pom.xml please ?
Joern Huxhorn a écrit :
I keep getting the following error message whenever I try to use the
jdepend-plugin as described below:
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:mojo
Reason: Error getting POM for 'org.codehaus.mojo:mojo' from the
repository: Error transferring file
org.codehaus.mojo:mojo:pom:6
from the specified remote repositories:
Maven Snapshots (http://snapshots.maven.codehaus.org/maven2),
central (http://repo1.maven.org/maven2),
mirror (http://www.ibiblio.org/maven2),
lsuedu (http://ibiblio.lsu.edu/main/pub/packages/maven2),
[local repos] (file://///nix/mvn_repos)
Any ideas how to fix this?
Joern.
Boris Lenzinger wrote:
I have a working setup for jdepend. Here are my sections:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-1-SNAPSHOT</version>
</plugin>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<url>http://repo1.maven.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
<pluginRepository>
<id>CodeHaus</id>
<name></name>
<url>http://snapshots.maven.codehaus.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
Hope this helps.
Boris
---------------------------------------------------------------------
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]