Revision as of 15:59, 18 November 2010 by Jglick (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Can I use the Nexus repository manager with the IDE?

Yes. Just set up Nexus as described in its documentation, including changes to your settings.xml, and the IDE should work correctly with it for purposes of resolving artifacts.

One point to note is that as of NB 7.0 the IDE will honor your mirror settings for downloading remote repository indices, but this cannot work for Nexus groups if you have individual repositories configured in the IDE. Since the IDE normally ships with three remote repositories enabled, and you would expect indices in e.g. Maven Repository Browser to reflect only artifacts actually hosted on those public repositories, you should configure your mirrors to go directly to Nexus's proxy repository rather than the public group; NetBeans will refuse to download an index from a * mirror.

Assuming you have configured a repository in Nexus with the ID netbeans pointing to http://bits.netbeans.org/maven2/ then it should suffice to list:


Alternately, you could remove all the remote repositories configured in the IDE and replace them with a single repository corresponding to content/groups/public - or whatever setup is appropriate for your usage of Nexus.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo