

You should now be able to compile and package your application: mvn clean install The following create a java web application: mvn archetype:create -DarchetypeGroupId= -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=nl.iteye -DartifactId=App1 To test this Nexus setup, we can create a little java application using Nexus, delete all dependencies maven has already cached on your system: rm -rf ~/.m2/repository To make sure you are actually using dependencies downloaded through

Modify $HOME/.m2/settings.xml as follows: Next you need to tell maven to use your maven repository.

The urlĪdmin account is admin, password: admin123.Īccording to the Nexus documentation you need to enable remote indexĭownloads on a new installation, but it seems that this has been Nexus has a web interface for managing your maven repository. Simply unpack the downloaded archive and start theĪpplications: cd nexus/nexus-webapp-1.5.0/bin/jsw/linux-x86-32/ The package contains a webserver, so you don’t have to have a javaĬontainer running. Getting started with Nexus is pretty easy. Own maven repository for artifact created in your company, or for
