Artifactory supports Nexus indexes starting with the 1.3.0 betas. If your remote repositories do not provide an index (like the JBoss repo), Artifactory will index the locally cached artifacts of that repository as a fallback. Since you indicate your local JBoss cache is empty, there's nothing to index, hence the empty results. You need to pull in some remote artifacts form the JBoss repo first (e.g., by running mvn against a project than needs dependencies from it), then you can expect some content in the index. (it's probably best to use the Artifactory users list for Artifactory specific questions).
Yoav buters wrote: > > Thank you very much Jason, > > I use m2eclipse and Artifactory, but I don't quite understand how I can > customize that better. It works prima with local and central repositories, > but with another as jboss one not. It seems as if Artifactory accepts > these, but if I try to find an artifact from e.g. the jboss repository > with eclipse "Add dependency", eclipse cannot find it if it's no copy in > central one. Or I've not tested it often enough. Until now it runs only > via central repository. All other repositories of Artifactory are empty. > > Probably Nexus does it clever. > Best regards, buters > > > Jason van Zyl-2 wrote: >> >> If you're talking about m2eclipse, then it's the Nexus index that you >> need, and you can index any Maven repository using either Nexus >> (nexus.sonatype.org), or just use the stand-alone indexer. m2eclipse >> uses the Nexus index to process your local repository. If you want >> JBoss artifacts to be made available ask them to index their maven >> repositories using Nexus. >> >> On 6-Jul-08, at 12:40 PM, buters wrote: >> >>> >>> Thank you very much Tim. >>> >>> But it would be fine if you me explain, why am I not able to index any >>> repository with Maven Index in eclipse besides central, local and from >>> Artifactory. If I try Add Dependency to my project, that doesn't >>> exist in >>> one of these repositories, eclipse doesn't find this plugin, though >>> I've >>> defined repository in my pom.xml. Or I must ignore eclipse errors, set >>> <dependency> manual and try to run Maven goals? >>> >>> Thanks beforehand, >>> regards, buters >>> >>> Tim Kettler wrote: >>>> >>>> buters schrieb: >>>>> Hi, >>>> >>>> Hi, >>>> >>>>> would you explain me how can I acces to e.g. >>>>> http://repository.jboss.com/maven2/ >>>>> >>>>> I know that I have to add this in settings.txt >>>> >>>> You probably mean settings.xml. >>>> >>>>> <servers> >>>>> <server> >>>>> <id>artifactory</id> >>>>> <username>admin</username> >>>>> <password>password</password> >>>>> </server> >>>>> </servers> >>>> >>>> This is only needed if the repository is password protected. For >>>> public >>>> repositories like central, codehaus or the jboss repository you can >>>> simply omit that part, just configure the repository in the >>>> repositories >>>> section and you are done. >>>> >>>>> It is clear in case of Artifactory which id, username and password >>>>> should >>>>> be >>>>> used. >>>>> But which id, username and password must I use for other remote >>>>> repositories >>>>> (beside central)? >>>>> >>>>> Thanks beforehand, >>>>> regards, buters >>>> >>>> -Tim >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Access-to-remote-repositories-tp18300257p18303814.html >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> Thanks, >> >> Jason >> >> ---------------------------------------------------------- >> Jason van Zyl >> Founder, Apache Maven >> jason at sonatype dot com >> ---------------------------------------------------------- >> >> First, the taking in of scattered particulars under one Idea, >> so that everyone understands what is being talked about ... Second, >> the separation of the Idea into parts, by dividing it at the joints, >> as nature directs, not breaking any limb in half as a bad carver might. >> >> -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander) >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Access-to-remote-repositories-tp18300257p18314690.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
