> Well, codehaus.org has repository, and me & greg
> can upload there. When we have working M2 plugin for
> XD2,
> we can start to create M2 poms also for plugins ( XD2
> is already under
> maven2 pom, and maybe already on codehaus )
It *should* not be necessary to deploy plugins with m2 to be able to
use them from m2, as long as a repository is declared with
layout=legacy, and the m2 plugin does that. At least that's my
understanding. If we switched to m2, we'd probably loose the m1 users
now, while the opposite is not true.
There might be some mechanism in the repositories themselves to allow
them to work for both m1 and m2 structures, though. Not sure it's
available at codehaus atm.
You are right, if we only do m2 builds. But, until a complete switchover to m2 happens, could we upload m1 snapshots to the legacy repo, and m2 snapshots to a m2 repo? As you say, it is possible, but with a proper m2 snapshot, we get better dependencies. On a related note, my m2 build keeps failing on a qdox-20051211.114207.pom download (it is missing in the legacy repo), so I had to get around it by doing a manual "mvn install:install-file....".
BTW, plugin-qtags is difficult to build with m2, because m2 doesn;t allow circular references: you cannot use plugin-qtags to build plugin-qtags. In m1 it worked because it wasn't really using a plugin with it's own classpath, maven-1 could simply add the just-compiled sources into the classpath and generate the qtags-generated files, but it won't work for m2. Am I wrong?
In any case, I cannot build plugin-qtags with m1 either (I probably need to add a repo to my repo path, but which?)! I get:
$ maven install
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download commons-jelly-20050813.225330.jar.
Error retrieving artifact from [http://ibiblio.org/maven/commons-jelly/jars/comm
ons-jelly-20050813.225330.jar]: java.io.IOException: Unknown error downloading;
status code was: 302
WARNING: Failed to download commons-jelly-20050813.225330.jar.
Attempting to download commons-jelly-tags-xml-20050823.222913.jar.
Error retrieving artifact from [http://ibiblio.org/maven/commons-jelly/jars/comm
ons-jelly-tags-xml-20050823.222913.jar]: java.io.IOException: Unknown error down
loading; status code was: 302
WARNING: Failed to download commons-jelly-tags-xml-20050823.222913.jar.
The build cannot continue because of the following unsatisfied dependencies:
commons-jelly-20050813.225330.jar (try downloading from http://cvs.apache.org/re
pository/commons-jelly/jars/)
commons-jelly-tags-xml-20050823.222913.jar (try downloading from http://cvs.apac
he.org/repository/commons-jelly/jars/)
Shash
