Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Bad EclipseLink JPA dependency(Gradle/Ivy fails to resolve EclipseLink JPA dependency)
Bad EclipseLink JPA dependency [message #996843] Thu, 03 January 2013 02:28 Go to next message
Josiah Haswell is currently offline Josiah Haswell
Messages: 1
Registered: January 2013
Junior Member
Hi everyone,

Sorry if this is the wrong place. I'm trying to use EclipseLink JPA in a Gradle project, and it looks like one of the EclipseLink dependencies is declared improperly.

Specifically, I get the following error when I try to resolve the dependency:

     :2.0:unspecified > org.eclipse.persistence:org.eclipse.persistence.jpa:2.4.0 > org.eclipse.persistence:org.eclipse.persistence.core:2.4.0
   > java.text.ParseException: inconsistent module descriptor file found in 'CachedResource: /Users/jhaswell/.gradle/caches/artifacts-15/filestore/org.eclipse.persistence/org.eclipse.persistence.asm/3.3.1.v201206041142/pom/4198a4777257a80a112b908810f1e2cc1f6317ab/org.eclipse.persistence.asm-3.3.1.v201206041142.pom for http://download.eclipse.org/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.asm/3.3.1.v201206041142/org.eclipse.persistence.asm-3.3.1.v201206041142.pom': bad module name: expected='org.eclipse.persistence.asm' found='org.eclipse.persistence.oracleddlparser'; bad revision: expected='3.3.1.v201206041142' found='1.0.0.v20121122'; 


Sure enough, the contents of that POM do not comport with those coordinates. I can work around by including a different version of EclipseLink:ASM explicitly, but I think that artifact needs to be fixed. Where would I submit a bug for this?

Best!

Josiah

Re: Bad EclipseLink JPA dependency [message #997215 is a reply to message #996843] Fri, 04 January 2013 13:51 Go to previous message
Chris Delahunt is currently offline Chris Delahunt
Messages: 1035
Registered: July 2009
Senior Member
This issue has been filed here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=396943

The last post mentions a workaround and that it is currently being looked at.

Best Regards,
Chris


Previous Topic:Trouble retrieving Oracle TIMESTAMPTZ type
Next Topic:Odd Exception when retrieving a datarow
Goto Forum:
  


Current Time: Thu Oct 30 16:15:39 GMT 2014

Powered by FUDForum. Page generated in 0.01668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software