mvlcek wrote:
I'm using a FlatFileResolver with dependencies, e.g.
compile ":cxf:2.1.+:jar"
compile ":hibernate3::jar"
You can use ':cxf:2....@jar'. However you need to provide a non-empty
revision with this format, so you won't be able to do
':hibernate3:@jar', eg you'll need something like ':hibernate3:1...@jar'.
You could use 'latest.release' or something similar as the revision.
You can also drop the @jar, but again, you'll have to provide a
non-empty revision.
The resulting ivy.xml on upload contains e.g.:
<dependency org="" name="cxf" rev="2.1.+" conf="compile->default">
<artifact name="cxf" type="jar" ext="jar" conf=""
classifier="jar"/>
</dependency>
This seems to be invalid, as ivy complains:
java.text.ParseException: [xml parsing:
ivy-0.1.0-SNAPSHOT.xml.original:29:72: cvc-complex-type.3.2.2: Attribute
'classifier' is not allowed to appear in element 'artifact'. in
file:/home/.../.gradle/cache/.../ivy-0.1.0-SNAPSHOT.xml.original
Can you add a JIRA issue for this?
Adam
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email