[ http://jira.codehaus.org/browse/MNG-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_112959 ]
David Hilton commented on MNG-3234: ----------------------------------- Hi, Had a similar problem because I am working behind a firewall and we use a proxy server for internet access Look here http://maven.apache.org/guides/mini/guide-proxies.html for instruction on how to set up your proxy access for mavern, the Windows folder\file you want tp create is; C:\Documents and Settings\'your windows login name'\.m2\settings.xml content is ... <settings> . . <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>proxy.somewhere.com</host> <port>8080</port> <username>proxyuser</username> <password>somepassword</password> <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts> </proxy> </proxies> . . </settings> with your settings inserted. On *nix it the file will be ~\.m2\settings.xml > org.apache.maven.lifecycle.LifecycleExecutionException > ------------------------------------------------------ > > Key: MNG-3234 > URL: http://jira.codehaus.org/browse/MNG-3234 > Project: Maven 2 > Issue Type: Bug > Components: Plugin API > Affects Versions: 2.0.7 > Reporter: subin Balachandran Nair > Assignee: Brett Porter > > Hi , > I am new to Maven. I installed maven in my local machine and add the maven > path(C:\maven2.0.7.\bin) in the > PATH also. > This is my mvn version > ------------------------------------ > C:\maven-2.0.7\bin>mvn --version > Maven version: 2.0.7 > Java version: 1.5.0_13 > OS name: "windows xp" version: "5.1" arch: "x86" > But while running mvn -U compile, getting error > C:\maven-2.0.7>mvn -U compile > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Maven Default Project > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for > up > dates from central > [WARNING] repository metadata for: 'artifact > org.apache.maven.plugins:maven-reso > urces-plugin' could not be retrieved from repository: central due to an > error: E > rror transferring file > [INFO] Repository 'central' will be blacklisted > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not > exi > st or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 23 seconds > [INFO] Finished at: Wed Oct 10 16:18:28 IST 2007 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira