Hi Nick,

Thanks a lot for your reply 
I have internet connection and the issue is i am trying to access is from
office...there is no proxy although we have set some script in Lan settings
in IE as configuration scriptand when i tried through web browser i was able
to open the site. 

can i use this script also instead of proxy?If yes how?

Thanks in advance.

Shubham


Nick Stolwijk wrote:
> 
> Do you have a connection to the internet? Maven will download all the
> plugins and dependencies Maven and your project needs. If it can't
> connect to the central repository it will not work. When your browser
> normally connect to the internet through a proxy, specify this proxy
> in the settings.xml inside your maven installation directory
> (conf/settings.xml).
> 
> Hth,
> 
> Nick Stolwijk
> ~Java Developer~
> 
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
> 
> 
> 
> On Thu, Sep 11, 2008 at 12:39 PM, Shubham Saraswat
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I need maven for repackaging LGPL for Edocs installation.
>>
>> I downloaded Mavan 2.0.9 and set the PATH and M2_HOME
>>
>> Mvn -version is working fine. But mvn compile is giving following error:-
>>
>>
>> # mvn compile
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Maven Default Project
>> [INFO]    task-segment: [compile]
>> [INFO]
>> ------------------------------------------------------------------------
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.maven.plugins
>> ArtifactId: maven-resources-plugin
>> Version: 2.2
>>
>> Reason: Unable to download the artifact from any repository
>>
>>  org.apache.maven.plugins:maven-resources-plugin:pom:2.2
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2)
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Wed Sep 10 10:43:11 IST 2008
>> [INFO] Final Memory: 4M/494M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> I tried downloading maven-resources-plugin-2.2.pom and replaced it with
>> pom.xml in the repacking directory. But still same errors. Please
>> suggest.
>>
>> Shubham Saraswat
>> * Office:  +91 80 2852 0261  Extn- 15258  | Mobile: +91 9902006402
>> Infosys(r)
>> P O W E R E D   B Y   I N T  E L L E C T
>>  D R I V E N   B Y   V A L U E S
>>
>>
>> **************** CAUTION - Disclaimer *****************
>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
>> solely
>> for the use of the addressee(s). If you are not the intended recipient,
>> please
>> notify the sender by e-mail and delete the original message. Further, you
>> are not
>> to copy, disclose, or distribute this e-mail or its contents to any other
>> person and
>> any such actions are unlawful. This e-mail may contain viruses. Infosys
>> has taken
>> every reasonable precaution to minimize this risk, but is not liable for
>> any damage
>> you may sustain as a result of any virus in this e-mail. You should carry
>> out your
>> own virus checks before opening the e-mail or attachment. Infosys
>> reserves the
>> right to monitor and review the content of all messages sent to or from
>> this e-mail
>> address. Messages sent to or from this e-mail address may be stored on
>> the
>> Infosys e-mail system.
>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
:confused:
-- 
View this message in context: http://n2.nabble.com/Hi-tp1082498p1094494.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]

Reply via email to