This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 200617

Summary: Netbeans does not find maven dependencies when settings.xml is not in home dir
Product: projects Reporter: zorro2b <zorro2b>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description zorro2b 2011-08-03 05:03:24 UTC
I do not keep a settings.xml in my home directory, preferring to keep separate settings.xml files in the conf directory of two different maven installs. This allows me to switch between different maven configurations.

When I have my maven set up this way, Netbeans does not find all of the required dependencies. It shows all projects as "misconfigured" even though a build succeeds.

When I copy the settings.xml to my home .m2 directory, suddenly netbeans finds its brains and the dependencies are found.
Comment 1 Jesse Glick 2011-08-15 14:54:14 UTC

*** This bug has been marked as a duplicate of bug 167208 ***