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
org.apache.maven.wagon.TransferFailedException: Error transferring file: repo1.m
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!