Hi!

Hmm, the only way to get the dependencies is to look into the POM files I
think. I know this is too much maybe.
Yes I would like to have all the triplets in my DB and it would be really
good if I could show the whole graph. If I add my local POM which depends
on some other projects in this specific repository then I have to see for
example in a different color the dependency tree inside the big graph.

So if we give some other local POMs we can see the differences in the
dependency trees. For example if we give 2 POMs which diffs only in
versions or only in used dependencies (or their versions) we can see
visually that there can be an affect on our project a difference between 2
versions of a third party library.

You mean that dependency trees do not always "stay" in one repository? Yes
then there would be a cut in the tree. I think the Central repo would be
"enough" :) first.

Thank you very much!

Ogi

2011/11/15 Tamás Cservenák <[email protected]>

> 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 <[email protected]>
> 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 <[email protected]>
> >
> >> 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 <[email protected]>
> >> 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 <[email protected]>
> >> >
> >> >> Hm,
> >> >>
> >> >> a typo:
> >> >>
> >> >> Maven3 (nor Maven2) does not...
> >> >>
> >> >>
> >> >> Thanks,
> >> >> ~t~
> >> >>
> >> >> 2011/11/14 Tamás Cservenák <[email protected]>:
> >> >> > 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 <
> [email protected]>
> >> >> 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: [email protected]
> >> >> For additional commands, e-mail: [email protected]
> >> >>
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to