Nexus Repository Manager OSS agent P2 source

Source: Internet
Author: User

The P2 source may be used when building eclipse RCP projects with MAVEN management:http://download.eclipse.org/releases/mars/

Intranet users will definitely want to be able to pass the Nexus Server Proxy, just like other maven sources.

This can be achieved by installing the P2 plugin to the Nexus: "Nexus-p2-repository-plugin" and "Nexus-p2-bridge-plugin"

Nexus Pro has these two plugins by default, and the Nexus OSS version needs to be downloaded manually.

--------------------------------------------------------------------------------------------------------------- ---------------------------------------------

1. Download plugins

To access the Central Warehouse search page: https://search.maven.org/

Search for "NEXUS-P2" and you can see the following search results:

Click "All" after "Nexus-p2-repository-plugin" and "Nexus-p2-bridge-plugin" respectively, then download the latest "Bundle.zip". Take "Nexus-p2-repository-plugin" as an example:

There will be two zip packages at this time: "Nexus-p2-repository-plugin-2.12.1-01-bundle.zip" and "Nexus-p2-bridge-plugin-2.12.1-01-bundle.zip"

Unzip the two packages into the Nexus plugin directory: ${nexus_installdir}/nexus/web-inf/plugin-repository

Then restart the Nexus Service: Service Nexus restart or./nexus restart

So the P2 plug-in will be installed.

2. Configure the Nexus agent Eclipse P2 source

Log in to the Nexus site with the administrator and add a new agent repository (proxy Repository):

Modify the following content:

Repository Id:eclipse-p2-repo

Repository Name:eclipse-p2-repo

Provider:p2

Remote Storage location:http://download.eclipse.org/releases/mars/

Click the "Save" button to finish adding the P2 agent repository.

This P2 's agent repository automatically generates an address, for example: http://${ip}:8081/nexus/content/repositories/eclipse-p2-repo/

Intranet users can access the Eclipse P2 source from this address.

Nexus Repository Manager OSS agent P2 source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.