maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Dashorst <martijn.dasho...@gmail.com>
Subject M3 fails to download parent pom
Date Thu, 28 Oct 2010 09:22:18 GMT
Is this a known issue?

A new company parent pom release was not downloaded by maven 3, and
hence failed to do anything with my project. Running maven 2.2.1 on
the project successfully downloaded the parent pom.

Running maven 3 gave the following output:

$ mvn -X help:effective-pom
Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
Java version: 1.6.0_20
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading user settings from /Users/dashorst/.m2/settings.xml
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Using local repository at /Users/dashorst/.m2/repository
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact
nl.topicus.onderwijs:onderwijs-project-parent:pom:1.3 and
'parent.relativePath' points at wrong local POM @ line 4, column 10

	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:325)
	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:607)
	at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:556)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:228)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]
[ERROR]   The project nl.topicus.eduarte:eduarte:2.06-SNAPSHOT
(/Users/dashorst/Workspaces/eduarte/eduarte/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
nl.topicus.onderwijs:onderwijs-project-parent:pom:1.3 and
'parent.relativePath' points at wrong local POM @ line 4, column 10 ->
[Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could
not find artifact
nl.topicus.onderwijs:onderwijs-project-parent:pom:1.3
	at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:183)
	at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:819)
	at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:354)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:305)
	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:607)
	at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:556)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:228)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not find artifact
nl.topicus.onderwijs:onderwijs-project-parent:pom:1.3
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488)
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:190)
	at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:179)
	... 21 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:
Could not find artifact
nl.topicus.onderwijs:onderwijs-project-parent:pom:1.3
	at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:479)
	... 23 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


The relevant part defining the parent:


<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>nl.topicus.onderwijs</groupId>
		<artifactId>onderwijs-project-parent</artifactId>
		<version>1.3</version>
	</parent>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message