I did what you did and the result is still the same.

The difference is that my corporate proxy server requires authentication,
so I also have the following properties in the project.properties file:
maven.proxy.username
maven.proxy.password

I wrote a small program to test the HTTP connection (using HttpUtils.java
as an example), and when I tried to access website like
"http://www.yahoo.com/";, it gives a HTTP response code 407 (Proxy
Authentication needed).  Do I need to do something to configure the JVM to
allow proxy authentication?


Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division

DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]


                                                                                       
                            
                    <[EMAIL PROTECTED]                                                 
                                
                    .com>                To:     <[EMAIL PROTECTED]>                   
                       
                                         cc:                                           
                            
                    19/11/2003           Subject:     RE: Unable to download the 
initial jar files                 
                    08:11 PM                                                           
                            
                    Please respond                                                     
                            
                    to "Maven                                                          
                            
                    Users List"                                                        
                            
                                                                                       
                            
                                                                                       
                            





It uses http, as indicated by the full address it's trying to resolve:
http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-1.jar

Since that does resolve to a jar file, either you were trying during the
server outage mentioned elsewhere on this list, or you are correct in
your assertion that you're not getting through the proxy. Try putting
the proxy settings in your project.properties, and seeing if that helps.
It may be that Maven is looking in the wrong place for your
build.properties.

I have settings like:
maven.proxy.host=proxy1.foo.bar.com
maven.proxy.port=3128

At the head of my project.properties, and that gets me through the
firewall.

Hope that helps.

Nick

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 19 November 2003 01:49
> To: [EMAIL PROTECTED]
> Subject: Unable to download the initial jar files
>
>
> I am a new Maven user and I had downloaded the Maven 1.0 rc1
> for testing.
> However, the moment I tried to compile my project, I hit the
> problem of
> unable to download those jar files which Maven needed.
>
> The following is the error message I got:
>
> 2003-11-19 09:43:25,069 INFO
> org.apache.maven.verifier.DependencyVerifier
> - Attempting to download ant-1.5.3-1.jar.
> 2003-11-19 09:43:47,035 WARN
> org.apache.maven.verifier.DependencyVerifier
> - Error retrieving artifact from
> [http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-1.jar]:
> java.lang.Exception: Can't get ant-1.5.3-1.jar to C:\Documents and
> Settings\itaeh\.maven\repository\ant\jars\ant-1.5.3-1.jar
> 2003-11-19 09:43:47,035 WARN
> org.apache.maven.verifier.DependencyVerifier
> - WARNING: Failed to download ant-1.5.3-1.jar.
> ...
>
> I am working behind a corporate fire wall but I had
> configured the proxy
> settings in the build.properties file as described in the userguide.
> However, that still doesn't work.  I am not sure what means
> does Maven use
> to download these jar files (is it Http or Ftp?).  Is there a way to
> resolve this problem?
>
>
> Thanks & regards,
> Eng Hoe
> App Dev-DCS
> SGX-IT Division
>
> DID: (65) 62368963
> FAX: (65) 64388840
> email: [EMAIL PROTECTED]
>
> Confidentiality Caution
> =======================
> Privileged/Confidential Information may be contained in this
> message. If
> you are not the addressee indicated in this message (or
> responsible for
> delivery of the message to such person), you may not copy or
> deliver this
> message to anyone. In such case, you should destroy this
> message and kindly
> notify the sender by reply email. Opinions, conclusions and other
> information in this message that is not of an official nature shall be
> deemed as neither given nor endorsed by SGX unless indicated by an
> authorised representative independent of this message.
>
>
> ---------------------------------------------------------------------
> 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]




Confidentiality Caution
=======================
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that is not of an official nature shall be
deemed as neither given nor endorsed by SGX unless indicated by an
authorised representative independent of this message.


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

Reply via email to