[GRADLE-2743] Cannot resolve module using that adds Ivy 2.3 specific content to ivy.xml Created: 10/Apr/13 Updated: 02/Aug/13 Resolved: 02/Aug/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.8 |
Type: | Bug | ||
Reporter: | Daz DeBoer | Assignee: | Luke Daley |
Resolution: | Fixed | Votes: | 1 |
Description |
According to the XSD at http://ant.apache.org/ivy/schemas/ivy.xsd and the documentation at https://ant.apache.org/ivy/history/2.3.0/ivyfile/info.html, zero or more ivyauthor tags should be allowed. It looks like the repository element should also be allowed as a child of the info element too. I noticed that org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.IvyXmlModuleDescriptorParser was originally copied from http://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/XmlModuleDescriptorParser.java but doesn't contain } else if (state == State.INFO && "ivyauthor".equals(qName)) { // nothing to do, we don't store this } else if (state == State.INFO && "repository".equals(qName)) { // nothing to do, we don't store this }in startElement(String uri, String localName, String qName, Attributes attributes). Would it make sense just to add these lines to Gradle's IvyXmlModuleDescriptorParser? |
Comments |
Comment by Luke Daley [ 02/Aug/13 ] |
By this pull request contribution: https://github.com/gradle/gradle/pull/177 |