1. Download and tar maven to
/usr/local/apache-maven-3.0.4
2. set variables:
export M2_HOME=/usr/local/apache-maven-3.0.4
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
3.test:
mvn -version
4.一般maven build package command:
mvn package
mvn package -DskipTests
mvn install
沒有留言:
張貼留言