InfoSec812 / nexus-oss

Sonatype Nexus OSS

Home Page:http://links.sonatype.com/products/nexus/oss/home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonatype Nexus OSS

Sonatype Nexus - Open Source Edition

Building

Requirements

  • Apache Maven 3.0.4+
  • Java 7+
  • Groovy 1.7+ (for advanced usage only)

Running

The run Nexus, after building, unzip the assembly and start the server:

unzip -d target assemblies/nexus-base-template/target/nexus-base-template-*.zip
./target/nexus-base-template-*/bin/nexus console

The nexus-base-template assembly is used as the basis for the official Sonatype Nexus distributions.

HOWTO

Some examples may require Groovy 1.7+

Skip Modules

The plugins and testsuite modules can be skipped:

mvn -Dskip-plugins

and:

mvn -Dskip-testsuite

Manage License Headers

Check for violations:

mvn -Plicense-check -N

Apply header format:

mvn -Plicense-format -N

Normalize Line Endings

Normalize line-endings (to UNIX LF style), from project root directory:

groovy ./buildsupport/scripts/fixcrlf.groovy

Same with extra configuration ( -D must be before script ):

groovy -Dfixlast=true ./buildsupport/scripts/fixcrlf.groovy

Running Custom Testsuite Shards

To run all capabilities tests in modern testsuite:

mvn -pl testsuite/modern-testsuite/pom.xml clean install \
    -Pit,testsuite-gencustom,testsuite-runcustom \
    -Dautoshard.includes='**/capabilities/**/*IT.java'

About

Sonatype Nexus OSS

http://links.sonatype.com/products/nexus/oss/home


Languages

Language:Java 54.3%Language:JavaScript 31.5%Language:CSS 9.9%Language:Groovy 3.9%Language:HTML 0.4%Language:Shell 0.0%Language:Ruby 0.0%