Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Maven repository no longer functional?

Out build engineer just successfully ran with the following - what is the difference in your config?

--
I've just verified it works with EclipseLink 2.3.1 and 2.1.1, for a sample project from my home.

His POM needs to specify the repository like this:
<repositories>
        ...
<repository>
<id>EclipseLink Repo</id>
<url>http://download.eclipse.org/rt/eclipselink/maven.repo</url>
</repository>
        ...
</repositories>

and the dependencies like this:

<dependencies>
     ...
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
<version>2.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.core</artifactId>
<version>2.1.1</version>
<scope>compile</scope>
</dependency>
     ...
<dependencies>

On 09/11/2011 11:53 AM, Laird Nelson wrote:
When I click that link, I get a 404 error.

I am seeing errors in Maven, and 404 errors from my browser.

Best,
Laird

On Wed, Nov 9, 2011 at 11:51 AM, Tom Ware <tom.ware@xxxxxxxxxx
<mailto:tom.ware@xxxxxxxxxx>> wrote:

    Are you seeing errors in Maven, or are you trying to use the maven
    repository to download the jars through a browser or some other mechanism?

    Are you actually requesting eclipselink-jpa-2.1.1.jar?  The bundles are
    actually not named in that format.  JPA should be in a jar that starts with
    "org.eclipse.persistence.jpa".  It is in a similarly named directory.

    e.g.
    http://mirrors.ibiblio.org/__pub/mirrors/eclipse/rt/__eclipselink/maven.repo/org/__eclipse/persistence/org.__eclipse.persistence.jpa
    <http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.jpa>

    -Tom


    On 04/11/2011 3:30 PM, Laird Nelson wrote:

        I'm trying to download EclipseLink 2.2.1 via Maven and it looks like the
        Maven
        repository disappeared (as did all of its mirrors?).

        http://download.eclipse.org/__rt/eclipselink/maven.repo/
        <http://download.eclipse.org/rt/eclipselink/maven.repo/> tells me that
        this is an
        Eclipse update site and that I must be using Eclipse to get to it (but
        this is
        given as the canonical link to the Maven repository).

        OK, so I move on to my regular mirrors:

        http://mirror.cc.columbia.edu/__pub/software/eclipse/rt/__eclipselink/maven.repo/
        <http://mirror.cc.columbia.edu/pub/software/eclipse/rt/eclipselink/maven.repo/>
        also gives me a 404 (as just a randomly selected mirror that used to
        work OK).

        http://mirrors.ibiblio.org/__pub/mirrors/eclipse/rt/__eclipselink/maven.repo/org/__eclipse/persistence/__eclipselink/
        <http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo/org/eclipse/persistence/eclipselink/>
        is up, but only has the eclipselink-2.1.1.jar artifact (not the
        eclipselink-jpa-2.1.1.jar artifact).

        My apologies if I'm missing something--where should I be turning to get
        Maven to
        pull down eclipselink-jpa-2.1.1.jar?

        Thanks,
        Best,
        Laird

        --
        http://about.me/lairdnelson



        _________________________________________________
        eclipselink-users mailing list
        eclipselink-users@xxxxxxxxxxx <mailto:eclipselink-users@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/eclipselink-__users
        <https://dev.eclipse.org/mailman/listinfo/eclipselink-users>

    _________________________________________________
    eclipselink-users mailing list
    eclipselink-users@xxxxxxxxxxx <mailto:eclipselink-users@xxxxxxxxxxx>
    https://dev.eclipse.org/__mailman/listinfo/eclipselink-__users
    <https://dev.eclipse.org/mailman/listinfo/eclipselink-users>




--
http://about.me/lairdnelson



_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top