On 2/19/11 2:00 PM, Mark Struberg wrote:
looks promising!

I'm sure I miss big parts of the picture, but please allow me a few (probably 
dumb) questions.

This means that an artifact is uniquely identified via the URL of the server we 
downloaded it from?

No. This is just an alternative implementation of the mirror-selection logic already in Maven, and powered by the mirrors listing in the settings.xml. Instead of requiring all of that one-off configuration in every user's settings.xml, this approach uses a JSON file on a server (by default, the canonical location would be somewhere on repository.apache.org most likely) to supply the list of mirrors from which to select.

The rest of the artifact-handling logic in Maven is the same.

What about distributing artifacts to different locations? Kind of a redundancy for maven.central. Is this already targeted (and I don't see it yet), or a completely different story?

If artifacts (+pom+-...) served from different locations have the same sha-1, 
then I won't bother where to take it from (albeit they must be 'reachable' aka 
available in at least one enabled repo).

LieGrue,
strub


--- On Sat, 2/19/11, nicolas de loof<[email protected]>  wrote:

From: nicolas de loof<[email protected]>
Subject: Re: [PROPOSAL] Auto-Mirror Selection for Maven 3.x
To: "Maven Developers List"<[email protected]>
Cc: "Stephen Connolly"<[email protected]>, "John 
Casey"<[email protected]>
Date: Saturday, February 19, 2011, 8:57 AM
I really like this feature suggest,
and it would be a must-have if also
backported to maven2 !

Having to maintain mirroring based on declared repositories
ID is a pain,
especially when transitive dependencies pull multiple IDs
for the same repo
URL. From your schema, it seems the routing rules are based
on target URL,
that would solve this with a centralized setup.

I'll take a look at code ASAP.
Nicolas

2011/2/19 Stephen Connolly<[email protected]>

Yep

On 18 February 2011 22:39, John Casey<[email protected]>
wrote:

So you're saying it would work with existing
releases of Maven, like
2.2.1?
I'd be very interested to see that.

-john


On 2/18/11 5:23 PM, Stephen Connolly wrote:

I'll have a look at your branch, but I have
an alternative proposal that
can
(I think) be made to work for any version of
maven, perhaps ivy too all
by
just dropping a jar into the lib folder...
I'll have to flesh it out to
confirm my theory. I'll be on two long
flights at the start of march, so
I
hope to be able to share something the 2nd
week march

- Stephen

---
Sent from my Android phone, so random
spelling mistakes, random nonsense
words and other nonsense are a direct result
of using swype to type on
the
screen
On 18 Feb 2011 22:10, "John Casey"<[email protected]>
wrote:


--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.johnofalltrades.name/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]








---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.johnofalltrades.name/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to