directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norval Hope" <nrh...@gmail.com>
Subject Re: Maven repository problem
Date Wed, 22 Nov 2006 00:22:49 GMT
Thanks. Your work around got my "mvn clean" working (how high tech ;-)

Unfortunately "mvn -e install" now fails with:

[INFO] -------------------------------------------------------------------------
---
[INFO] Building Maven OSGi Plugin
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up
dates from snapshots
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-reso
urces-plugin' could not be retrieved from repository: snapshots due to an error:
 Error transferring file
[INFO] Repository 'snapshots' will be blacklisted
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for up
dates from apache.snapshots
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-reso
urces-plugin' could not be retrieved from repository: apache.snapshots due to an
 error: Error transferring file
[INFO] Repository 'apache.snapshots' will be blacklisted
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-a
pi/1.5.1/plexus-compiler-api-1.5.1.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.plexus:plexus-compiler-api

Reason: Error getting POM for 'org.codehaus.plexus:plexus-compiler-api' from the
 repository: Error transferring file
  org.codehaus.plexus:plexus-compiler-api:pom:1.5.1

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



[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency
 information: Unable to read the metadata file for artifact 'org.codehaus.plexus
:plexus-compiler-api:jar': Error getting POM for 'org.codehaus.plexus:plexus-com
piler-api' from the repository: Error transferring file
  org.codehaus.plexus:plexus-compiler-api:pom:1.5.1

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

  org.codehaus.plexus:plexus-compiler-api:jar:1.5.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
        1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:551)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

etc

so does this mean that the plexus plug-in also has a problem, or does
the error message sound like some sort of transient network problem?

Thanks

Mime
View raw message