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 179570 - NetBeans does not honor encrypted passwords in .m2/settings.xml
Summary: NetBeans does not honor encrypted passwords in .m2/settings.xml
Status: RESOLVED DUPLICATE of bug 188871
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 14:33 UTC by mkovtun
Modified: 2010-09-17 20:59 UTC (History)
2 users (show)

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 mkovtun 2010-01-15 14:33:58 UTC
If passwords for Maven repositories in .m2/settings.xml are encrypted using techniques from http://maven.apache.org/guides/mini/guide-encryption.html, NetBeans is unable to access repositories.

The encrypted passwords work well with Maven, and from NetBeans if NetBeans invokes mvn to perform operation.

However, if NetBeans tries to access Maven repository directly (for example, when "Download Missing Dependencies", "Download Javadoc", "Download Sources" from context menu on "Libraries" is invoked), the login attempt fails, and nothing is downloaded. Worse, no message indicating why nothing was downloaded is displayed.
Comment 1 Milos Kleint 2010-01-16 01:02:01 UTC
yes, unfortunately this doesn't work with the version of the maven embedder we are using. Shall start working after migrating to maven3
Comment 2 aaronkaplan 2010-04-07 08:52:55 UTC
Milos, does your answer apply to all settings in settings.xml, or only to password encryption?  I'm having a problem with mirror settings not being respected, and I'm wondering if I should file a separate bug or if it's the same issue as this one.

If it applies to settings.xml in general then I suggest changing the title of this bug.
Comment 3 Antonin Nebuzelsky 2010-07-30 15:18:04 UTC
Reassigning to default owner.
Comment 4 Jesse Glick 2010-08-02 14:58:41 UTC
Just make a duplicate of bug #188871 if it is in fact solved by using the M3 embedder.
Comment 5 Jesse Glick 2010-09-17 20:59:43 UTC
Maybe works in current 6.10 development builds, though I don't have a password-protected repo to test with.

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