|
|
|
you should only need to depoy to the m2 repo, avoiding the duplicates. m1 will be able to read com.tw.xstream from ibiblio once synced.
However, it is correct that you will need access to the other locations to do the relocating. @Ben:
com.thoughtworks.xstream although we will release at some time XStream 2.x with groupId org.codehaus.xstream (because this will not be a replacement of the 1.x series) i.e. we will have two groupIds: one for maintenance releases of the 1.x branch and the other one for 2.x. But we are able to switch already by changing the M2 groupId in Xircles. @Brett:
Any update on this? It would be nice if the location of the M1 repo would also use the (dotted) groupId. The we could at least tweak the value temporarily to make the necessary adjustments.
I have relinked your M1 distribution site such that you can access it via:
http://dist.codehaus.org/com.thoughtworks.xstream/ In regards to flipping repository ids around; you can't. We fixed that in a recent release because it was subject to abuse. However I think you can still release artifacts under either of the two repository ids. Sorry, Ben, this is not gonna work. The files will not have identical content! The POM files in the old location must have the relocation entry while the ones in the new location may not have 'em.
Are you talking about m1 or m2?
if m2 - you've got two separate trees. Both. We had all our releases up to version 1.2 in the Maven 1 repository. Starting with XStream 1.2 we're supporting M2, but we also have changed our groupId to the M2 standard. Therefore we have to move the old artifacts to the new location m1-repo/xstream -> m2-repo/com.thoughtworks.xstream and create at the old location POMs with relocation entries. See the pointer to the relocation guide in the issue's description.
Yes, and what I've given you supports this as far as I can tell.
You've got 3 places to put things m1 location - which will show up as /xstream and /com.thoughtworks.xstream (no POMs in here afaik) m2 location A - /com/thoughtworks/xstream (old xstream 1.X stuff) What we need:
Reasoning:
I've not forgotten this, I will hack you up a solution tomorrow afternoon.
Thanks for the update. And I understand very well, that this is not your daily job ... same boat. Take your time and you might have a talk to Brett about the solution, since every Codehaus project might come into this situation. Better get it right than fast especially if you want to avoid abuse. And thanks for your efforts so far. Xircles is great.
I'm just going to watch what you do when you least expect it as I can't make head nor tail of how this relocation business works (I don't care enough I suspect
http://dist.codehaus.org/xstream/ you edit artifacts via the same old dav links => https://dav.codehaus.org/dist/xstream/ There's a directory in there called com.thoughtworks.xstream that is linked into the main dist site. m2 => was already covered in previous changes Hi Ben,
thanks for your work. I had now the time to take a closer look. The only problem with the current solution is that xstream/com.thoughtworks.xstream will also be synchronized to the global Maven 1 repo www.ibiblio.org/maven/com.thoughtworks.xstream ... we'll see what the Maven folks say, when they synchronize ... You're right. I was trying to avoid having to give you a custom dav connection for it all.
Will do it up when I get a chance, probably in the next 48 hours due to a hectic weekend. Maybe you're better off in the long run, if you provide one DAV connection for each project only and give the project only write permission in the directory leaves. For XStream this could be something like
/site Any additional location (like /dist/com.thoughtworks.xstream or /m2/org/codehaus/xstream) must be requested by a haus chord. To correct some of my comments and to sum up all the necessary directories (at least for XStream):
/site: the web site |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Are you going to be releasing more items into http://dist.codehaus.org/xstream
?