archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zach Legein <zleg...@yahoo.com>
Subject Setting up Blacklist for Maven1 repo
Date Fri, 11 Jan 2008 22:04:18 GMT

I am trying to setup a black list of a remote repository. I currently have
this remote repo configured:

Maven 1 Central Repository
Identifier 	m1-central
Name 	Maven 1 Central Repository
URL 	http://repo1.maven.org/maven/
Type 	Maven 1.x Repository

With this proxy connectory setup to blacklist certain things

m1-central
Maven 1 Central Repository
http://repo1.maven.org/maven/
Expand
Network Proxy: 	(direct connection)
Policies: 	
releases 	always
snapshots 	never
checksum 	fix
cache-failures 	yes
Black List: 	
"javax/**"
"com/sun/**"

And I have the reciprocal whitelist on the 

Java.net Repository for Maven 1
Identifier 	maven1-repository.dev.java.net
Name 	Java.net Repository for Maven 1
URL 	http://download.java.net/maven/1/
Type 	Maven 1.x Repository

Now the reason for this is that the dependency for 

com.sun.xml.bind:jaxb-impl:jar:2.0.1
        3) javax.xml:jaxb-api:jar:2.0
        4) javax.xml:jsr173:jar:1.0

on http://repo1.maven.org/maven/ has a pom that points to some dead
artifacts.

Now the problem is that this setup doesn't seem to work, I keep getting
com.sun.xml.bind:jaxb-impl:jar:2.0.1 from http://repo1.maven.org/maven/ when
I want to get com.sun.xml.bind:jaxb-impl:jar:2.0.1 from
http://download.java.net/maven/1/.

Is this the right setup?

zach

 
-- 
View this message in context: http://www.nabble.com/Setting-up-Blacklist-for-Maven1-repo-tp14766037p14766037.html
Sent from the archiva-users mailing list archive at Nabble.com.


Mime
View raw message