How to add new remote repo to the NetBeans 7.2 for using with the Dependency window (with repo indexing)?
I found http://wiki.magnolia-cms.com/display/WIKI/setting+up+Netbeans+with+the+Magnolia+maven+repository but in 7.2 NB this window moved.
In the Dependency there are no button for adding new remote Maven repos.
I need to add http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/7.0.0.pre5/ to the NetBeans.
Sorry my bad English.
Thanks, Arthur.
You can edit
settings.xmlfile in maven and add your repository to it. You should add something like:But this code should be wrapped in
profiletag, I think. For more details you can see this.You can find settings file in
$HOME/.m2directory in linux and same directory in Windows.