Tag Archives: mvn

Useful maven commands

Project Build Clean a project: mvn clean Compile a project: mvn compile Run unit tests (it also compiles a project): mvn test Build a package (it also executes unit tests): mvn package Run integration test (it also builds a package): mvn verify Install a package … Continue reading

Posted in How to, Java, Maven, Software | Tagged , , , , , , , | Leave a comment

Run Apache mvn (maven2) behind proxy

If you want to use maven2(mvn) behind a proxy then you have to do the following. 1. Go to settings.xml file which is located in /etc/maven2 sudo gedit /etc/maven2/settings.xml 2. Edit the file according to your proxy settings appropriate values. … Continue reading

Posted in How to, Ubuntu | Tagged , , , , , | Leave a comment