I can't see anything obvious in your config, and ibiblio does have the
file:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/m
aven-dependency-plugin/2.0/

So either there is bad metadata in your local repo, or you have some
connection problem/firewall etc.

-----Original Message-----
From: thomas2004 [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 12:54 PM
To: users@maven.apache.org
Subject: Unable to download
"org.apache.maven.plugins:maven-dependency-plugin:pom:2.0"


Hi all, the following is my pom.xml. As I run mvn clean I got error:

[code]
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-dependency-plugin
Version: 2.0

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-dependency-plugin:pom:2.0

from the specified remote repositories:
  ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Fri Sep 05 18:44:00 CEST 2008
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

[/code]

My "pom.xml":
[code]
        <build>
                <plugins>
                        <plugin>
        
<artifactId>maven-dependency-plugin</artifactId>
                                <executions>
                                        <execution>
        
<id>copy-dependencies</id>
                                                <phase>package</phase>
                                                <goals>
        
<goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
        
<excludeScope>provided</excludeScope>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
        
<artifactId>maven-assembly-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>make-assembly</id>
                                                <phase>package</phase>
                                                <goals>
        
<goal>attached</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <descriptors>
        
<descriptor>assembly.xml</descriptor>
                                        </descriptors>
                                </configuration>
                        </plugin>
                        <plugin>
        
<artifactId>maven-war-plugin</artifactId>
                                <configuration>
                                        <archive>
                                                <manifest>
        
<addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
        
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
[/code]
-- 
View this message in context:
http://www.nabble.com/Unable-to-download-%22org.apache.maven.plugins%3Am
aven-dependency-plugin%3Apom%3A2.0%22-tp19335385p19335385.html
Sent from the Maven - Users mailing list archive at Nabble.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]

Reply via email to