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]
