You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Peter Donald <pe...@realityforge.org> on 2003/09/25 04:56:56 UTC

Repository Code

Hi,

I would like to use Mavens repository code in a few other applications. To do 
this what I would like to do is separate out the repository, fetching, 
verifying code into a separate component.

I have had a look at the current codebase and what documentation I could find. 
ie

http://wiki.codehaus.org/maven/ArtifactRepository
http://wiki.codehaus.org/maven/IdGroupIdArtifactId
http://wiki.codehaus.org/maven/ArtifactDownloading

What I want to do is essentially grab what you have now and extend it in a few 
wierd and wonderful ways. Essentially what I want to do is enable alternative 
mechanisms for downloading remote artefacts. I also want to extend the 
mechanism via which artefacts are matched so that you can *optionally* 
support things like "request artefact version 1.1 and get reference to 
1.1.1". This may not be used by Maven but is useful in other contexts.

I want it to be extensively unit tested and will most likely develope it using 
TDD for the most part. However I expect that it will regularly be broken as I 
experiment with different techniques and designs. 

So I guess I was wondering how you want to me to do this. I would like maven 
to eventually use this once it stabilizes but in the meantime it is probably 
best it evolves independently. 

Would the best way to do this for me to just build it independently and then 
either donate it to maven at later stage or something?

-- 
Cheers,

Peter Donald
-----------------------------------------------
"Only two things are infinite, the universe and 
human stupidity, and I'm not sure about the 
former." -Albert Einstein 
----------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by Robert Leland <rl...@apache.org>.
Peter Donald wrote:

>Hi,
>
>I would like to use Mavens repository code in a few other applications. To do 
>this what I would like to do is separate out the repository, fetching, 
>verifying code into a separate component.
>  
>
Have you seen ?

http://www.fedora.info


>I have had a look at the current codebase and what documentation I could find. 
>ie
>
>http://wiki.codehaus.org/maven/ArtifactRepository
>http://wiki.codehaus.org/maven/IdGroupIdArtifactId
>http://wiki.codehaus.org/maven/ArtifactDownloading
>
>What I want to do is essentially grab what you have now and extend it in a few 
>wierd and wonderful ways. Essentially what I want to do is enable alternative 
>mechanisms for downloading remote artefacts. I also want to extend the 
>mechanism via which artefacts are matched so that you can *optionally* 
>support things like "request artefact version 1.1 and get reference to 
>1.1.1". This may not be used by Maven but is useful in other contexts.
>
>I want it to be extensively unit tested and will most likely develope it using 
>TDD for the most part. However I expect that it will regularly be broken as I 
>experiment with different techniques and designs. 
>
>So I guess I was wondering how you want to me to do this. I would like maven 
>to eventually use this once it stabilizes but in the meantime it is probably 
>best it evolves independently. 
>
>Would the best way to do this for me to just build it independently and then 
>either donate it to maven at later stage or something?
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by Jason van Zyl <jv...@maven.org>.
On Thu, 2003-09-25 at 02:43, Peter Donald wrote:
> On Thu, 25 Sep 2003 02:08 pm, Jason van Zyl wrote:
> > > I would like to use Mavens repository code in a few other applications.
> > > To do this what I would like to do is separate out the repository,
> > > fetching, verifying code into a separate component.
> >
> > Soon after 1.0 some components will be released for integration into the
> > general maven codebase. One of them specifically deals with artifact
> > handling and is meant to be a reusable in other applications. I assume
> > you want the exact same thing I'm looking for and that's integration
> > with a container :-)
> 
> Sounds good. Can you point me at this - I am quite willing to do the work for 
> you. I just prefer to tackle this earlier rather than later.

It's something that Michal and I have been working on but it will not be
released into the public eye without documentation. It's essentially the
artifact tool chain that was present in maven-new.

-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by Peter Donald <pe...@realityforge.org>.
On Thu, 25 Sep 2003 02:08 pm, Jason van Zyl wrote:
> > I would like to use Mavens repository code in a few other applications.
> > To do this what I would like to do is separate out the repository,
> > fetching, verifying code into a separate component.
>
> Soon after 1.0 some components will be released for integration into the
> general maven codebase. One of them specifically deals with artifact
> handling and is meant to be a reusable in other applications. I assume
> you want the exact same thing I'm looking for and that's integration
> with a container :-)

Sounds good. Can you point me at this - I am quite willing to do the work for 
you. I just prefer to tackle this earlier rather than later.

-- 
Cheers,

Peter Donald
-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
----------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by Jason van Zyl <jv...@maven.org>.
On Wed, 2003-09-24 at 22:56, Peter Donald wrote:
> Hi,
> 
> I would like to use Mavens repository code in a few other applications. To do 
> this what I would like to do is separate out the repository, fetching, 
> verifying code into a separate component.

Soon after 1.0 some components will be released for integration into the
general maven codebase. One of them specifically deals with artifact
handling and is meant to be a reusable in other applications. I assume
you want the exact same thing I'm looking for and that's integration
with a container :-)

> I have had a look at the current codebase and what documentation I could find. 
> ie
> 
> http://wiki.codehaus.org/maven/ArtifactRepository
> http://wiki.codehaus.org/maven/IdGroupIdArtifactId
> http://wiki.codehaus.org/maven/ArtifactDownloading
> 
> What I want to do is essentially grab what you have now and extend it in a few 
> wierd and wonderful ways. Essentially what I want to do is enable alternative 
> mechanisms for downloading remote artefacts. I also want to extend the 
> mechanism via which artefacts are matched so that you can *optionally* 
> support things like "request artefact version 1.1 and get reference to 
> 1.1.1". This may not be used by Maven but is useful in other contexts.
> 
> I want it to be extensively unit tested and will most likely develope it using 
> TDD for the most part. However I expect that it will regularly be broken as I 
> experiment with different techniques and designs. 
> 
> So I guess I was wondering how you want to me to do this. I would like maven 
> to eventually use this once it stabilizes but in the meantime it is probably 
> best it evolves independently. 
> 
> Would the best way to do this for me to just build it independently and then 
> either donate it to maven at later stage or something?
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by Jason van Zyl <jv...@maven.org>.
On Thu, 2003-09-25 at 02:44, Peter Donald wrote:
> On Thu, 25 Sep 2003 02:28 pm, dion@multitask.com.au wrote:
> > Have you seen maven-fetch?
> 
> Nope - a quick grep through the CVS didn't turn up anything and I haven't been 
> subscribed to list for long. Want to point me at it ? TIA :)

There's nothing in maven-new, everything in there has been harvested and
the that repo will get axed soon enough I've just left it there for the
time being so that anyone who wanted to remove anything could.

-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by di...@multitask.com.au.
http://cvs.apache.org/viewcvs.cgi/maven-new/fetch/
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Peter Donald <pe...@realityforge.org> wrote on 25/09/2003 04:44:25 PM:

> On Thu, 25 Sep 2003 02:28 pm, dion@multitask.com.au wrote:
> > Have you seen maven-fetch?
> 
> Nope - a quick grep through the CVS didn't turn up anything and I 
> haven't been 
> subscribed to list for long. Want to point me at it ? TIA :)
> 
> -- 
> Cheers,
> 
> Peter Donald
> Einstein argued that there must be simplified explanations of nature, 
because
> God is not capricious or arbitrary.  No such faith comforts the software
> engineer.
> - Fred Brooks, Jr.
> 
> 
> ---------------------------------------------------------------------
> 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: Repository Code

Posted by Peter Donald <pe...@realityforge.org>.
On Thu, 25 Sep 2003 02:28 pm, dion@multitask.com.au wrote:
> Have you seen maven-fetch?

Nope - a quick grep through the CVS didn't turn up anything and I haven't been 
subscribed to list for long. Want to point me at it ? TIA :)

-- 
Cheers,

Peter Donald
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary.  No such faith comforts the software
engineer.
- Fred Brooks, Jr.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Repository Code

Posted by di...@multitask.com.au.
Have you seen maven-fetch?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Peter Donald <pe...@realityforge.org> wrote on 25/09/2003 12:56:56 PM:

> Hi,
> 
> I would like to use Mavens repository code in a few other applications. 
To do 
> this what I would like to do is separate out the repository, fetching, 
> verifying code into a separate component.
> 
> I have had a look at the current codebase and what documentation I 
> could find. 
> ie
> 
> http://wiki.codehaus.org/maven/ArtifactRepository
> http://wiki.codehaus.org/maven/IdGroupIdArtifactId
> http://wiki.codehaus.org/maven/ArtifactDownloading
> 
> What I want to do is essentially grab what you have now and extend 
> it in a few 
> wierd and wonderful ways. Essentially what I want to do is enable 
alternative 
> mechanisms for downloading remote artefacts. I also want to extend the 
> mechanism via which artefacts are matched so that you can *optionally* 
> support things like "request artefact version 1.1 and get reference to 
> 1.1.1". This may not be used by Maven but is useful in other contexts.
> 
> I want it to be extensively unit tested and will most likely 
> develope it using 
> TDD for the most part. However I expect that it will regularly be broken 
as I 
> experiment with different techniques and designs. 
> 
> So I guess I was wondering how you want to me to do this. I would like 
maven 
> to eventually use this once it stabilizes but in the meantime it is 
probably 
> best it evolves independently. 
> 
> Would the best way to do this for me to just build it independently and 
then 
> either donate it to maven at later stage or something?
> 
> -- 
> Cheers,
> 
> Peter Donald
> -----------------------------------------------
> "Only two things are infinite, the universe and 
> human stupidity, and I'm not sure about the 
> former." -Albert Einstein 
> ----------------------------------------------- 
> 
> 
> ---------------------------------------------------------------------
> 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