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 - [Attach Sources] Download source not showing an error if the username/password is wrong in nexus config (settings.xml)
Summary: [Attach Sources] Download source not showing an error if the username/passwor...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-16 12:06 UTC by tomzi
Modified: 2016-07-07 08:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (445.71 KB, text/plain)
2014-06-16 12:06 UTC, tomzi
Details

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