You can either use the <mirrorOf>*</mirrorOf> feature in your settings.xml
to make Artifactory the only repository used by Maven, or redeploy the
unix-rpm plugin to one of Artifactory's local repository that will shadow
the original plugin (as best practice you may want to use an alternate
artifactId, BTW) and use that artifact instead of the offending original
one.

On Fri, Dec 4, 2009 at 1:21 PM, Gajo Csaba <[email protected]> wrote:

>
> Hello,
>
> I have a problem with a Maven plugin, explained in detail at [1]. The
> plugin's pom tries to access a repository at http://download.java.net, and
> that site is blocked by our firewall. The dependency it tries to download
> is
> available at other locations, and I've also deployed it on our Artifactory,
> but the plugin seems to ignore this and keeps trying to access the blocked
> site. In the Admin config, I've set the two java.net repositories to not
> handle anything, and also checked it to be Blocked out... but it has no
> effect.
>
> The problem is not that it won't work, it will, but when it comes to the
> dependency at dowload.java.net, it will hang for 5 minutes before it
> decides
> to continue, and then it finds the same dependency at repo1.
>
> How to totally block download.java.net?
>
> [1] - http://jira.codehaus.org/browse/MUNIX-33
> --
> View this message in context:
> http://old.nabble.com/How-to-block-an-URL-in-Artifactory--tp26635856p26635856.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to