Giter Club home page Giter Club logo

nexus-oss's Introduction

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 custom testsuite shards, here runs all p2 tests in the legacy testsuite:

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

or 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'

nexus-oss's People

Contributors

adreghiciu avatar alecharp avatar almorelle avatar andham avatar baerrach avatar bdemers avatar bentmann avatar brianf avatar cstamas avatar cwilper avatar dbradicich avatar ezjenkins avatar georgy avatar ifedorenko avatar jdcasey avatar jdillon avatar juven avatar kellyrob99 avatar mcculls avatar mosabua avatar mrprescott avatar nabcos avatar peterlynch avatar rickardp avatar rseddon avatar scarlucci avatar sonatype-rm avatar sonatype-zion avatar sunnygleason avatar velo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.