Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Maven Repo ?
Maven Repo ? [message #817129] Fri, 09 March 2012 12:14 Go to next message
Mike Carr is currently offline Mike Carr
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] Fri, 09 March 2012 19:00 Go to previous messageGo to next message
Mike Carr is currently offline Mike Carr
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] Mon, 12 March 2012 22:19 Go to previous message
Ari Meyer is currently offline Ari Meyer
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: Thu Apr 17 14:28:37 EDT 2014

Powered by FUDForum. Page generated in 0.01813 seconds