Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
Oh yes I understand. I didn't think deep enough. My tutor needs this set of triplets. If I do not need the dependency information of the whole repo, just the triplets with timestamp, is there a way to get this? If not can I do this someway with the central repo only? Or maybe create a local repo an

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
Hi, it's not feasible at all. You'd need to _resolve_ all the existing POMs into effective POMs, to be able to build the "edges" you mention in way you want. Moreover, it's not that simple, think platform specific profiles (hence, edges changes as you change the platform you evaluate aganst), etc.

Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
Yes I already read about Aether. I know that if I use this I can get the tree, and that should be enough to visualize, but the part of the thesis is to get artifacts information (triples) into a DB from a repo for further analysis. Is this possible somehow? Thank you! Br, Ogi 2011/11/15 Tamás Cs

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
Hm, well then, your need seems "bloated". You don't need _whole_ Central Repository GAVs at all (what for? to use 1%, 5% or 10% of it in best case?)... Let's reverse your problem: Just create those "local POMs" first, and use Aether [1] to resolve it's dependencies and persist somehow the resulti

Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
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 spe

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
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

Re: browsing maven repo

2011-11-14 Thread Ognjen Bubalo
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 bi

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
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,

Re: browsing maven repo

2011-11-14 Thread Ognjen Bubalo
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://sea

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
Hm, a typo: Maven3 (nor Maven2) does not... Thanks, ~t~ 2011/11/14 Tamás Cservenák : > 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 us

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
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 th

browsing maven repo

2011-11-14 Thread Ognjen Bubalo
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