Maven Project Info Reports Plugin
  1. Maven Project Info Reports Plugin
  2. MPIR-180

Repositories which require authentication get blacklisted

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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 :
      0

      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.

        Activity

        Hide
        Jan Arend Jansen added a comment -

        I can confirm the issue. Our internal repositories require authentication, so that makes the dependencies reporting unusable.

        Show
        Jan Arend Jansen added a comment - I can confirm the issue. Our internal repositories require authentication, so that makes the dependencies reporting unusable.
        Hide
        Vincent Siveton added a comment -

        refactored code to take care of auth defined in your settings.xml in r1040071, snapshot deployed.

        Show
        Vincent Siveton added a comment - refactored code to take care of auth defined in your settings.xml in r1040071, snapshot deployed.

          People

          • Assignee:
            Vincent Siveton
            Reporter:
            Stevo Slavic
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: