| Author |
Maven-issue connecting to the internet on DHCP machinebehind corporate firewall
|
indu pai
Greenhorn
Joined: Dec 29, 2004
Posts: 17
|
|
Hello,
I am new to Maven. First i set it up on a desktop with static ip. Since i work behind a corporate firewall, I did the set up for proxy information in settings.xml. I was able to create an archetype. However when i try the same configuration in an laptop machine with dynamic IP, maven fails to connect to internet.
The error that i get is as follows:
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri
eved from repository: central due to an error: Error transferring file: repo1.ma
ven.org
[DEBUG] Exception
org.apache.maven.wagon.TransferFailedException: Error transferring file: repo1.m
aven.org
Any idea what is going wrong?
Thank you!
|
 |
Karl Heinz Marbaise
Greenhorn
Joined: Aug 12, 2007
Posts: 19
|
|
Hi,
do you need a proxy to get to the internet on your laptop ? If so you have to setup the proxy entry in the settings.xml file...
Or are you using a company repository manager (like Nexus, Artifactory, Archiva etc.) ?
Kind regards
Karl Heinz Marbaise
|
Software Configuration Management (Subversion, CVS, SVK etc.) http://www.skmwiki.de/
Subversion Repository Search Engine http://www.supose.org/
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
|
I think you misconfigured something. "repo1.maven.org" is the URL of the primary Maven repository, not the name of a file. In fact, rather than a file, it represents an entire directory!
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14480
|
|
Tim Holloway wrote:I think you misconfigured something. "repo1.maven.org" is the URL (fully qualified server domain name) of the primary Maven repository, not the name of a file. In fact, rather than a file, it represents an entire directory!
Actually, the full URL is http://repo1.maven.org/maven2 for the current stuff.
|
 |
indu pai
Greenhorn
Joined: Dec 29, 2004
Posts: 17
|
|
Thank you for the replies. I tried the same configuration outside the firewall. And it works!!
I think it is something to do with the extra-security measures in the corporate firewall.
|
 |
 |
|
|
subject: Maven-issue connecting to the internet on DHCP machinebehind corporate firewall
|
|
|