:grails-clean FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':grails-clean'.
> Could not resolve all dependencies for configuration ':test'.
> Could not resolve >
<e:rg="org.codehaus.groo:ule="groovy-a.
Required by:
org.gradle.bugs.example:gradle-ivy-writer-bug:0.1 > org.grails:grails-dependencies:2.2.4
> Illegal character in path at index 35: http://repo.grails.org/grails/repo/>
<e/rg="org.codehaus.groo/ule="groovy-a/rg="org.codehaus.groo-ule="groovy-a.pom
> Illegal character in path at index 34: http://repo.springsource.org/repo/>
<e/rg="org.codehaus.groo/ule="groovy-a/rg="org.codehaus.groo-ule="groovy-a.pom
> Illegal character in path at index 30: http://repo1.maven.org/maven2/>
<e/rg="org.codehaus.groo/ule="groovy-a/rg="org.codehaus.groo-ule="groovy-a.pom
You can find all the affected ivy.xml files by grepping the following
Not sure what’s the original problem because the xml snippets that you compare in this post look exactly the same to me. If you refer to escaping illegal characters in 1.10 then this is correct behavior and those chars should be escaped.
This problem might be related to the fact that 1.10 generates ivy xmls with xml v1.1. schema (e.g. the xml preamble has changed). I’ve verified that there are some issues parsing those ivy files by standard java tools based on xerces. Basically, the parsing is not reliable. Therefore in Gradle 1.11, we will change this back and generate ivy files (and junit xml results, too) back with xml schema 1.0. Please follow this ticket: http://issues.gradle.org/browse/GRADLE-2987
It appears that ‘forurms.gradle.org’ doesn’t render raw xml as raw and changes things like > to just > The github.com link to the README renders the example XML differences correctly.