Checkout the docs: http://maven.apache.org/guides/mini/guide-proxies.html
Change it in <maven_dir>/conf/settings.xml Wouter On 2/21/06, Dave Hoffer <[EMAIL PROTECTED]> wrote: > I think this error is due to our company firewall/proxy. How do I > configure Maven2 to download through firewall/proxy. > > -dh > > -----Original Message----- > From: Dave Hoffer > Sent: Monday, February 20, 2006 3:38 PM > To: '[email protected]' > Subject: [m2] runtime error > > After installing maven2.0.2 and verifying with mvn -v command I try to > create a project file with archetype command and I get the following > error, what is the cause of this? > > > C:\ST\Components\xrite-commons>mvn --version > Maven version: 2.0.2 > > C:\ST\Components\xrite-commons>mvn archetype:create > -DgroupId=com.mycompany.app > -DartifactId=my-app > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'archetype'. > [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-archetype-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: < 1 second > [INFO] Finished at: Mon Feb 20 15:34:47 EST 2006 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ > - > --- > > C:\ST\Components\xrite-commons> > > --------------------------------------------------------------------- > 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]
