Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.2
-
Fix Version/s: 2.3
-
Component/s: dependencies
-
Labels:None
-
Environment:maven 2.2.1
maven-site-plugin 2.1
-
Number of attachments :
Description
Dependencies report when rendering dependency repository locations wrongfully blacklists repositories which require authentication.
Bug is in DependenciesRenderer, void blacklistRepositoryMap( Map repos, List repoUrlBlackListed ) method, ProjectInfoReportUtils.getInputStream( repoUrl, settings ) call throws IOException ("java.io.IOException: Server returned HTTP response code: 401 for URL: ...") if repoUrl is URL of a repository which requires authentication.
I can confirm the issue. Our internal repositories require authentication, so that makes the dependencies reporting unusable.