Go to google and search "maven 2 configure proxy".

http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configure+proxy&btnG=Recherche+Google&meta=

It looks to help a lot ;-)

--
Olivier

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> Hi,
>
> Thanks for the quick response, I do have access to the url
> http://repo1.maven.org/maven2/
> Now could you also help me how to configure proxy in settings.xml
> please.
>
> Thanks,
> LK
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Olivier Lamy
> Sent: Thursday, August 07, 2008 10:47 AM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
> exist
>
> It looks to be a common error due to no network acess to the central
> repo.
>
>  [INFO] Repository 'central' will be blacklisted
>
> Please ensure you have a net access to http://repo1.maven.org/maven2/ .
> Or configure a proxy in your settings.xml
>
> HTH,
> --
> Olivier
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>> I have installed maven 2.0.9 successfully and I am now trying to build
>
>> my directory structure for which I ran the command
>>
>> mvn archetype:create -DgroupId=com.fedex.crm.onesource
>> -DartifactId=CaseConsole
>>
>>
>> but it came back and says error
>>
>> [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: 25 seconds
>> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final Memory:
>> 1M/2M [INFO]
>> ----------------------------------------------------------------------
>> --
>>
>>
>>
>> Please help.
>>
>> Thanks,
>> LK
>>
>
> ---------------------------------------------------------------------
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to