You are viewing a plain text version of this content. The canonical link for it is here.
Posted to repository@apache.org by Peter Kriens <Pe...@aQute.biz> on 2007/05/22 16:28:35 UTC
Repository format
I am trying to create a utility that allows you to download maven jar
files from a url and add OSGi headers, for example:
bnd:asm.asm-3.0
To make this work reliably, I need a definition of the repository
structure. However, I can not find such a document through Google. Can
anyone in this list help me out?
Kind regards,
Peter Kriens
CS> The pom for poi 3.0-FINAL is not correct.
CS> I see that you use the new groupId org.apache.poi, if you use it then
CS> we need to put pom and jar in
CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi
CS> instead of
CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/poi
CS> I've attached here how the pom should be
CS> http://jira.codehaus.org/browse/MEV-522
CS> If you agree I can do the changes and get it fixed, but you have to
CS> commit the pom in svn for next versions and make sure you use the new
CS> location.
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
Re[4]: Repository format
Posted by Peter Kriens <Pe...@aQute.biz>.
I guess I was looking for something like this :-)
Thanks for all the other links, I'll take a look.
Kind regards,
Peter Kriens
BP> On 23/05/2007, at 2:54 AM, Peter Kriens wrote:
>> Do I understand from your mail that no such specification exists,
>> except in the source code?
>>
BP> http://docs.codehaus.org/display/MAVEN/Repository+Layout+-+Final
BP> - Brett
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
Re: Re[2]: Repository format
Posted by Brett Porter <br...@apache.org>.
On 23/05/2007, at 2:54 AM, Peter Kriens wrote:
> Do I understand from your mail that no such specification exists,
> except in the source code?
>
http://docs.codehaus.org/display/MAVEN/Repository+Layout+-+Final
- Brett
Re: Re[2]: Repository format
Posted by Guillaume Nodet <gn...@gmail.com>.
You can also take a look at
http://svn.apache.org/repos/asf/geronimo/server/trunk/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/
On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
>
> Well, I am not running inside maven ... I want to create an
> independent downloader via a url because this allows existing
> frameworks to download bundles from a maven repo while automatically
> getting OSGi headers.
>
> However, I would like to write this application against a
> specification of the repository format (naming, directory layout,
> files, etc). I can guess, but I see a lot of variation and files I do
> not understand their meaning of.
>
> Do I understand from your mail that no such specification exists,
> except in the source code?
>
> Kind regards,
>
> Peter Kriens
>
> CS> do you mean like it's already done in the felix bundle plugin
> CS> bundleall and wrap goals ?
>
> CS> There's either that or the maven-downloader library
> CS>
> http://svn.apache.org/viewvc/maven/shared/trunk/maven-downloader/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
>
>
> CS> On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
> >> I am trying to create a utility that allows you to download maven jar
> >> files from a url and add OSGi headers, for example:
> >>
> >> bnd:asm.asm-3.0
> >>
> >> To make this work reliably, I need a definition of the repository
> >> structure. However, I can not find such a document through Google. Can
> >> anyone in this list help me out?
> >>
> >> Kind regards,
> >>
> >> Peter Kriens
> >>
> >>
> >>
> >> CS> The pom for poi 3.0-FINAL is not correct.
> >>
> >> CS> I see that you use the new groupId org.apache.poi, if you use it
> then
> >> CS> we need to put pom and jar in
> >> CS>
> http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi
> >> CS> instead of
> >> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/poi
> >>
> >> CS> I've attached here how the pom should be
> >> CS> http://jira.codehaus.org/browse/MEV-522
> >>
> >> CS> If you agree I can do the changes and get it fixed, but you have to
> >> CS> commit the pom in svn for next versions and make sure you use the
> new
> >> CS> location.
> >>
> >>
> >>
> >> --
> >> Peter Kriens Tel +33467542167
> >> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
> >> 34160 Beaulieu, France ICQ 255570717
> >> Skype pkriens Fax +1 8153772599
> >>
> >>
>
>
>
>
> --
> Peter Kriens Tel +33467542167
> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
> 34160 Beaulieu, France ICQ 255570717
> Skype pkriens Fax +1 8153772599
>
>
--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/
Re: Re[2]: Repository format
Posted by Steve Loughran <st...@gmail.com>.
On 22/05/07, Peter Kriens <Pe...@aqute.biz> wrote:
> Well, I am not running inside maven ... I want to create an
> independent downloader via a url because this allows existing
> frameworks to download bundles from a maven repo while automatically
> getting OSGi headers.
>
> However, I would like to write this application against a
> specification of the repository format (naming, directory layout,
> files, etc). I can guess, but I see a lot of variation and files I do
> not understand their meaning of.
>
> Do I understand from your mail that no such specification exists,
> except in the source code?
well, the tests consitute a formal specification against which you can code :)
I have my own impl of the m1 and m2 layout policies, and that of the
ivy local cache too. You can use it, but it is LGPL:
http://svn.sourceforge.net/viewvc/smartfrog/trunk/core/smartfrog/src/org/smartfrog/services/os/java/
This design has the local and remote layouts set by policy classes,
that something else uses to do the retrieval...this makes the cost of
switching to a new layout policy (like the ivy local one) fairly low;
you just write a new policy and some tests.
-steve
Re: Re[2]: Repository format
Posted by Carlos Sanchez <ca...@apache.org>.
You don't need to run inside maven to use these libraries, but I guess
what you are looking for is
https://svn.apache.org/repos/asf/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java
I don't think there's a spec.
On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
> Well, I am not running inside maven ... I want to create an
> independent downloader via a url because this allows existing
> frameworks to download bundles from a maven repo while automatically
> getting OSGi headers.
>
> However, I would like to write this application against a
> specification of the repository format (naming, directory layout,
> files, etc). I can guess, but I see a lot of variation and files I do
> not understand their meaning of.
>
> Do I understand from your mail that no such specification exists,
> except in the source code?
>
> Kind regards,
>
> Peter Kriens
>
> CS> do you mean like it's already done in the felix bundle plugin
> CS> bundleall and wrap goals ?
>
> CS> There's either that or the maven-downloader library
> CS> http://svn.apache.org/viewvc/maven/shared/trunk/maven-downloader/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
>
>
> CS> On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
> >> I am trying to create a utility that allows you to download maven jar
> >> files from a url and add OSGi headers, for example:
> >>
> >> bnd:asm.asm-3.0
> >>
> >> To make this work reliably, I need a definition of the repository
> >> structure. However, I can not find such a document through Google. Can
> >> anyone in this list help me out?
> >>
> >> Kind regards,
> >>
> >> Peter Kriens
> >>
> >>
> >>
> >> CS> The pom for poi 3.0-FINAL is not correct.
> >>
> >> CS> I see that you use the new groupId org.apache.poi, if you use it then
> >> CS> we need to put pom and jar in
> >> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi
> >> CS> instead of
> >> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/poi
> >>
> >> CS> I've attached here how the pom should be
> >> CS> http://jira.codehaus.org/browse/MEV-522
> >>
> >> CS> If you agree I can do the changes and get it fixed, but you have to
> >> CS> commit the pom in svn for next versions and make sure you use the new
> >> CS> location.
> >>
> >>
> >>
> >> --
> >> Peter Kriens Tel +33467542167
> >> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
> >> 34160 Beaulieu, France ICQ 255570717
> >> Skype pkriens Fax +1 8153772599
> >>
> >>
>
>
>
>
> --
> Peter Kriens Tel +33467542167
> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
> 34160 Beaulieu, France ICQ 255570717
> Skype pkriens Fax +1 8153772599
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
Re[2]: Repository format
Posted by Peter Kriens <Pe...@aQute.biz>.
Well, I am not running inside maven ... I want to create an
independent downloader via a url because this allows existing
frameworks to download bundles from a maven repo while automatically
getting OSGi headers.
However, I would like to write this application against a
specification of the repository format (naming, directory layout,
files, etc). I can guess, but I see a lot of variation and files I do
not understand their meaning of.
Do I understand from your mail that no such specification exists,
except in the source code?
Kind regards,
Peter Kriens
CS> do you mean like it's already done in the felix bundle plugin
CS> bundleall and wrap goals ?
CS> There's either that or the maven-downloader library
CS> http://svn.apache.org/viewvc/maven/shared/trunk/maven-downloader/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
CS> On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
>> I am trying to create a utility that allows you to download maven jar
>> files from a url and add OSGi headers, for example:
>>
>> bnd:asm.asm-3.0
>>
>> To make this work reliably, I need a definition of the repository
>> structure. However, I can not find such a document through Google. Can
>> anyone in this list help me out?
>>
>> Kind regards,
>>
>> Peter Kriens
>>
>>
>>
>> CS> The pom for poi 3.0-FINAL is not correct.
>>
>> CS> I see that you use the new groupId org.apache.poi, if you use it then
>> CS> we need to put pom and jar in
>> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi
>> CS> instead of
>> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/poi
>>
>> CS> I've attached here how the pom should be
>> CS> http://jira.codehaus.org/browse/MEV-522
>>
>> CS> If you agree I can do the changes and get it fixed, but you have to
>> CS> commit the pom in svn for next versions and make sure you use the new
>> CS> location.
>>
>>
>>
>> --
>> Peter Kriens Tel +33467542167
>> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
>> 34160 Beaulieu, France ICQ 255570717
>> Skype pkriens Fax +1 8153772599
>>
>>
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
Re: Repository format
Posted by Carlos Sanchez <ca...@apache.org>.
do you mean like it's already done in the felix bundle plugin
bundleall and wrap goals ?
There's either that or the maven-downloader library
http://svn.apache.org/viewvc/maven/shared/trunk/maven-downloader/src/main/java/org/apache/maven/shared/downloader/DefaultDownloader.java
On 5/22/07, Peter Kriens <Pe...@aqute.biz> wrote:
> I am trying to create a utility that allows you to download maven jar
> files from a url and add OSGi headers, for example:
>
> bnd:asm.asm-3.0
>
> To make this work reliably, I need a definition of the repository
> structure. However, I can not find such a document through Google. Can
> anyone in this list help me out?
>
> Kind regards,
>
> Peter Kriens
>
>
>
> CS> The pom for poi 3.0-FINAL is not correct.
>
> CS> I see that you use the new groupId org.apache.poi, if you use it then
> CS> we need to put pom and jar in
> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.poi
> CS> instead of
> CS> http://people.apache.org/repo/m1-ibiblio-rsync-repository/poi
>
> CS> I've attached here how the pom should be
> CS> http://jira.codehaus.org/browse/MEV-522
>
> CS> If you agree I can do the changes and get it fixed, but you have to
> CS> commit the pom in svn for next versions and make sure you use the new
> CS> location.
>
>
>
> --
> Peter Kriens Tel +33467542167
> 9C, Avenue St. Drézéry AOL,Yahoo: pkriens
> 34160 Beaulieu, France ICQ 255570717
> Skype pkriens Fax +1 8153772599
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride