[GRADLE-3011] Gradle could not parse POM for com/rackspace/papi/commons/utilities/2.3.6/utilities-2.3.6.pom Created: 30/Jan/14  Updated: 28/Aug/14  Resolved: 05/Aug/14

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.12-rc-1

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 1


 Description   

Builds fail with 1.10 - with 1.8 this seems to work just fine.
Stacktrace fragment:
Caused by: org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.UnresolvedDependencyVersionException: Unable to resolve version for dependency 'org.springframework:spring-core:jar'
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorBuilder.determineVersion(GradlePomModuleDescriptorBuilder.java:318)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorBuilder.addDependency(GradlePomModuleDescriptorBuilder.java:237)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.doParsePom(GradlePomModuleDescriptorParser.java:135)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.doParseDescriptor(GradlePomModuleDescriptorParser.java:61)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:44)

The pom is here for reference: [1]https://gist.github.com/anonymous/870...
----------------------------------------------------------------------------------------
[1] https://gist.github.com/anonymous/8709435



 Comments   
Comment by Gradle Forums [ 30/Jan/14 ]

Can you try with latest nightly?

Comment by Gradle Forums [ 30/Jan/14 ]

I surely will - thanks for the prompt response - you guys are amazing!

Comment by Gradle Forums [ 30/Jan/14 ]

Peter, the build still fails with the same error.

./gradlew --version

------------------------------------------------------------
Gradle 1.12-20140129231352+0000
------------------------------------------------------------

Build time: 2014-01-29 23:13:52 UTC
Build number: none
Revision: a831fa866d46cbee94e61a09af15f9dd95987421

Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy: 2.2.0
JVM: 1.7.0_11 (Oracle Corporation 23.6-b04)
OS: Mac OS X 10.9.1 x86_64

Comment by Benjamin Muschko [ 05/Aug/14 ]

One of the parent POMs provided dependencies as part of a profile marked as activeByDefault. As of Gradle 1.12 Gradle parses profiles that are active by default.

Generated at Wed Jun 30 12:37:29 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.