Sorry, I should have been more specific. In order to see artifacts in "Add dependency" dialog, this artifact should be indexed in one of the repositories. If you already have this artifact in your local repository, then you can run "Update Index" action on the local repository from "Maven Indexes" view in Eclipse.

However, if it is not in your local repository, then it would have to came from remote repository index, which need to be created by the repository owner using indexer tool I was referring to in my previous email and they should publish index it at their repository. Maven team maintains index for Central repository and you should ask owners of JBoss repository to publish index for their stuff.

That would allow both Nexus repository manager and m2eclipse search trough JBoss repository.

 regards,
 Eugene


buters wrote:
Thank you very much Eugene.

I've followed this instruction:
*****************************************************************************
Enable Remote Index Downloads ... ****************************************************************************
but  unfortunatly unsuccessful. It's taken a few seconds instead of a few
minutes and Nexus has downloaded nothing even for central repository. What
do I do wrong?

Thanks beforehand,
regards, buters

Eugene Kuleshov-3 wrote:
Please see documentation on the wiki at http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer

  regards,
  Eugene


buters wrote:
Hi,

E.g. there is an artifact antlr-2.7.7.jar in
"http://repository.jboss.org/maven2";, but m2eclipse doesn't show it in
Add
Dependency. If I try to put it manual in pom.xml with <dependency>, Maven
doesn't accept it. I don't want to copy an artifact from repository in my
local repository.
How can I configure my settings.xml or pom.xml that Maven accepts
artifacts
from other than central repositories? Thanks beforehand, regards, buters
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email







---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to