22 January 2013

Note to myself: Maven useful comands

mvn eclipse:eclipse == config project for eclipse
mvn clean == Removes the target directory with all the build data .
mvn install  ==  Build maven application. (In theory it downloads dependencies,but as shit happens from time to time for no reasons and as result maven do not download then use  mvn dependency:resolve  command to just download dependencies)
mvn package  == the same as install plus to deploy the project(jar/war) or whatever you specify
mvn dependency:resolve == only download dependencies without doing anything else.