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 - Netbeans does not find maven dependencies when settings.xml is not in home dir
Summary: Netbeans does not find maven dependencies when settings.xml is not in home dir
Status: RESOLVED DUPLICATE of bug 167208
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 05:03 UTC by zorro2b
Modified: 2011-08-15 14:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***