You are viewing a plain text version of this content. The canonical link for it is here.
Posted to repository@apache.org by Jukka Zitting <ju...@gmail.com> on 2006/12/16 18:10:06 UTC
Copying Maven 2 artifacts to the Maven 1 repository
Hi,
Suppose I have a Maven 2 project and deploy my release artifacts to
m2-ibiblio-rsync-repository for syncrhonization with ibiblio. I'd also
like Maven 1 projects to use the artifacts as dependencies. Will my
artifacts get automatically synchronized to the central Maven 1
repository, or should I also place them in
m1-ibiblio-rsync-repository?
BR,
Jukka Zitting
Re: Copying Maven 2 artifacts to the Maven 1 repository
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 12/17/06, Brett Porter <br...@apache.org> wrote:
> It's /maven/, not /maven1/
Ah, brilliant! My mistake...
It's still a bit confusing that
http://repo1.maven.org/maven/org.apache.lucene/jars/ doesn't list
anything, but I figure that's OK.
BR,
Jukka Zitting
Re: Copying Maven 2 artifacts to the Maven 1 repository
Posted by Brett Porter <br...@apache.org>.
It's /maven/, not /maven1/
Cheers,
Brett
On 17/12/2006, at 5:11 AM, Jukka Zitting wrote:
> Hi,
>
> On 12/16/06, Carlos Sanchez <ca...@apache.org> wrote:
>> in ibiblio there are rewrite rules that forward m1 artifact
>> requests to m2 repo
>
> I don't think those rewrite rules cover all the cases, see for example
> the lucene-core-2.0.0.jar artifact in org.apache.lucene.
>
> The following Maven 2 URL works:
>
> http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.0.0/
> lucene-core-2.0.0.jar
>
> But the corresponding Maven 1 URL gives a 404 not found error:
>
> http://repo1.maven.org/maven1/org.apache.lucene/jars/lucene-
> core-2.0.0.jar
>
> BR,
>
> Jukka Zitting
Re: Copying Maven 2 artifacts to the Maven 1 repository
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 12/16/06, Carlos Sanchez <ca...@apache.org> wrote:
> in ibiblio there are rewrite rules that forward m1 artifact requests to m2 repo
I don't think those rewrite rules cover all the cases, see for example
the lucene-core-2.0.0.jar artifact in org.apache.lucene.
The following Maven 2 URL works:
http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.0.0/lucene-core-2.0.0.jar
But the corresponding Maven 1 URL gives a 404 not found error:
http://repo1.maven.org/maven1/org.apache.lucene/jars/lucene-core-2.0.0.jar
BR,
Jukka Zitting
Re: Copying Maven 2 artifacts to the Maven 1 repository
Posted by Carlos Sanchez <ca...@apache.org>.
in ibiblio there are rewrite rules that forward m1 artifact requests to m2 repo
On 12/16/06, Jukka Zitting <ju...@gmail.com> wrote:
> Hi,
>
> Suppose I have a Maven 2 project and deploy my release artifacts to
> m2-ibiblio-rsync-repository for syncrhonization with ibiblio. I'd also
> like Maven 1 projects to use the artifacts as dependencies. Will my
> artifacts get automatically synchronized to the central Maven 1
> repository, or should I also place them in
> m1-ibiblio-rsync-repository?
>
> BR,
>
> Jukka Zitting
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride