Sending your settings.xml file is just a waste of bandwith. Try adding -U -X to the mvn command. If that doesn't solve things, you are probably experiencing more problems related to your proxy which will require a network admin at your site/firm to help you resolve.
Wayne On Thu, Sep 25, 2008 at 6:38 AM, ashleyvijay <[EMAIL PROTECTED]> wrote: > > Hello, > > I tried to create a maven project thro command line and it shows some error. > My repository has these plugins. I heard could be cos of my proxy settings > but I hve fixed that too. Please help!! > > From command line > C:\>mvn archetype:create -DgroupId=com.javaworld.hotels > -DartifactId=HotelDataba > se -Dpackagename=com.javaworld.hotels > [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: Thu Sep 25 15:21:57 CEST 2008 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ > > My Settings.xml in .m2 repository --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]