Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.83 KB

README.md

File metadata and controls

69 lines (39 loc) · 1.83 KB

Sonatype Nexus OSS

Sonatype Nexus - Open Source Edition

Building

Requirements

  • Apache Maven 3.0.4+
  • Java 6+
  • 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-bundle-template/target/nexus-bundle-template-*-bundle.zip
./target/nexus-bundle-template-*/bin/nexus console

The nexus-bundle-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