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.
Difference between revisions of "Services/Nexus"
(→Eclipse Nexus Instance) |
|||
Line 4: | Line 4: | ||
This repository allows Eclipse projects to publish their build artifacts into a centralized repository hosted by EMO. | This repository allows Eclipse projects to publish their build artifacts into a centralized repository hosted by EMO. | ||
+ | |||
+ | |||
+ | == Deploying artifacts to repo.eclipse.org == | ||
+ | |||
+ | To deploy artifacts to repo.eclipse.org using Maven you will need 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. |
Revision as of 11:22, 20 February 2013
Eclipse Nexus Instance
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.
Deploying artifacts to repo.eclipse.org
To deploy artifacts to repo.eclipse.org using Maven you will need to add a "distributionManagement" section to your project pom. An example below:
<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>
Replace instances of the word "project" with your project's name.