Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/UsingP2
Using EclipseLink's P2 Repositories
Descriptions of the P2 repository layout can be found at: http://wiki.eclipse.org/EclipseLink/Infrastructure
This page outlines how to utilize the EclipseLink repositories with Eclipse.
First it should be stated that P2 repositories can only be accessed with a P2 enabled provisioning system (such as is used in Eclipse), as such accessing the URL from a web browser will be of little use (though we also provide a landing page to help redirect potential users).
At the time of this writing the release repository hasn't yet been restructured into a single repository that provides access to all releases. However, the milestone and nightly repositories have been. Milestone Site: http://download.eclipse.org/rt/eclipselink/milestone-updates Nightly Build Site: http://download.eclipse.org/rt/eclipselink/nightly-updates
Using via a Target Platform
They can be accessed through Eclipse via several means, though since EclipseLink is a RunTime project it is recommended that it be accessed via a Target Platform. A Target Platform can be created, or modified by using the Preferences dialog under the Window menu and selecting "Target Platform" under "Plug-in Development". You can either choose "add" or "Edit" an existing platform. Once the platform dialog appears, choose "Add" and select "Software Site". Add or select one of the above sites.
Since not all dependencies are available in EclipseLink (there are other Orbit dependencies), and Eclipse will only evaluate the chosen repository. There will be dependencies that cannot be resolved. Unselect "Include Required Software".