You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2006/03/09 14:33:24 UTC
[m1] why not download from m2 repository ?
Hello,
AFAIK in m1, poms from central repository are not used (neither downloaded)
Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
repository ?
This only means converting
groupId(with".")/type(s)/artifactId-version.type
to
groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
Why such an idea ? Because AFAIK m2 is built by converting m1 artifacts.
So m2 repo includes all m1 artifacts. But what if an artifact has been
created in m2 repo but not in m1 ? And how long will we have 2
repositories ?
Making m1.1+ access m2 repo would make possible to deprecate m1-like
"legacy" repositories.
maven 1.1+ could try to download using m2 repository structure, and fall
back to legacy mode on failure.
Is this a stupid idea ?
Nico.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Brett Porter <br...@apache.org>.
It seems they've been turned off. I'll investigate.
Nicolas De Loof wrote:
>
> ???
> I've trie using Firefox "live http header" to get spring 2.0-m2 :
>
>
> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar
> HTTP/1.1
> Host: www.ibiblio.org
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>
> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
> HTTP/1.x 200 OK
> Connection: Keep-Alive
> Date: Thu, 09 Mar 2006 14:23:48 GMT
> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
> Etag: "247976-25d9f-43e28774;440735c4"
> Accept-Ranges: bytes
> Content-Length: 155039
> Content-Type: text/plain
> X-Cache: MISS from www.ibiblio.org
> Age: 0
> ----------------------------------------------------------
>
> After carefully watching, I cannot detect any redirect to
> www.ibiblio.org/maven2 or anything else.
>
> Could you explain me what you expected ?
>
>
>
> Brett Porter a écrit :
>> It's already done.
>>
>> use wget -S or the http headers firefox extension to get a JAR from the
>> m1 repository and watch carefully.
>>
>> - Brett
>>
>> Nicolas De Loof wrote:
>>
>>> Hello,
>>>
>>> AFAIK in m1, poms from central repository are not used (neither
>>> downloaded)
>>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
>>> repository ?
>>>
>>> This only means converting
>>> groupId(with".")/type(s)/artifactId-version.type
>>> to
>>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
>>>
>>> Why such an idea ? Because AFAIK m2 is built by converting m1 artifacts.
>>> So m2 repo includes all m1 artifacts. But what if an artifact has been
>>> created in m2 repo but not in m1 ? And how long will we have 2
>>> repositories ?
>>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
>>> "legacy" repositories.
>>>
>>> maven 1.1+ could try to download using m2 repository structure, and fall
>>> back to legacy mode on failure.
>>>
>>> Is this a stupid idea ?
>>>
>>> Nico.
>>>
>>>
>>>
>>> This message contains information that may be privileged or confidential
>>> and is the property of the Capgemini Group. It is intended only for the
>>> person to whom it is addressed. If you are not the intended
>>> recipient, you are not authorized to read, print, retain, copy,
>>> disseminate, distribute, or use this message or any part thereof. If
>>> you receive
>>> this message in error, please notify the sender immediately and delete
>>> all copies of this message.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain, copy, disseminate,
> distribute, or use this message or any part thereof. If you receive
> this message in error, please notify the sender immediately and delete
> all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Carlos Sanchez <ca...@apache.org>.
Adding m2 repositories support would be a great step forwards in m1.
As always this comes back to time constraints :(
On 3/9/06, Kenney Westerhof <ke...@apache.org> wrote:
> On Thu, 9 Mar 2006, Nicolas De Loof wrote:
>
> Hi,
>
> I think you should configure the maven proxy to just fetch and serve
> maven2 ibiblio content.
>
> You'll need either a 'front' httpd server with Url-rewriting
> from the old scheme to the new scheme (pointing to maven-proxy),
> or add a servlet (bind it to /maven/*), rewrite the URL yourself,
> and do a (internal-)redirect to the maven2 location (pointing, again,
> to the maven-proxy).
>
> Hope this helps!
>
> Btw, thanks for cc-ing the dev list again, gave me a chance to
> learn something I didn't know :)
>
> -- Kenney
>
> >
> > OK, so this is not a maven 1 feature but an ibiblio Apache server
> > "workaround".
> >
> > I'd like to migrate my private repo to maven2 structure, to avoid
> > duplicated, and I'm using maven-proxy.
> >
> > Can I (and how to) configure maven proxy for a similar use, if possible
> > ? Is an front apache server required ?
> >
> > Nico.
> >
> > Brett Porter a écrit :
> > > /me smacks head.
> > >
> > > At one point it finished with a 302, but now it does it all behind the
> > > scenes for Maven 1 to work properly. Sorry.
> > >
> > > You'll just have to trust me :)
> > >
> > > - Brett
> > >
> > > Arnaud HERITIER wrote:
> > >
> > >> It's a redirect but some rewritting rules on apache.
> > >>
> > >> Arnaud
> > >>
> > >> On 3/9/06, Nicolas De Loof <ni...@capgemini.com> wrote:
> > >>
> > >>> ???
> > >>> I've trie using Firefox "live http header" to get spring 2.0-m2 :
> > >>>
> > >>>
> > >>>
> > >>> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
> > >>>
> > >>> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
> > >>> Host: www.ibiblio.org
> > >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
> > >>> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
> > >>> Accept:
> > >>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> > >>> ,text/plain;q=0.8,image/png,*/*;q=0.5
> > >>> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> > >>> Accept-Encoding: gzip,deflate
> > >>> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > >>> Keep-Alive: 300
> > >>> Connection: keep-alive
> > >>> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
> > >>>
> > >>> HTTP/1.x 200 OK
> > >>> Connection: Keep-Alive
> > >>> Date: Thu, 09 Mar 2006 14:23:48 GMT
> > >>> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
> > >>> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
> > >>> Etag: "247976-25d9f-43e28774;440735c4"
> > >>> Accept-Ranges: bytes
> > >>> Content-Length: 155039
> > >>> Content-Type: text/plain
> > >>> X-Cache: MISS from www.ibiblio.org
> > >>> Age: 0
> > >>> ----------------------------------------------------------
> > >>>
> > >>> After carefully watching, I cannot detect any redirect to
> > >>> www.ibiblio.org/maven2 or anything else.
> > >>>
> > >>> Could you explain me what you expected ?
> > >>>
> > >>>
> > >>>
> > >>> Brett Porter a écrit :
> > >>>
> > >>>> It's already done.
> > >>>>
> > >>>> use wget -S or the http headers firefox extension to get a JAR from the
> > >>>> m1 repository and watch carefully.
> > >>>>
> > >>>> - Brett
> > >>>>
> > >>>> Nicolas De Loof wrote:
> > >>>>
> > >>>>
> > >>>>> Hello,
> > >>>>>
> > >>>>> AFAIK in m1, poms from central repository are not used (neither
> > >>>>>
> > >>> downloaded)
> > >>>
> > >>>>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
> > >>>>> repository ?
> > >>>>>
> > >>>>> This only means converting groupId(with".")/type(s)/artifactId-
> > >>>>>
> > >>> version.type
> > >>>
> > >>>>> to
> > >>>>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
> > >>>>>
> > >>>>> Why such an idea ? Because AFAIK m2 is built by converting m1
> > >>>>>
> > >>> artifacts.
> > >>>
> > >>>>> So m2 repo includes all m1 artifacts. But what if an artifact has been
> > >>>>> created in m2 repo but not in m1 ? And how long will we have 2
> > >>>>> repositories ?
> > >>>>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
> > >>>>> "legacy" repositories.
> > >>>>>
> > >>>>> maven 1.1+ could try to download using m2 repository structure, and
> > >>>>>
> > >>> fall
> > >>>
> > >>>>> back to legacy mode on failure.
> > >>>>>
> > >>>>> Is this a stupid idea ?
> > >>>>>
> > >>>>> Nico.
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> This message contains information that may be privileged or
> > >>>>>
> > >>> confidential
> > >>>
> > >>>>> and is the property of the Capgemini Group. It is intended only for the
> > >>>>> person to whom it is addressed. If you are not the intended recipient,
> > >>>>> you are not authorized to read, print, retain, copy, disseminate,
> > >>>>> distribute, or use this message or any part thereof. If you receive
> > >>>>> this message in error, please notify the sender immediately and delete
> > >>>>> all copies of this message.
> > >>>>>
> > >>>>>
> > >>>>> ---------------------------------------------------------------------
> > >>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > >>>>> For additional commands, e-mail: dev-help@maven.apache.org
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>> ---------------------------------------------------------------------
> > >>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > >>>> For additional commands, e-mail: dev-help@maven.apache.org
> > >>>>
> > >>>>
> > >>>>
> > >>> This message contains information that may be privileged or confidential
> > >>> and is the property of the Capgemini Group. It is intended only for the
> > >>> person to whom it is addressed. If you are not the intended recipient, you
> > >>> are not authorized to read, print, retain, copy, disseminate, distribute,
> > >>> or use this message or any part thereof. If you receive this message in
> > >>> error, please notify the sender immediately and delete all copies of this
> > >>> message.
> > >>>
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > >>> For additional commands, e-mail: dev-help@maven.apache.org
> > >>>
> > >>>
> > >>>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
> --
> Kenney Westerhof
> http://www.neonics.com
> GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Kenney Westerhof <ke...@apache.org>.
On Thu, 9 Mar 2006, Nicolas De Loof wrote:
Hi,
I think you should configure the maven proxy to just fetch and serve
maven2 ibiblio content.
You'll need either a 'front' httpd server with Url-rewriting
from the old scheme to the new scheme (pointing to maven-proxy),
or add a servlet (bind it to /maven/*), rewrite the URL yourself,
and do a (internal-)redirect to the maven2 location (pointing, again,
to the maven-proxy).
Hope this helps!
Btw, thanks for cc-ing the dev list again, gave me a chance to
learn something I didn't know :)
-- Kenney
>
> OK, so this is not a maven 1 feature but an ibiblio Apache server
> "workaround".
>
> I'd like to migrate my private repo to maven2 structure, to avoid
> duplicated, and I'm using maven-proxy.
>
> Can I (and how to) configure maven proxy for a similar use, if possible
> ? Is an front apache server required ?
>
> Nico.
>
> Brett Porter a écrit :
> > /me smacks head.
> >
> > At one point it finished with a 302, but now it does it all behind the
> > scenes for Maven 1 to work properly. Sorry.
> >
> > You'll just have to trust me :)
> >
> > - Brett
> >
> > Arnaud HERITIER wrote:
> >
> >> It's a redirect but some rewritting rules on apache.
> >>
> >> Arnaud
> >>
> >> On 3/9/06, Nicolas De Loof <ni...@capgemini.com> wrote:
> >>
> >>> ???
> >>> I've trie using Firefox "live http header" to get spring 2.0-m2 :
> >>>
> >>>
> >>>
> >>> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
> >>>
> >>> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
> >>> Host: www.ibiblio.org
> >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
> >>> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
> >>> Accept:
> >>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> >>> ,text/plain;q=0.8,image/png,*/*;q=0.5
> >>> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> >>> Accept-Encoding: gzip,deflate
> >>> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> >>> Keep-Alive: 300
> >>> Connection: keep-alive
> >>> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
> >>>
> >>> HTTP/1.x 200 OK
> >>> Connection: Keep-Alive
> >>> Date: Thu, 09 Mar 2006 14:23:48 GMT
> >>> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
> >>> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
> >>> Etag: "247976-25d9f-43e28774;440735c4"
> >>> Accept-Ranges: bytes
> >>> Content-Length: 155039
> >>> Content-Type: text/plain
> >>> X-Cache: MISS from www.ibiblio.org
> >>> Age: 0
> >>> ----------------------------------------------------------
> >>>
> >>> After carefully watching, I cannot detect any redirect to
> >>> www.ibiblio.org/maven2 or anything else.
> >>>
> >>> Could you explain me what you expected ?
> >>>
> >>>
> >>>
> >>> Brett Porter a écrit :
> >>>
> >>>> It's already done.
> >>>>
> >>>> use wget -S or the http headers firefox extension to get a JAR from the
> >>>> m1 repository and watch carefully.
> >>>>
> >>>> - Brett
> >>>>
> >>>> Nicolas De Loof wrote:
> >>>>
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> AFAIK in m1, poms from central repository are not used (neither
> >>>>>
> >>> downloaded)
> >>>
> >>>>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
> >>>>> repository ?
> >>>>>
> >>>>> This only means converting groupId(with".")/type(s)/artifactId-
> >>>>>
> >>> version.type
> >>>
> >>>>> to
> >>>>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
> >>>>>
> >>>>> Why such an idea ? Because AFAIK m2 is built by converting m1
> >>>>>
> >>> artifacts.
> >>>
> >>>>> So m2 repo includes all m1 artifacts. But what if an artifact has been
> >>>>> created in m2 repo but not in m1 ? And how long will we have 2
> >>>>> repositories ?
> >>>>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
> >>>>> "legacy" repositories.
> >>>>>
> >>>>> maven 1.1+ could try to download using m2 repository structure, and
> >>>>>
> >>> fall
> >>>
> >>>>> back to legacy mode on failure.
> >>>>>
> >>>>> Is this a stupid idea ?
> >>>>>
> >>>>> Nico.
> >>>>>
> >>>>>
> >>>>>
> >>>>> This message contains information that may be privileged or
> >>>>>
> >>> confidential
> >>>
> >>>>> and is the property of the Capgemini Group. It is intended only for the
> >>>>> person to whom it is addressed. If you are not the intended recipient,
> >>>>> you are not authorized to read, print, retain, copy, disseminate,
> >>>>> distribute, or use this message or any part thereof. If you receive
> >>>>> this message in error, please notify the sender immediately and delete
> >>>>> all copies of this message.
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>>
> >>>>
> >>>>
> >>> This message contains information that may be privileged or confidential
> >>> and is the property of the Capgemini Group. It is intended only for the
> >>> person to whom it is addressed. If you are not the intended recipient, you
> >>> are not authorized to read, print, retain, copy, disseminate, distribute,
> >>> or use this message or any part thereof. If you receive this message in
> >>> error, please notify the sender immediately and delete all copies of this
> >>> message.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: dev-help@maven.apache.org
> >>>
> >>>
> >>>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Nicolas De Loof <ni...@capgemini.com>.
OK, so this is not a maven 1 feature but an ibiblio Apache server
"workaround".
I'd like to migrate my private repo to maven2 structure, to avoid
duplicated, and I'm using maven-proxy.
Can I (and how to) configure maven proxy for a similar use, if possible
? Is an front apache server required ?
Nico.
Brett Porter a écrit :
> /me smacks head.
>
> At one point it finished with a 302, but now it does it all behind the
> scenes for Maven 1 to work properly. Sorry.
>
> You'll just have to trust me :)
>
> - Brett
>
> Arnaud HERITIER wrote:
>
>> It's a redirect but some rewritting rules on apache.
>>
>> Arnaud
>>
>> On 3/9/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>>
>>> ???
>>> I've trie using Firefox "live http header" to get spring 2.0-m2 :
>>>
>>>
>>>
>>> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
>>>
>>> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
>>> Host: www.ibiblio.org
>>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
>>> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
>>> Accept:
>>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
>>> ,text/plain;q=0.8,image/png,*/*;q=0.5
>>> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
>>> Accept-Encoding: gzip,deflate
>>> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>>> Keep-Alive: 300
>>> Connection: keep-alive
>>> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
>>>
>>> HTTP/1.x 200 OK
>>> Connection: Keep-Alive
>>> Date: Thu, 09 Mar 2006 14:23:48 GMT
>>> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
>>> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
>>> Etag: "247976-25d9f-43e28774;440735c4"
>>> Accept-Ranges: bytes
>>> Content-Length: 155039
>>> Content-Type: text/plain
>>> X-Cache: MISS from www.ibiblio.org
>>> Age: 0
>>> ----------------------------------------------------------
>>>
>>> After carefully watching, I cannot detect any redirect to
>>> www.ibiblio.org/maven2 or anything else.
>>>
>>> Could you explain me what you expected ?
>>>
>>>
>>>
>>> Brett Porter a écrit :
>>>
>>>> It's already done.
>>>>
>>>> use wget -S or the http headers firefox extension to get a JAR from the
>>>> m1 repository and watch carefully.
>>>>
>>>> - Brett
>>>>
>>>> Nicolas De Loof wrote:
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> AFAIK in m1, poms from central repository are not used (neither
>>>>>
>>> downloaded)
>>>
>>>>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
>>>>> repository ?
>>>>>
>>>>> This only means converting groupId(with".")/type(s)/artifactId-
>>>>>
>>> version.type
>>>
>>>>> to
>>>>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
>>>>>
>>>>> Why such an idea ? Because AFAIK m2 is built by converting m1
>>>>>
>>> artifacts.
>>>
>>>>> So m2 repo includes all m1 artifacts. But what if an artifact has been
>>>>> created in m2 repo but not in m1 ? And how long will we have 2
>>>>> repositories ?
>>>>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
>>>>> "legacy" repositories.
>>>>>
>>>>> maven 1.1+ could try to download using m2 repository structure, and
>>>>>
>>> fall
>>>
>>>>> back to legacy mode on failure.
>>>>>
>>>>> Is this a stupid idea ?
>>>>>
>>>>> Nico.
>>>>>
>>>>>
>>>>>
>>>>> This message contains information that may be privileged or
>>>>>
>>> confidential
>>>
>>>>> and is the property of the Capgemini Group. It is intended only for the
>>>>> person to whom it is addressed. If you are not the intended recipient,
>>>>> you are not authorized to read, print, retain, copy, disseminate,
>>>>> distribute, or use this message or any part thereof. If you receive
>>>>> this message in error, please notify the sender immediately and delete
>>>>> all copies of this message.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>
>>>>
>>> This message contains information that may be privileged or confidential
>>> and is the property of the Capgemini Group. It is intended only for the
>>> person to whom it is addressed. If you are not the intended recipient, you
>>> are not authorized to read, print, retain, copy, disseminate, distribute,
>>> or use this message or any part thereof. If you receive this message in
>>> error, please notify the sender immediately and delete all copies of this
>>> message.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Brett Porter <br...@apache.org>.
/me smacks head.
At one point it finished with a 302, but now it does it all behind the
scenes for Maven 1 to work properly. Sorry.
You'll just have to trust me :)
- Brett
Arnaud HERITIER wrote:
> It's a redirect but some rewritting rules on apache.
>
> Arnaud
>
> On 3/9/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>>
>> ???
>> I've trie using Firefox "live http header" to get spring 2.0-m2 :
>>
>>
>>
>> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
>>
>> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
>> Host: www.ibiblio.org
>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
>> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
>> Accept:
>> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
>> ,text/plain;q=0.8,image/png,*/*;q=0.5
>> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
>> Accept-Encoding: gzip,deflate
>> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>> Keep-Alive: 300
>> Connection: keep-alive
>> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
>>
>> HTTP/1.x 200 OK
>> Connection: Keep-Alive
>> Date: Thu, 09 Mar 2006 14:23:48 GMT
>> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
>> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
>> Etag: "247976-25d9f-43e28774;440735c4"
>> Accept-Ranges: bytes
>> Content-Length: 155039
>> Content-Type: text/plain
>> X-Cache: MISS from www.ibiblio.org
>> Age: 0
>> ----------------------------------------------------------
>>
>> After carefully watching, I cannot detect any redirect to
>> www.ibiblio.org/maven2 or anything else.
>>
>> Could you explain me what you expected ?
>>
>>
>>
>> Brett Porter a écrit :
>>> It's already done.
>>>
>>> use wget -S or the http headers firefox extension to get a JAR from the
>>> m1 repository and watch carefully.
>>>
>>> - Brett
>>>
>>> Nicolas De Loof wrote:
>>>
>>>> Hello,
>>>>
>>>> AFAIK in m1, poms from central repository are not used (neither
>> downloaded)
>>>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
>>>> repository ?
>>>>
>>>> This only means converting groupId(with".")/type(s)/artifactId-
>> version.type
>>>> to
>>>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
>>>>
>>>> Why such an idea ? Because AFAIK m2 is built by converting m1
>> artifacts.
>>>> So m2 repo includes all m1 artifacts. But what if an artifact has been
>>>> created in m2 repo but not in m1 ? And how long will we have 2
>>>> repositories ?
>>>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
>>>> "legacy" repositories.
>>>>
>>>> maven 1.1+ could try to download using m2 repository structure, and
>> fall
>>>> back to legacy mode on failure.
>>>>
>>>> Is this a stupid idea ?
>>>>
>>>> Nico.
>>>>
>>>>
>>>>
>>>> This message contains information that may be privileged or
>> confidential
>>>> and is the property of the Capgemini Group. It is intended only for the
>>>> person to whom it is addressed. If you are not the intended recipient,
>>>> you are not authorized to read, print, retain, copy, disseminate,
>>>> distribute, or use this message or any part thereof. If you receive
>>>> this message in error, please notify the sender immediately and delete
>>>> all copies of this message.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>> This message contains information that may be privileged or confidential
>> and is the property of the Capgemini Group. It is intended only for the
>> person to whom it is addressed. If you are not the intended recipient, you
>> are not authorized to read, print, retain, copy, disseminate, distribute,
>> or use this message or any part thereof. If you receive this message in
>> error, please notify the sender immediately and delete all copies of this
>> message.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Arnaud HERITIER <ah...@gmail.com>.
It's a redirect but some rewritting rules on apache.
Arnaud
On 3/9/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>
>
> ???
> I've trie using Firefox "live http header" to get spring 2.0-m2 :
>
>
>
> http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
>
> GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
> Host: www.ibiblio.org
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
> rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> ,text/plain;q=0.8,image/png,*/*;q=0.5
> Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://www.ibiblio.org/maven/org.springframework/jars/
>
> HTTP/1.x 200 OK
> Connection: Keep-Alive
> Date: Thu, 09 Mar 2006 14:23:48 GMT
> Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
> Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
> Etag: "247976-25d9f-43e28774;440735c4"
> Accept-Ranges: bytes
> Content-Length: 155039
> Content-Type: text/plain
> X-Cache: MISS from www.ibiblio.org
> Age: 0
> ----------------------------------------------------------
>
> After carefully watching, I cannot detect any redirect to
> www.ibiblio.org/maven2 or anything else.
>
> Could you explain me what you expected ?
>
>
>
> Brett Porter a écrit :
> > It's already done.
> >
> > use wget -S or the http headers firefox extension to get a JAR from the
> > m1 repository and watch carefully.
> >
> > - Brett
> >
> > Nicolas De Loof wrote:
> >
> >> Hello,
> >>
> >> AFAIK in m1, poms from central repository are not used (neither
> downloaded)
> >> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
> >> repository ?
> >>
> >> This only means converting groupId(with".")/type(s)/artifactId-
> version.type
> >> to
> >> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
> >>
> >> Why such an idea ? Because AFAIK m2 is built by converting m1
> artifacts.
> >> So m2 repo includes all m1 artifacts. But what if an artifact has been
> >> created in m2 repo but not in m1 ? And how long will we have 2
> >> repositories ?
> >> Making m1.1+ access m2 repo would make possible to deprecate m1-like
> >> "legacy" repositories.
> >>
> >> maven 1.1+ could try to download using m2 repository structure, and
> fall
> >> back to legacy mode on failure.
> >>
> >> Is this a stupid idea ?
> >>
> >> Nico.
> >>
> >>
> >>
> >> This message contains information that may be privileged or
> confidential
> >> and is the property of the Capgemini Group. It is intended only for the
> >> person to whom it is addressed. If you are not the intended recipient,
> >> you are not authorized to read, print, retain, copy, disseminate,
> >> distribute, or use this message or any part thereof. If you receive
> >> this message in error, please notify the sender immediately and delete
> >> all copies of this message.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: [m1] why not download from m2 repository ?
Posted by Nicolas De Loof <ni...@capgemini.com>.
???
I've trie using Firefox "live http header" to get spring 2.0-m2 :
http://www.ibiblio.org/maven/org.springframework/jars/spring-web-2.0-m2.jar
GET /maven/org.springframework/jars/spring-web-2.0-m2.jar HTTP/1.1
Host: www.ibiblio.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr;
rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.ibiblio.org/maven/org.springframework/jars/
HTTP/1.x 200 OK
Connection: Keep-Alive
Date: Thu, 09 Mar 2006 14:23:48 GMT
Server: Apache/1.3.33 (Unix) mod_choke/0.06 PHP/4.3.11
Last-Modified: Thu, 02 Feb 2006 22:28:04 GMT
Etag: "247976-25d9f-43e28774;440735c4"
Accept-Ranges: bytes
Content-Length: 155039
Content-Type: text/plain
X-Cache: MISS from www.ibiblio.org
Age: 0
----------------------------------------------------------
After carefully watching, I cannot detect any redirect to
www.ibiblio.org/maven2 or anything else.
Could you explain me what you expected ?
Brett Porter a écrit :
> It's already done.
>
> use wget -S or the http headers firefox extension to get a JAR from the
> m1 repository and watch carefully.
>
> - Brett
>
> Nicolas De Loof wrote:
>
>> Hello,
>>
>> AFAIK in m1, poms from central repository are not used (neither downloaded)
>> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
>> repository ?
>>
>> This only means converting groupId(with".")/type(s)/artifactId-version.type
>> to
>> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
>>
>> Why such an idea ? Because AFAIK m2 is built by converting m1 artifacts.
>> So m2 repo includes all m1 artifacts. But what if an artifact has been
>> created in m2 repo but not in m1 ? And how long will we have 2
>> repositories ?
>> Making m1.1+ access m2 repo would make possible to deprecate m1-like
>> "legacy" repositories.
>>
>> maven 1.1+ could try to download using m2 repository structure, and fall
>> back to legacy mode on failure.
>>
>> Is this a stupid idea ?
>>
>> Nico.
>>
>>
>>
>> This message contains information that may be privileged or confidential
>> and is the property of the Capgemini Group. It is intended only for the
>> person to whom it is addressed. If you are not the intended recipient,
>> you are not authorized to read, print, retain, copy, disseminate,
>> distribute, or use this message or any part thereof. If you receive
>> this message in error, please notify the sender immediately and delete
>> all copies of this message.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [m1] why not download from m2 repository ?
Posted by Brett Porter <br...@apache.org>.
It's already done.
use wget -S or the http headers firefox extension to get a JAR from the
m1 repository and watch carefully.
- Brett
Nicolas De Loof wrote:
>
> Hello,
>
> AFAIK in m1, poms from central repository are not used (neither downloaded)
> Could'nt m1.1+ be enhanced to download dependencies from a m2-styled
> repository ?
>
> This only means converting groupId(with".")/type(s)/artifactId-version.type
> to
> groupId(with"/")/artifactId/version/type(s)/artifactId-version.type
>
> Why such an idea ? Because AFAIK m2 is built by converting m1 artifacts.
> So m2 repo includes all m1 artifacts. But what if an artifact has been
> created in m2 repo but not in m1 ? And how long will we have 2
> repositories ?
> Making m1.1+ access m2 repo would make possible to deprecate m1-like
> "legacy" repositories.
>
> maven 1.1+ could try to download using m2 repository structure, and fall
> back to legacy mode on failure.
>
> Is this a stupid idea ?
>
> Nico.
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain, copy, disseminate,
> distribute, or use this message or any part thereof. If you receive
> this message in error, please notify the sender immediately and delete
> all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org