Ogi,

this is a bit incomplete :) I understand you want the triplets
(triplets? What about classifiers?), but Indexer does not have any
information about dependencies (edges in your case).

Also, what for is the tree-like big graph needed?
Are you sure you need the graph of one whole repository?

I still don't get your ultimate problem you try to solve, nor see the
value of having this tree-like graph of whole repository, since on
repository level, there is no constraint of whatsoever... repositories
_tend_ to contain interdependent artifacts, but it's not a requirement
at all. Or you are targeting Central Repository specifically (that one
has a weak requirement to not contain artifacts pointing "outside" of
it)? Or...


Thanks,
~t~

On Mon, Nov 14, 2011 at 6:58 PM, Ognjen Bubalo <ogi.wer...@gmail.com> wrote:
> Hi!
>
> Yes I understand.
> So, I would like to get from a repository all the groupId, artifactId,
> version "3s" and put it into an SQL DB. Then I want to draw a graph using
> my DB (POM = node, dependency = edge), and finally I want to put in my
> local POM and see how the dependency tree looklike in the big graph. I need
> this for my thesis. So I need the information somehow what 3s are on a
> repository.
>
> Thank you!
>
> Ogi
>
> Ps: Puno ti hvala :). Harom nyelven is mehet a beszelgetes :)
>
> 2011/11/14 Tamás Cservenák <ta...@cservenak.net>
>
>> Hi,
>>
>> well, as I said, on remote reposes Indexer can't do much IF index is
>> not published. And crawling a repo is considered a bad behavior, so be
>> polite! :)
>>
>> Could you describe a bit more about your use case?
>>
>>
>> Thanks,
>> ~t~
>>
>> PS: Ma nema problema Ogi, i drugi put! Moze i direktno :D
>>
>>
>> On Mon, Nov 14, 2011 at 6:39 PM, Ognjen Bubalo <ogi.wer...@gmail.com>
>> wrote:
>> > Thank you (Koszonom) for your response!
>> >
>> > By given repository I mean a remote repository address (http,https..). I
>> > thought that Nexus Indexer can only manage local repo. Anyway, if I
>> > understand, indexing a repo is done on the repo side, and I cannot use it
>> > for sure.
>> > I need something like: http://search.maven.org/#api, but I have 2
>> problem
>> > with this API:
>> >  1. I cannot get in an xml or json the whole artifacts information set
>> > (select *), only if I search for a specific artifact or group.
>> >  2. This works maybe only on this repo, I need something for my
>> application
>> > (an API or another application), to explore any remote repository
>> > programmatically (using java code). One repository is good for a start
>> also
>> > if there is a solution.
>> >
>> > I am new in this world, please excuse me.
>> >
>> > Thank you very much!
>> >
>> > Br, Ogi
>> >
>> > 2011/11/14 Tamás Cservenák <ta...@cservenak.net>
>> >
>> >> Hm,
>> >>
>> >> a typo:
>> >>
>> >> Maven3 (nor Maven2) does not...
>> >>
>> >>
>> >> Thanks,
>> >> ~t~
>> >>
>> >> 2011/11/14 Tamás Cservenák <ta...@cservenak.net>:
>> >> > Hi Ogi,
>> >> >
>> >> > Maven3 (not was Maven2) does not use or consume or need index at
>> all...
>> >> >
>> >> > For indexer API uses you can see some examples here:
>> >> > https://github.com/cstamas/maven-indexer-examples
>> >> >
>> >> > For CLI uses (to create indexes for repositories), unsure is there any
>> >> > up to date doco, but just gleaning over the CLI source should work:
>> >> >
>> >>
>> https://github.com/apache/maven-indexer/blob/trunk/indexer-core/src/main/java/org/apache/maven/index/cli/NexusIndexerCli.java
>> >> >
>> >> > Now the question is: is "given repository" you mention under your
>> >> > governance or not... since if it's NOT and it does NOT publish indexes
>> >> > either, Maven Indexer will not help you.
>> >> >
>> >> >
>> >> > Thanks,
>> >> > ~t~
>> >> >
>> >> >
>> >> > On Mon, Nov 14, 2011 at 5:57 PM, Ognjen Bubalo <ogi.wer...@gmail.com>
>> >> wrote:
>> >> >> Hi!
>> >> >>
>> >> >> I would like to get a list of all artifacts placed in a given
>> >> repository. I
>> >> >> think I could use Maven Indexer but I am not sure it works with
>> Maven 3.
>> >> >> Also I couldn't find any example using Maven Indexer, to know where
>> to
>> >> >> start. I would appreciate if somebody put me on right direction,
>> >> recommend
>> >> >> something.
>> >> >>
>> >> >> Thank you!
>> >> >>
>> >> >> Br, Ogi
>> >> >>
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to