2009/11/20 Gajo Csaba <csaba.g...@cosylab.com>:
> One of the dependencies is trying to access a repository at
> download.java.net, and this site is blocked by our firewall. Is there a way
> to tell Maven to skip this repository? Either in settings.xml or pom.xml

Best is to use an internal repository manager like Archiva or Nexus.

To keep Maven from trying to contact it, figure out the repository id,
and then re-define that id as a <repository> and <pluginRepository>
with a different url that does work.

I would do this in settings.xml so it only has to be done once rather
than in each project.
http://maven.apache.org/ref/2.0.8/maven-settings/settings.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to