On 5 October 2010 04:09, Benjamin Bentmann <benjamin.bentm...@udo.edu> wrote:
> Hilco Wijbenga wrote:
>>       <repositories>
>>         <repository>
>>           <id>central</id>
>>           <url>http://central</url>
>>           <releases>
>>             <enabled>true</enabled>
>>           </releases>
>>           <snapshots>
>>             <enabled>true</enabled>
>>           </snapshots>
>>         </repository>
>>       </repositories>
>
> From this, it appears to be a bug in Maven 2 since your mirror should be
> contacted for snapshots.
>
>> What would get Maven to "disable repository central"?
>
> Might be something goes wrong with the override of central which prevents
> the snapshots=true policy from being applied.

Okay, some more information. I tried it after having removed the
entire com/xyz directory: Maven (2.2.1) downloads two POMs, one
release and one snapshot before failing to download the
test-dependencies-pom again.

Note how it first downloads the 0.0.7-SNAPSHOT POM for xyz-project
just before logging "Skipping disabled repository central".

[DEBUG] Connecting to repository: 'all-mirror' with url:
'http://www.xyz.com/nexus/content/groups/public'.
Downloading: 
http://www.xyz.com/nexus/content/groups/public/com/xyz/lp/xyz-project/0.0.7-SNAPSHOT/xyz-project-0.0.7-20101002.070000-2.pom
[DEBUG] attempting to create parent directories for destination:
xyz-project-0.0.7-20101002.070000-2.pom.tmp
4K downloaded  (xyz-project-0.0.7-20101002.070000-2.pom)
[DEBUG] Using Wagon implementation lightweight from default mapping
for protocol http
[DEBUG]   Artifact resolved
[DEBUG] Skipping disabled repository central
[DEBUG] test-dependencies-pom: using locally installed snapshot
[DEBUG] Skipping disabled repository central
[DEBUG] Using mirror: http://www.xyz.com/nexus/content/groups/public
(id: all-mirror)

Maven thinks it has already downloaded test-dependencies-pom? Would
"Artifact resolved" refer to test-dependencies-pom or simply to
xyz-project? Is this related to Wagon? Or is there "incorrect"
metadata in my remote repository (where "incorrect" means, correct for
Maven 3 but unpalatable to Maven 2)?
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 11:16:01-0800)
Java version: 1.6.0_21
Java home: /opt/sun-jdk-1.6.0.21/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-gentoo-r9" arch: "i386" Family: "unix"
[DEBUG] Building Maven user-level plugin registry from: 
'/home/hilco/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'/home/hilco/bin/maven/current/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: com.xyz:xyz-pom:pom:7 of project: 
com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT in relative path: ../pom.xml
[DEBUG] Parent-POM: com.xyz:xyz-pom:pom:7 not found in relative path: ../pom.xml
[DEBUG] Retrieving parent-POM: com.xyz:xyz-pom:pom:7 for project: 
com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT from the repository.
[DEBUG] Trying repository central
[DEBUG] Using mirror: http://www.xyz.com/nexus/content/groups/public (id: 
all-mirror)
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'all-mirror' with url: 
'http://www.xyz.com/nexus/content/groups/public'.
Downloading: 
http://www.xyz.com/nexus/content/groups/public/com/xyz/xyz-pom/7/xyz-pom-7.pom
[DEBUG] attempting to create parent directories for destination: 
xyz-pom-7.pom.tmp
1/13K
2/13K
5/13K
6/13K
8/13K
9/13K
10/13K
12/13K
13/13K
13K downloaded  (xyz-pom-7.pom)
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG]   Artifact resolved
[DEBUG] Adding extension: org.apache.maven.model.extens...@4b19aed2
[DEBUG] Initialising extension: org.jvnet.wagon-svn:wagon-svn
[DEBUG] com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT (selected for null)
[DEBUG]   org.jvnet.wagon-svn:wagon-svn:jar:1.9:runtime (selected for runtime)
[DEBUG]     org.jvnet.hudson.svnkit:svnkit:jar:1.1.4-hudson-4:runtime (selected 
for runtime)
[DEBUG]       ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.11 for 
project: null:plexus-utils:jar:1.4.1 from the repository.
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven.wagon:wagon:pom:1.0-beta-2 for 
project: null:wagon-provider-api:jar:1.0-beta-2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:4 for project: 
org.apache.maven.wagon:wagon:pom:1.0-beta-2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project: 
org.apache.maven:maven-parent:pom:4 from the repository.
[DEBUG] Adding managed dependencies for unknown:wagon-provider-api
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
[DEBUG]   junit:junit:jar:3.8.1
[DEBUG]   org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]     org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime 
(selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - 
nearer found: 1.4.1)
[DEBUG]   org.jvnet.hudson.svnkit:svnkit:jar:1.1.4-hudson-4:runtime (selected 
for runtime)
[DEBUG]     ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime (selected for 
runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (selected for 
runtime)
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime 
(selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - 
nearer found: 1.4.1)
[DEBUG] Adding to extension classpath: 
/home/hilco/.m2/repository/org/jvnet/wagon-svn/wagon-svn/1.9/wagon-svn-1.9.jar
[DEBUG] Adding to extension classpath: 
/home/hilco/.m2/repository/org/jvnet/hudson/svnkit/svnkit/1.1.4-hudson-4/svnkit-1.1.4-hudson-4.jar
[DEBUG] Adding to extension classpath: 
/home/hilco/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
[DEBUG] Adding to extension classpath: 
/home/hilco/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar
[DEBUG] Extension container contents:
-----------------------------------------------------
this realm = plexus.core.child-container[extensions]
urls[0] = 
file:/home/hilco/.m2/repository/org/jvnet/wagon-svn/wagon-svn/1.9/wagon-svn-1.9.jar
urls[1] = 
file:/home/hilco/.m2/repository/org/jvnet/hudson/svnkit/svnkit/1.1.4-hudson-4/svnkit-1.1.4-hudson-4.jar
urls[2] = 
file:/home/hilco/.m2/repository/ch/ethz/ganymed/ganymed-ssh2/build210/ganymed-ssh2-build210.jar
urls[3] = 
file:/home/hilco/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.1/plexus-utils-1.4.1.jar
Number of imports: 0


this realm = plexus.core
urls[0] = file:/home/hilco/bin/maven/current/lib/maven-2.2.1-uber.jar
Number of imports: 0
-----------------------------------------------------
[DEBUG] Wagons to register: [https, scp, https-httpclient, scpexe, sftp, 
http-lightweight, svn, dav+https, java-net, http-httpclient, https-lightweight, 
dav+http, http, file, davs, dav]
[INFO] ------------------------------------------------------------------------
[INFO] Building Lifestyle Planner Integration
[INFO]    task-segment: [clean, verify]
[INFO] ------------------------------------------------------------------------
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:18 
for project: null:maven-clean-plugin:maven-plugin:2.4.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:16 for 
project: org.apache.maven.plugins:maven-plugins:pom:18 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:7 for project: 
org.apache.maven:maven-parent:pom:16 from the repository.
[DEBUG] Retrieving parent-POM: 
org.apache.maven.enforcer:enforcer:pom:1.0-beta-1 for project: 
org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0-beta-1 from the 
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:11 for 
project: org.apache.maven.enforcer:enforcer:pom:1.0-beta-1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:5 for project: 
org.apache.maven:maven-parent:pom:11 from the repository.
[DEBUG] Adding managed dependencies for 
org.apache.maven.plugins:maven-enforcer-plugin
[DEBUG]   org.apache.maven.enforcer:enforcer-api:jar:1.0-beta-1
[DEBUG]   org.apache.maven.enforcer:enforcer-rules:jar:1.0-beta-1
[DEBUG]   
org.apache.maven.enforcer:enforcer-rules:test-jar:tests:1.0-beta-1:test
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG]   org.apache.maven:maven-project:jar:2.0.9
[DEBUG]   org.apache.maven:maven-core:jar:2.0.9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.8
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   commons-lang:commons-lang:jar:2.3
[DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:test
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:14 
for project: null:maven-invoker-plugin:maven-plugin:1.5 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:13 for 
project: org.apache.maven.plugins:maven-plugins:pom:14 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache:pom:6 for project: 
org.apache.maven:maven-parent:pom:13 from the repository.
[DEBUG] Plugin dependencies for:

org.apache.maven.plugins:maven-clean-plugin:2.4.1

are:

org.apache.maven:maven-plugin-api:jar:2.0.6:runtime
org.codehaus.plexus:plexus-utils:jar:2.0.5:runtime


[DEBUG] org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.4.1:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven:pom:2.0.6 for project: 
null:maven-plugin-api:jar:null from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for project: 
null:maven:pom:2.0.6 from the repository.
[DEBUG] Adding managed dependencies for unknown:maven-plugin-api
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:2.0.6 for 
project: null:plexus-utils:jar:2.0.5 from the repository.
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:2.0.5:runtime (selected for 
runtime)
[DEBUG]  The following artifacts were filtered out for plugin: 
org.apache.maven.plugins:maven-clean-plugin:2.4.1 because they're already in 
the core of Maven:

org.apache.maven:maven-plugin-api:jar:2.0.6:runtime

These will use the artifact files already in the core ClassRealm instead, to 
allow them to be included in PluginDescriptor.getArtifacts().


[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean' -->
[DEBUG]   (f) directory = 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/classes
[DEBUG]   (f) reportDirectory = 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/site
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/test-classes
[DEBUG] -- end configuration --
[INFO] [clean:clean {execution: default-clean}]
[DEBUG] Skipping non-existing directory 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target
[DEBUG] Skipping non-existing directory 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/classes
[DEBUG] Skipping non-existing directory 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/test-classes
[DEBUG] Skipping non-existing directory 
/mnt/lacie/workspaces/xyz-workspace/xyz-project-integration/target/site
[DEBUG] com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT (selected for null)
[INFO] snapshot com.xyz.lp:xyz-project:0.0.7-SNAPSHOT: checking for updates 
from central
[DEBUG] Using mirror: http://www.xyz.com/nexus/content/groups/public (id: 
all-mirror)
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'all-mirror' with url: 
'http://www.xyz.com/nexus/content/groups/public'.
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] xyz-project: resolved to version 0.0.7-20101002.070000-2 from 
repository central
[DEBUG] Trying repository central
[DEBUG] Using mirror: http://www.xyz.com/nexus/content/groups/public (id: 
all-mirror)
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG] Checking for pre-existing User-Agent configuration.
[DEBUG] Adding User-Agent configuration.
[DEBUG] Connecting to repository: 'all-mirror' with url: 
'http://www.xyz.com/nexus/content/groups/public'.
Downloading: 
http://www.xyz.com/nexus/content/groups/public/com/xyz/lp/xyz-project/0.0.7-SNAPSHOT/xyz-project-0.0.7-20101002.070000-2.pom
[DEBUG] attempting to create parent directories for destination: 
xyz-project-0.0.7-20101002.070000-2.pom.tmp
1/4K
2/4K
3/4K
4/4K
4K downloaded  (xyz-project-0.0.7-20101002.070000-2.pom)
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[DEBUG]   Artifact resolved
[DEBUG] Skipping disabled repository central
[DEBUG] test-dependencies-pom: using locally installed snapshot
[DEBUG] Skipping disabled repository central
[DEBUG] Using mirror: http://www.xyz.com/nexus/content/groups/public (id: 
all-mirror)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: com.xyz:test-dependencies-pom

Reason: POM 'com.xyz:test-dependencies-pom' not found in repository: Unable to 
download the artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)

 for project com.xyz:test-dependencies-pom


[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.xyz.lp:xyz-project:war': POM 'com.xyz:test-dependencies-pom' not found in 
repository: Unable to download the artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)

 for project com.xyz:test-dependencies-pom
  com.xyz.lp:xyz-project:war:0.0.7-SNAPSHOT

from the specified remote repositories:
  central (http://central)

Path to dependency: 
        1) com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT


        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: 
Unable to get dependency information: Unable to read the metadata file for 
artifact 'com.xyz.lp:xyz-project:war': POM 'com.xyz:test-dependencies-pom' not 
found in repository: Unable to download the artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)

 for project com.xyz:test-dependencies-pom
  com.xyz.lp:xyz-project:war:0.0.7-SNAPSHOT

from the specified remote repositories:
  central (http://central)

Path to dependency: 
        1) com.xyz.lp:xyz-project-integration:pom:0.1-SNAPSHOT


        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
        at 
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
Caused by: 
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable 
to read the metadata file for artifact 'com.xyz.lp:xyz-project:war': POM 
'com.xyz:test-dependencies-pom' not found in repository: Unable to download the 
artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)

 for project com.xyz:test-dependencies-pom
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
        ... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 
'com.xyz:test-dependencies-pom' not found in repository: Unable to download the 
artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)

 for project com.xyz:test-dependencies-pom
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
        at 
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
        ... 25 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable 
to download the artifact from any repository

  com.xyz:test-dependencies-pom:pom:5-SNAPSHOT

from the specified remote repositories:
  all-mirror (http://www.xyz.com/nexus/content/groups/public)


        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
        at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
        ... 31 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
        at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
        ... 33 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Oct 05 08:32:02 GMT-08:00 2010
[INFO] Final Memory: 7M/97M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to