sonatype-nexus-community/nexus-repository-p2

Name: nexus-repository-p2

Owner: Sonatype Community

Description: V Eclipse, hella P2, much OSGi

Created: 2018-02-08 23:14:52.0

Updated: 2018-05-22 12:27:05.0

Pushed: 2018-04-20 09:10:45.0

Homepage:

Size: 202

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Nexus Repository P2 Format

Build Status Join the chat at https://gitter.im/sonatype/nexus-developers

Table Of Contents

Developing
Requirements

Also, there is a good amount of information available at Bundle Development

Building

To build the project and generate the bundle use Maven

mvn clean package

If everything checks out, the bundle for P2 should be available in the target folder

Build with Docker

docker build -t nexus-repository-p2:1.0.0 .

Run as a Docker container

docker run -d -p 8081:8081 --name nexus nexus-repository-p2:1.0.0

For further information like how to persist volumes check out the GitHub repo for our official image.

The application will now be available from your browser at http://localhost:8081

Using P2 With Nexus Repository Manager 3

We have detailed instructions on how to get started here!

NOTE: This is an early version of P2 Proxy and does not fully support the following as of yet:

If you'd like it to support the aforementioned sites, please file an issue, or better yet, submit a PR :)

Installing the plugin

There are a range of options for installing the P2 plugin. You'll need to build it first, and then install the plugin with the options shown below:

Temporary Install

Installations done via the Karaf console will be wiped out with every restart of Nexus Repository. This is a good installation path if you are just testing or doing development on the plugin.

(more) Permanent Install

For more permanent installs of the nexus-repository-p2 plugin, follow these instructions:

This will cause the plugin to be loaded with each restart of Nexus Repository. As well, this folder is monitored by Nexus Repository and the plugin should load within 60 seconds of being copied there if Nexus Repository is running. You will still need to start the bundle using the karaf commands mentioned in the temporary install.

(most) Permanent Install

If you are trying to use the P2 plugin permanently, it likely makes more sense to do the following:

The Fine Print

It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)

Remember:

Phew, that was easier than I thought. Last but not least of all:

Have fun creating and using this plugin and the Nexus platform, we are glad to have you here!

Getting help

Looking to contribute to our code but need some help? There's a few ways to get information:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.