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 245083

Summary: [Attach Sources] Download source not showing an error if the username/password is wrong in nexus config (settings.xml)
Product: projects Reporter: tomzi <tomzi>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description tomzi 2014-06-16 12:06:07 UTC
Steps:
.) Goto settings.xml and change username/password for nexus:
    <servers>
        <server>
           <username>changedUsername</username>
           <password>changedPassword</password>
           <id>nexus</id>
        </server>
    </servers>
.) 'Open Type' for a class that is only available as maven dependency.
.) Press 'Attach Source' and 'Download'.

Actual: 
An 'Information' is shown: 'No sources for xyz-classes.jar is available'

Expected:
There should be an error message with a hint, that authentication failed to the nexus server and that this can be changed in the settings.xml

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.5.0-49-generic running on amd64
Java; VM; Vendor = 1.7.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.60-b09
Comment 1 tomzi 2014-06-16 12:06:13 UTC
Created attachment 147693 [details]
IDE log
Comment 2 Martin Balin 2016-07-07 08:38:45 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss