I'm sorry, of course you haven't, since the JAR is not named hibernate-jar.jar. I need more sleep, I guess.
Of course, renaming the jar file to hibernate3-<version>.jar would work, but I guess that's not an option? Levi On Fri, Feb 6, 2009 at 8:30 PM, Levi Hoogenberg <[email protected]>wrote: > Have you tried ":hibernate3:jar"? > > Regards, > Levi > > > On Fri, Feb 6, 2009 at 4:59 PM, mvlcek <[email protected]>wrote: > >> >> I'm using a FlatFileResolver with dependencies, e.g. >> compile ":cxf:2.1.+:jar" >> compile ":hibernate3::jar" >> >> 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 >> >> Removing the "jar" from the dependency notation works for dependencies >> with >> revisions: >> compile ":cxf:2.1.+:" >> produces valid >> <dependency org="" name="cxf" rev="2.1.+" conf="compile->default"/> >> >> However, specifying >> compile ":hibernate3:" >> compile ":hibernate3::" >> both fail: >> Cause: The dependency notation: :hibernate3: is invalid! >> >> What else can I do? >> -- >> View this message in context: >> http://www.nabble.com/FlatFileResolver-produces-invalid-ivy.xml-on-upload-tp21875290p21875290.html >> Sent from the gradle-user mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >
