标签:
This error is generated if you try to invoke a build command that Maven does not understand. In general, you have the following options to perform build steps:
mvn install
install
and all its predecessor phases like compile
and test
. Please see Introduction to the Build Lifecycle for more information about available lifecycle phases.mvn compiler:compile
mvn org.apache.maven.plugins:maven-compiler-plugin:compile
mvn org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
You can freely mix all of these styles within a single command line.
The error described here is usually caused by typo in the command so be sure to check you specified a valid lifecycle phase.
https://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
LifecyclePhaseNotFoundException(转)
标签:
原文地址:http://www.cnblogs.com/softidea/p/4181613.html