You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lyndon Washington <ho...@gmail.com> on 2006/11/14 19:47:58 UTC

Error With dependency plugin

Greetings,

I am attempting to use maven on a project and it appears to be having
problems retrieving a plugin before it even tries to handle the project's
pom.xml.

>From the console output below, the problem seems to be with a version of
maven-dependency-plugin that is not available.  The strange thing is that
the version for the plugin is a SNAPSHOT release.

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Error Handler Example
[INFO]    task-segment: [clean]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom
703b downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.jar
5K downloaded
Downloading:
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
[WARNING] Unable to get resource from repository apache-plugin-snapshots (
http://people.apache.org/maven-snapshot-repository)
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
[WARNING] Unable to get resource from repository codehaus-snapshots (
http://snapshots.repository.codehaus.org)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

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

Reason: Unable to download the artifact from any repository

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

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  apache-plugin-snapshots (
http://people.apache.org/maven-snapshot-repository)


Cheers,
-Lyndon-

Re: Error With dependency plugin

Posted by Lyndon Washington <ho...@gmail.com>.
Oops!  I discovered that there was an explicit entry for a
'maven-dependency-plugin' that was used by the mule project, that is not
released yet.

Sorry for the post.

Cheers,
-Lyndon-


On 11/14/06, Lyndon Washington <ho...@gmail.com> wrote:
>
> Greetings,
>
> I am attempting to use maven on a project and it appears to be having
> problems retrieving a plugin before it even tries to handle the project's
> pom.xml.
>
> From the console output below, the problem seems to be with a version of
> maven-dependency-plugin that is not available.  The strange thing is that
> the version for the plugin is a SNAPSHOT release.
>
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Error Handler Example
> [INFO]    task-segment: [clean]
> [INFO]
> ----------------------------------------------------------------------------
>
> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
> updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.pom
> 703b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.1/maven-clean-plugin-2.1.jar
> 5K downloaded
> Downloading:
> http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
> [WARNING] Unable to get resource from repository apache-plugin-snapshots (
> http://people.apache.org/maven-snapshot-repository)
> Downloading:
> http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/maven-dependency-plugin-2.0-20060907.213033-3.pom
> [WARNING] Unable to get resource from repository codehaus-snapshots (
> http://snapshots.repository.codehaus.org)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-dependency-plugin
> Version: 2.0-20060907.213033-3
>
> Reason: Unable to download the artifact from any repository
>
>
> org.apache.maven.plugins:maven-dependency-plugin:pom:2.0-20060907.213033-3
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus (http://repository.codehaus.org),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org),
>   apache-plugin-snapshots (
> http://people.apache.org/maven-snapshot-repository)
>
>
> Cheers,
> -Lyndon-
>
>