|
|
(32 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Eclipse Nexus Instance == | + | == This page has been moved to https://github.com/eclipse-cbi/cbi/wiki/Nexus == |
− | | + | |
− | The Eclipse Nexus instance is hosted at: https://repo.eclipse.org
| + | |
− | | + | |
− | This repository allows Eclipse projects to publish their build artifacts into a centralized repository hosted by EMO. | + | |
− | | + | |
− | Notes:
| + | |
− | | + | |
− | * Snapshots older than 30-days are automatically removed on a weekly basis
| + | |
− | | + | |
− | == Pulling artifacts from Nexus ==
| + | |
− | | + | |
− | To use repo.eclipse.org to pull artifacts for your project there are a few URLs that can be used.
| + | |
− | | + | |
− | === Releases Group ===
| + | |
− | https://repo.eclipse.org/content/groups/releases/ | + | |
− | | + | |
− | This URL is a top-level aggregate of all project releases repositories. This URL is recommended if you just want to pull in releases from any project hosting artifacts on repo.eclipse.org
| + | |
− | | + | |
− | === Snapshots Group ===
| + | |
− | https://repo.eclipse.org/content/groups/snapshots/
| + | |
− | | + | |
− | This URL is a top-level aggregate of all project snapshots repositories. This URL is useful for developers who want to pull in artifacts that may have not yet been released usually nightlies.
| + | |
− | | + | |
− | === Project Specific Repos ===
| + | |
− | | + | |
− | Finally you can also use a project specific repo if you only want to ensure you are only pulling artifacts from specific projects. To get the URLs for these projects you can navigate to https://repo.eclipse.org/index.html#view-repositories and browse for the URL link for the specific project.
| + | |
− | | + | |
− | | + | |
− | == Deploying artifacts to repo.eclipse.org == | + | |
− | | + | |
− | To deploy artifacts to repo.eclipse.org you will need to use Hudson (http://hudson.eclipse.org) to configure a job for deploying your artifacts.
| + | |
− | | + | |
− | === Initial Maven POM setup ===
| + | |
− | | + | |
− | Before Hudson though you will need to do some setup on the Maven side to add a "distributionManagement" section to your project pom. An example below:
| + | |
− | | + | |
− | <pre>
| + | |
− | <distributionManagement>
| + | |
− | <repository>
| + | |
− | <id>repo.eclipse.org</id>
| + | |
− | <name>Project Repository - Releases</name>
| + | |
− | <url>https://repo.eclipse.org/content/repositories/project-releases/</url>
| + | |
− | </repository>
| + | |
− | <snapshotRepository>
| + | |
− | <id>repo.eclipse.org</id>
| + | |
− | <name>Project Repository - Snapshots</name>
| + | |
− | <url>https://repo.eclipse.org/content/repositories/project-snapshots/</url>
| + | |
− | </snapshotRepository>
| + | |
− | </distributionManagement>
| + | |
− | </pre>
| + | |
− | | + | |
− | Replace instances of the word "project" with your project's name.
| + | |
− | | + | |
− | Note: It is important to ensure your ID's are "repo.eclipse.org" as the Hudson instance is configured to use these IDs.
| + | |