Re: [embedder] Retrieving available versions of an artifact

2007-04-07 Thread Jason van Zyl
On 6 Apr 07, at 1:48 PM 6 Apr 07, Carlos Sanchez wrote: I opened MNG-2940 The only methods I see using MavenExecutionRequest is execute and readProjectWithDependencies. I don't see how useful would be using it as parameter. It's very useful. Those two methods demonstrate execution vs non- e

Re: [embedder] Retrieving available versions of an artifact

2007-04-06 Thread Carlos Sanchez
I opened MNG-2940 The only methods I see using MavenExecutionRequest is execute and readProjectWithDependencies. I don't see how useful would be using it as parameter. Same to return MavenExecutionResult, there's no project or reactor, and to encapsulate the possible exceptions, they are already

Re: [embedder] Retrieving available versions of an artifact

2007-04-05 Thread Jason van Zyl
On 5 Apr 07, at 12:56 PM 5 Apr 07, Carlos Sanchez wrote: On 4/5/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: On 5 Apr 07, at 12:26 PM 5 Apr 07, Carlos Sanchez wrote: > I need it the same way the cli would do it, for version ranges, > snapshots,... I need the metadatasource > You still haven

Re: [embedder] Retrieving available versions of an artifact

2007-04-05 Thread Carlos Sanchez
On 4/5/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: On 5 Apr 07, at 12:26 PM 5 Apr 07, Carlos Sanchez wrote: > I need it the same way the cli would do it, for version ranges, > snapshots,... I need the metadatasource > You still haven't answered the question as to the specific use case. it's

Re: [embedder] Retrieving available versions of an artifact

2007-04-05 Thread Jason van Zyl
On 5 Apr 07, at 12:26 PM 5 Apr 07, Carlos Sanchez wrote: I need it the same way the cli would do it, for version ranges, snapshots,... I need the metadatasource You still haven't answered the question as to the specific use case. It is already abstracted in ArtifactMetadataSource interface

Re: [embedder] Retrieving available versions of an artifact

2007-04-05 Thread Carlos Sanchez
I need it the same way the cli would do it, for version ranges, snapshots,... I need the metadatasource It is already abstracted in ArtifactMetadataSource interface, so if you want to add the index as another source right now you'd just need to make a new implementation. On 4/3/07, Jason van Zyl

Re: [embedder] Retrieving available versions of an artifact

2007-04-03 Thread Jason van Zyl
On 3 Apr 07, at 4:55 PM 3 Apr 07, Carlos Sanchez wrote: I need this to get a list of versions available for an artifact. I want to do it the same way maven does to avoid inconsistencies, so the index is not an option. If this is for releases which is probably what the you want there are no i

Re: [embedder] Retrieving available versions of an artifact

2007-04-03 Thread Carlos Sanchez
I need this to get a list of versions available for an artifact. I want to do it the same way maven does to avoid inconsistencies, so the index is not an option. On 4/2/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: On 2 Apr 07, at 8:22 PM 2 Apr 07, Carlos Sanchez wrote: > I haven't found a dire

Re: [embedder] Retrieving available versions of an artifact

2007-04-02 Thread Jason van Zyl
On 2 Apr 07, at 8:22 PM 2 Apr 07, Carlos Sanchez wrote: I haven't found a direct way to retrieve the ArtifactMetadataSource instance to retrieve the list of available versions in the repository, I have to explicitly look it up in the plexus container. Did I miss something? if not it would be u

[embedder] Retrieving available versions of an artifact

2007-04-02 Thread Carlos Sanchez
I haven't found a direct way to retrieve the ArtifactMetadataSource instance to retrieve the list of available versions in the repository, I have to explicitly look it up in the plexus container. Did I miss something? if not it would be useful to expose the ArtifactMetadataSource or add a getAvai