You'll never walk alone

Archive for the ‘Development’ Category

Mar
06

Run maven in offline mode

Posted by sabba

Example: you have to run clean and install tasks and you want to avoid Maven connects to web repository:

mvn –offline clean install

Mar
06

Add manually a jar to maven repository

Posted by sabba

mvn install:install-file -DgroupId=example -DartifactId=example -Dversion=2009-03-06 -Dpackaging=jar -Dfile=example-dir/example.jar