Hi Wayne, Somehow I don't have settings.xml file under .m2. So I created one. My settings.xml file looks like this: But still it doesn't work. Same build error is showing up for any command I type except for mvn -v
<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>${user.home}/.m2/repository</localRepository> <interactiveMode>true</interactiveMode> <usePluginRegistry>false</usePluginRegistry> <offline>false</offline> <pluginGroups> <pluginGroup>org.codehaus.mojo</pluginGroup> </pluginGroups> <proxies> <proxy> <id>myproxy</id> <active>true</active> <protocol>http</protocol> <host>proxy.somewhere.com</host> <port>8080</port> <username>proxyuser</username> <password>somepassword</password> <nonProxyHosts>*.google.com|ibiblio.org</nonProxyHosts> </proxy> </proxies> </settings> I really need to fix this ASAP to work on Maven. Wayne Fay wrote: > > It sounds like you have not properly configured your web proxy in > settings.xml. > http://maven.apache.org/guides/mini/guide-proxies.html > > Wayne > > On 3/21/08, maluri <[EMAIL PROTECTED]> wrote: >> >> Hi Brian, >> I deleted the repository folder under .m2\. But still I am facing the >> same >> problem. 2.0.9 is not showing under maven downloades in Apache.org site. >> I >> could only work with 2.0.8. I have uninstalled and installed the maven >> several times by downloading from different mirros in apache. Still >> doesn't >> work. It only gives me version. None of the commands working. For every >> command I try I get the below build error. >> >> Any suggestions? >> >> Thanks >> Madhu >> >> >> >> Brian E Fox wrote: >> > >> > Are you able to access http://repo1.maven.org from your desk without a >> > proxy? Try clearing your repository by deleting $HOME/.m2/repository >> > (the logs below don't show it even attempting to download, which could >> > mean bad metadata...this is fixed in 2.0.9) >> > >> > -----Original Message----- >> > From: maluri [mailto:[EMAIL PROTECTED] >> > Sent: Thursday, March 20, 2008 7:51 PM >> > To: [email protected] >> > Subject: Build Error in Maven >> > >> > >> > When I try to run any command other than mvn -v I am getting the below >> > error. >> > I have installed the maven 2.0.8 properly and everything looks good. >> > Please >> > let me know the solution. >> > >> > >> > H:\>mvn help:describe -Dplugin=help >> > [INFO] Scanning for projects... >> > [INFO] Searching repository for plugin with prefix: 'help'. >> > [INFO] org.apache.maven.plugins: checking for updates from central >> > [WARNING] repository metadata for: 'org.apache.maven.plugins' could not >> > be >> > retri >> > eved from repository: central due to an error: Error transferring file >> > [INFO] Repository 'central' will be blacklisted >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not >> > exist or >> > no valid version could be found >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] For more information, run Maven with the -e switch >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] Total time: 21 seconds >> > [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 >> > [INFO] Final Memory: 1M/4M >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > >> > H:\>mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull >> > [INFO] Scanning for projects... >> > [INFO] Searching repository for plugin with prefix: 'help'. >> > [INFO] org.codehaus.mojo: checking for updates from central >> > [WARNING] repository metadata for: 'org.codehaus.mojo' could not be >> > retrieved fr >> > om repository: central due to an error: Error transferring file >> > [INFO] Repository 'central' will be blacklisted >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not >> > exist or >> > no valid version could be found >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] For more information, run Maven with the -e switch >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] Total time: 21 seconds >> > [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 >> > [INFO] Final Memory: 1M/4M >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > >> > H:\>mvn -v >> > Maven version: 2.0.8 >> > Java version: 1.6.0_05 >> > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" >> > >> > H:\>mvn help:describe -Dplugin=help -Dfull >> > [INFO] Scanning for projects... >> > [INFO] Searching repository for plugin with prefix: 'help'. >> > [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking >> for >> > updates >> > from central >> > [WARNING] repository metadata for: 'artifact >> > org.apache.maven.plugins:maven-help >> > -plugin' could not be retrieved from repository: central due to an >> > error: >> > Error >> > transferring file >> > [INFO] Repository 'central' will be blacklisted >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not >> > exist or >> > no valid version could be found >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] For more information, run Maven with the -e switch >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] Total time: 21 seconds >> > [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 >> > [INFO] Final Memory: 1M/4M >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > >> > H:\> >> > -- >> > View this message in context: >> > http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16191404.html >> > Sent from the Maven - Users mailing list archive at Nabble.com. >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16201017.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16202154.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
