Hi I don't found out the seetings.xml in - Your settings.xml file ~/.m2/settings.xml Here is my detail info,does anyone check it for my problem? thanks!
C:\Users\hujunying>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\hujunying\AppData\Roaming ClassPath=C:\STAF\samples\demo\STAFDemo.jar;C:\STAF\bin\JSTAF.jar;C:\Program Fil es\Java\jdk1.6.0_02\bin;C:\Program Files\Java\jdk1.6.0_02\lib;C:\Program Files\J ava\jdk1.6.0_02\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_02\jre6\lib\rt.jar;C:\ Program Files\Java\jdk1.6.0_02\lib\tools.jar CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=HUJY-L ComSpec=C:\Windows\system32\cmd.exe configsetroot=C:\Windows\ConfigSetRoot FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\hujunying JAVA_HOME=C:\Program Files\Java\jdk1.6.0_02 LOCALAPPDATA=C:\Users\hujunying\AppData\Local LOGONSERVER=\\SITHLORD *m2=Q:\my work\apache-maven-3.0.3\bin m2_HOME=Q:\my work\apache-maven-3.0.3 * MAN_CHM_INDEX=C:/PROGRA~1/MKS/Toolkit/etc/chm/tkutil.idx;C:/PROGRA~1/MKS/Toolkit /etc/chm/tkapi.idx;C:/PROGRA~1/MKS/Toolkit/etc/chm/tcltk.idx;C:/PROGRA~1/MKS/Too lkit/etc/chm/tkcurses.idx;C:/Program Files/MKS/IntegrityClient/etc/siman.idx;C:/ Program Files/MKS/IntegrityClient/etc/imman.idx;C:/Program Files/MKS/IntegrityCl ient/etc/sdman.idx;C:/Program Files/MKS/IntegrityClient/etc/isman.idx MAN_HTM_PATHS=C:/PROGRA~1/MKS/Toolkit/etc/htm/perl;C:/PROGRA~1/MKS/Toolkit/etc/h tm/perl/pod;C:/PROGRA~1/MKS/Toolkit/etc/htm/perl/ext;C:/PROGRA~1/MKS/Toolkit/etc /htm/perl/lib MAN_TXT_INDEX=C:/PROGRA~1/MKS/Toolkit/etc/tkutil.idx;C:/PROGRA~1/MKS/Toolkit/etc /tkapi.idx;C:/PROGRA~1/MKS/Toolkit/etc/tcltk.idx;C:/PROGRA~1/MKS/Toolkit/etc/tkc urses.idx;C:/Program Files/MKS/IntegrityClient/etc/siman.idx;C:/Program Files/MK S/IntegrityClient/etc/imman.idx;C:/Program Files/MKS/IntegrityClient/etc/sdman.i dx;C:/Program Files/MKS/IntegrityClient/etc/isman.idx NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\Program Files\MKS\IntegrityClient\bin;C:\STAF\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program F iles\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Prog ram Files\Common Files\Lenovo;C:\Program Files\Common Files\Ulead Systems\MPEG;C :\Program Files\Java\jdk1.6.0_02\bin;C:\PROGRA~1\MKS\Toolkit\mksnt;*Q:\my work\ap ache-maven-3.0.3\bin * PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.sh;.ksh;.csh;.sed ;.awk;.pl PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 2, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2502 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public ROOTDIR=C:/PROGRA~1/MKS/Toolkit RR=C:\Program Files\Lenovo\Rescue and Recovery SESSIONNAME=Console STAFCONVDIR=C:\STAF\codepage SWSHARE=C:\SWSHARE SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\HUJUNY~1\AppData\Local\Temp TMP=C:\Users\HUJUNY~1\AppData\Local\Temp TVT=C:\Program Files\Lenovo TVTCOMMON=C:\Program Files\Common Files\Lenovo TVTPYDIR=C:\Program Files\Common Files\Lenovo\Python24 USERDNSDOMAIN=ISS.GG.SG USERDOMAIN=ISS USERNAME=hujunying USERPROFILE=C:\Users\hujunying windir=C:\Windows On Tue, Apr 5, 2011 at 8:38 PM, Wayne Fay <wayne...@gmail.com> wrote: > > - Your settings.xml file ~/.m2/settings.xml > > - Maven's global settings.xml under maven's install dir {$M2_HOME}/conf > > - Other files under Maven installation dir > > - M2Eclipse configuration (Preferences->Maven) > > Or the MAVEN_OPTS environment variable is incorrect. Go to MS DOS > (Command Prompt) and type "set" then look for the line MAVEN_OPTS=... > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- ** *Warm wishes,* *Jaina(hu jun ying)*