Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Maven Repo ?
Maven Repo ? [message #817129] Fri, 09 March 2012 17:14 Go to next message
Mike Carr is currently offline Mike CarrFriend
Messages: 6
Registered: July 2009
Junior Member
I am having a difficult time trying to download dependencies from any repo. I have read the page at Eclipse wiki which states I should setup my maven pom as follows, I have updated the URL to one specified and I am still unable to download any artifact. If I go to the URL I get a Not Found error, am I doing something wrong? Did I read the wrong document?

<dependencies>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.0.0</version>
<scope>compile</scope>
...
</dependency>
</dependencies>
...
<repositories>
<repository>
<id>EclipseLink Repo</id>
<!-- note that ampersands in this URL are escaped because this is in an xml file -
un-escape them to use in browser
-->
<url>http:XXXX</url>
<!-- use this for javax.persistence
<snapshots>
<enabled>true</enabled>
</snapshots> -->
</repository>
...
</repositories>
Re: Maven Repo ? [message #817332 is a reply to message #817129] Sat, 10 March 2012 00:00 Go to previous messageGo to next message
Mike Carr is currently offline Mike CarrFriend
Messages: 6
Registered: July 2009
Junior Member
I am going to use http opencastproject.org/nexus/content/groups/public
Re: Maven Repo ? [message #819527 is a reply to message #817129] Tue, 13 March 2012 02:19 Go to previous message
Ari Meyer is currently offline Ari MeyerFriend
Messages: 136
Registered: July 2009
Senior Member
Here's mine:

<dependencies>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>

<repositories>
<repository>
<id>EclipseLink Repo</id>
<url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>
</repositories>

I don't bother with the snapshots.

HTH!
Ari
Previous Topic:Querying the EclipseLink version at runtime?
Next Topic:moxy osgi
Goto Forum:
  


Current Time: Fri Apr 19 11:07:40 GMT 2024

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

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

Back to the top