chandransalem / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Issue with downloading eclipselink #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. delete local maven cache (.m2/repository)
2. mvn clean install

What is the expected output? What do you see instead?

Build fails with
[ERROR] Failed to execute goal on project odata4j: Could not resolve 
dependencies for project org.odata4j:odata4j:bundle:0.5-SNAPSHOT: Could not 
find artifact org.eclipse.persistence:eclipselink:jar:2.1.2 in javanet 
(http://download.java.net/maven/2/) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Original issue reported on code.google.com by stephan....@googlemail.com on 16 Nov 2011 at 9:15

GoogleCodeExporter commented 8 years ago
I had the same issue a few days ago while building odata4j for the first time.

Solved it by replacing the repository url for eclipselink in pom.xml with 
http://download.eclipse.org/rt/eclipselink/maven.repo
As is advised on the Eclipselink wiki here: 
http://wiki.eclipse.org/EclipseLink/Maven

Corresponding diff output attached to this message.

Original comment by cvigne...@gmail.com on 17 Nov 2011 at 2:02

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. I have applied your proposal.

Original comment by stephan....@googlemail.com on 17 Nov 2011 at 5:37