users@jaxb.java.net

RE: Maven 2 Jaxb2 plugin use

From: Jonathan Johnson <jonjohnson_at_mail.com>
Date: Mon, 10 Apr 2006 23:47:58 -0400

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

I would guess yes since Maven 2 is already downloading the jaxb jars from
the legacy. Try posting them and lets try it.

-----Original Message-----
From: Kohsuke Kawaguchi [mailto:Kohsuke.Kawaguchi_at_Sun.COM]
Sent: Monday, April 10, 2006 9:09 PM
To: users_at_jaxb.dev.java.net
Subject: Re: Maven 2 Jaxb2 plugin use

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