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 191309 - netbeans ignores settings.xml when downloads dependencies
Summary: netbeans ignores settings.xml when downloads dependencies
Status: RESOLVED DUPLICATE of bug 191176
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 12:27 UTC by malary
Modified: 2010-10-25 16:30 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 malary 2010-10-25 12:27:32 UTC
When I click to Download declared dependencies, Download javadoc or Download sources on Project node -> dependency subnode -> context menu, netbeans downloads the artifacts, but it uses the repositories from the pom.xml, and ignores settings.xml's repositories element.

When I build the project, maven uses the settings.xml, and find the correct repositories.

If I declare the repositories in the project's pom.xml, netbeans downloads from the correct repositories too
Comment 1 Jesse Glick 2010-10-25 16:30:54 UTC
(Certainly not a P1; you can always download dependencies from the command line.)

Very likely different in 7.0 dev builds, which embed Maven 3.0; please test against nightlies before filing bugs about the Maven support, since many things have changed.

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