maven 环境变量配置

 

M2=E:\download\apache-maven-3.2.1\bin

M2_HOME=E:\download\apache-maven-3.2.1\

M2_REPO=%HOME%\.m2\repository

JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_10\

PATH=%JAVA_HOME%\bin;%M2_HOME%\bin

 

maven 集成jetty,setting.xml文件追加以下记录:

<pluginGroups>
  <pluginGroup>org.mortbay.jetty</pluginGroup>
 </pluginGroups>