[GRADLE-406] possible bug around transitive dependencies Created: 19/Feb/09 Updated: 04/Jan/13 Resolved: 07/Apr/09
|Reporter:||Szczepan Faber||Assignee:||Hans Dockter|
Possible bug around transitive dependencies or my misunderstanding of gradle.
Gradle doesn't seem to download commons-collections:commons-collections:jar:3.1 which is a transitive dependency of velocity 1.5
Attached zip contains tiny project that has pom.xml and build.gradle (both are essentially the same). 'mvn test' builds fine (amazingly...) but 'gradle test' fails. One of the tests fails because commons-collections is not on the classpath. It seems commons-collections should be on the classpath because it is a transitive dependency of velocity.
|Comment by Hans Dockter [ 07/Apr/09 ]|
Hi Szczepan, the velocity pom in the maven repository is faulty. It sets its packaging to pom instead of jar. Therefore Ivy (and Gradle) can't deal with it.
Maven seems to swallow this bug. Ivy spends a lot of effort in becoming very compatible with Maven. But there are warts which are hard to reengineer . Someone told me me that the policy for mavenCentral has changed. According to this person, they will allow now for fixing existing buggy poms.