users@jaxb.java.net

Re: Maven 2 Jaxb2 plugin use

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 10 Apr 2006 18:09:11 -0700

Jonathan Johnson wrote:
>> One question, though. Can Maven2 install a plugin from a maven1 (AKA
>> legacy) repository?
>
> If you mean can Maven 2 download and install a Maven 1 plugin from a Maven 1
> legacy repository?

No, I mean "can Maven2 download and install a Maven 2 plugin from a
Maven 1 legacy repository"?


> I think M2 can download jars but not plugins from a M1 structure repository.
> Since plugins and other significant features changed radically between m1
> and m2 I would assume this would not be possible. If you have a M1
> repository I think M2 can download a jar from it so long as you define the
> repository as legacy like so...
>
> <repositories>
> <repository>
> <id>java.net</id>
> <name>java.net Maven Repository</name>
> <url>https://maven-repository.dev.java.net/nonav/repository</url
>>
> <layout>legacy</layout>
> </repository>
> </repositories>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com