Dienstag, 4. Oktober 2011

Hosting P2 Repositories with Nexus OSS

Since a long time i had a look at Nexus and was a little bit disappointed that the P2 repository features aren't available in the open source version. Fortunately that has been changed within the last weeks:

https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin

With some manual effort it's now possible to expose osgi bundles from your nexus as p2 repository which makes it much easier to consume them from within eclipse or tycho.

To install the new experimental plugins in nexus 1.9.2.3 download the following plugins from the sonatype nexus repository:

Please ensure that you download the *-bundle.zip files and not the *.jar files. Extract them afterwards into the sonatype-work/nexus/plugin-repository folder of your nexus installation. Finally restart nexus to activate those plugins.

Now its time to play a little bit around to speed up and simplify our maven tycho build. Thanks sonatype for this great improvement. 

1 Kommentare:

  1. Hi

    I separated the steps from the glue in the FuelCarTest.java. It all runs fine, but I wanted to know why the results of the test state 4 tests run.

    As far as I can tell its one feature, ending with one assertion.

    Results :

    Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

    AntwortenLöschen