Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330494

Summary: POM dependency incorrect for org.eclipse.persistence.ogsi
Product: z_Archived Reporter: Alex Blewitt <alex.blewitt>
Component: EclipselinkAssignee: Eric Gwin <eric.gwin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alex Blewitt CLA 2010-11-17 12:55:05 EST
Build Identifier: 2.0.0-2.2.0

The POM for org.eclipse.persistence.osgi depends on an artifact called org.eclipse.persistence.jpa.weaving. 

However, that artifact doesn't exist - it goes by the name of org.eclipse.persistence.weaving.

http://eclipse.ialto.org/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.osgi/2.2.0-SNAPSHOT/org.eclipse.persistence.osgi-2.2.0-20101116.060526-116.pom

and

http://eclipse.ialto.org/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.weaving/2.2.0-SNAPSHOT/org.eclipse.persistence.weaving-2.2.0-20101116.060525-116.pom

As a result, the dependency can't be located through Maven's dependency management. 

Reproducible: Always

Steps to Reproduce:
Put in a dependency on org.eclipse.persistence.osgi (pretty much any version) and try and resolve - it will say 'artifact not found'.
Comment 1 Alex Blewitt CLA 2010-11-17 12:59:39 EST
I believe this is the problem:

http://dev.eclipse.org/viewsvn/index.cgi/trunk/uploadToMaven.xml?view=markup&root=RT_PERSISTENCE

        <property name="dep.jpa.weaving"   value="${dep.grp}org.eclipse.persistence${dep.art}org.eclipse.persistence.jpa.weaving${dep.ver}${maven.version}${dep.type}jar${dep.scope}compile${dep.opt}false${dep.foot}"/>

This should be:

        <property name="dep.jpa.weaving"   value="${dep.grp}org.eclipse.persistence${dep.art}org.eclipse.persistence.weaving${dep.ver}${maven.version}${dep.type}jar${dep.scope}compile${dep.opt}false${dep.foot}"/>
Comment 2 Eric Gwin CLA 2010-11-18 08:30:20 EST
fixed library definitions for "dep.jpa.weaving", "dep.jpa.osgi", and "dep.jpa.equinox"
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:04:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink