Revision as of 15:31, 27 July 2011 by Jglick (Talk | contribs)

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 as in Guide to Mirror Settings, 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:

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