I think I sort of know what the problem is. The parent poms are currently versioned at 0.5 in trunk and all the other projects reference it as 0.5-SNAPSHOT. I assume this relates to the release work going on, but is there any chance this can be fixed?
Thanks Alasdair On 16 October 2011 19:25, Alasdair Nottingham <[email protected]> wrote: > I'm still not having any luck. I've removed my local m2 repo, rebuild > parent and I'm still getting this problem. I guess I could try to do another > checkout. > > Alasdair > > > On 14 October 2011 16:23, John W Ross <[email protected]> wrote: > >> I suddenly started hitting a similar issue a few moments ago, although I >> did not do an svn update prior to its appearance. >> >> [ERROR] >> Failed to execute goal on project org.apache.aries.subsystem.core: >> Could not resolve dependencies for project >> >> org.apache.aries.subsystem:org.apache.aries.subsystem.core:bundle:0.1-SNAPSHOT: >> >> Failed to collect dependencies for [ >> >> org.apache.aries.subsystem:org.apache.aries.subsystem.api:jar:0.1-SNAPSHOT >> (compile), >> org.apache.aries:org.apache.aries.util:jar:0.4-SNAPSHOT (compile), >> >> >> >> org.apache.aries.application:org.apache.aries.application.api:jar:0.3.1-SNAPSHOT >> (compile), >> >> >> org.apache.aries.application:org.apache.aries.application.utils:jar:0.3.1-SNAPSHOT >> (compile), >> org.eclipse:osgi:jar:3.8.0-SNAPSHOT (provided), >> org.eclipse.equinox:coordinator:jar:1.0.0.v20110314 (compile), >> org.eclipse.equinox:region:jar:1.0.0.v20110506 (compile), >> org.apache.felix:org.apache.felix.utils:jar:1.1.0 (compile), >> org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.4 >> (compile), >> >> >> org.apache.aries.testsupport:org.apache.aries.testsupport.unit:jar:0.4-SNAPSHOT >> (test), >> org.slf4j:slf4j-simple:jar:1.5.11 (test), >> org.slf4j:slf4j-api:jar:1.5.11 (compile), >> junit:junit:jar:4.8.1 (test)]: >> Failed to read artifact descriptor for >> >> org.apache.aries.testsupport:org.apache.aries.testsupport.unit:jar:0.4-SNAPSHOT: >> >> Failure to find org.apache.aries:java5-parent:pom:0.5 in >> http://repo1.maven.org/maven2 was cached in the local repository, >> resolution will not be reattempted until the update interval of central >> has elapsed or updates are forced -> [Help 1] >> >> The key was apparently "Failure to find >> org.apache.aries:java5-parent:pom:0.5". I noticed I did not have a pom >> file within my local m2 repo under org/apache/aries/java5-parent/0.5. I >> did an svn update followed by an mvn clean install within the aries/parent >> directory, which produced the absent pom file. I am now able to >> successfully execute the goal that was previously failing. >> >> ~ John >> >> > >> > Subject >> > >> > Problem building aries >> > >> > Hi, >> > >> > I've just done an svn up and nothing will build. I get the following >> > exception: >> > >> > [INFO] Scanning for projects... >> > [ERROR] The build could not read 4 projects -> [Help 1] >> > [ERROR] >> > [ERROR] The project >> > >> >> org.apache.aries.application:org.apache.aries.application.api:0.3.1-SNAPSHOT >> > (/Users/nottinga/Documents/apache/aries/trunk/application/ >> > application-api/pom.xml) >> > has 1 error >> > [ERROR] Non-resolvable parent POM: Could not find artifact >> > org.apache.aries:java5-parent:pom:0.5-SNAPSHOT and 'parent.relativePath' >> > points at wrong local POM @ line 21, column 13 -> [Help 2] >> > [ERROR] >> > [ERROR] The project >> > >> >> org.apache.aries.application:org.apache.aries.application.utils:0.3.1-SNAPSHOT >> > (/Users/nottinga/Documents/apache/aries/trunk/application/ >> > application-utils/pom.xml) >> > has 1 error >> > [ERROR] Non-resolvable parent POM: Could not find artifact >> > org.apache.aries:java5-parent:pom:0.5-SNAPSHOT and 'parent.relativePath' >> > points at no local POM @ line 21, column 13 -> [Help 2] >> > [ERROR] >> > [ERROR] The project >> > org.apache.aries.application:org.apache.aries.application.modeller: >> > 0.3.1-SNAPSHOT >> > (/Users/nottinga/Documents/apache/aries/trunk/application/ >> > application-modeller/pom.xml) >> > has 1 error >> > [ERROR] Non-resolvable parent POM: Could not find artifact >> > org.apache.aries:java5-parent:pom:0.5-SNAPSHOT and 'parent.relativePath' >> > points at no local POM @ line 21, column 13 -> [Help 2] >> > [ERROR] >> > [ERROR] The project >> > >> >> org.apache.aries.application:application-modeller-standalone:0.3.1-SNAPSHOT >> > (/Users/nottinga/Documents/apache/aries/trunk/application/ >> > application-modeller-standalone/pom.xml) >> > has 1 error >> > [ERROR] Non-resolvable parent POM: Could not find artifact >> > org.apache.aries:java5-parent:pom:0.5-SNAPSHOT and 'parent.relativePath' >> > points at no local POM @ line 21, column 13 -> [Help 2] >> > [ERROR] >> > [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e >> > switch. >> > [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> > [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 >> >> > >> > does anyone know what the problem might be? >> > >> > maven -version shows this: >> > >> > Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000) >> > Maven home: /usr/share/maven >> > Java version: 1.6.0_26, vendor: Apple Inc. >> > Java home: >> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home >> > Default locale: en_US, platform encoding: MacRoman >> > OS name: "mac os x", version: "10.7.2", arch: "x86_64", family: "mac" >> > >> > -- >> > Alasdair Nottingham >> > [email protected] >> >> > > > -- > Alasdair Nottingham > [email protected] > -- Alasdair Nottingham [email protected]
