You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stevo Slavic (JIRA)" <ji...@codehaus.org> on 2009/12/26 18:06:55 UTC

[jira] Created: (MPIR-180) Repositories which require authentication get blacklisted

Repositories which require authentication get blacklisted
---------------------------------------------------------

                 Key: MPIR-180
                 URL: http://jira.codehaus.org/browse/MPIR-180
             Project: Maven 2.x Project Info Reports Plugin
          Issue Type: Bug
          Components: dependencies
    Affects Versions: 2.1.2
         Environment: maven 2.2.1
maven-site-plugin 2.1
            Reporter: Stevo Slavic


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MPIR-180) Repositories which require authentication get blacklisted

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPIR-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MPIR-180.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Vincent Siveton

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

> Repositories which require authentication get blacklisted
> ---------------------------------------------------------
>
>                 Key: MPIR-180
>                 URL: http://jira.codehaus.org/browse/MPIR-180
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.1.2
>         Environment: maven 2.2.1
> maven-site-plugin 2.1
>            Reporter: Stevo Slavic
>            Assignee: Vincent Siveton
>             Fix For: 2.3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPIR-180) Repositories which require authentication get blacklisted

Posted by "Jan Arend Jansen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPIR-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218354#action_218354 ] 

Jan Arend Jansen commented on MPIR-180:
---------------------------------------

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

> Repositories which require authentication get blacklisted
> ---------------------------------------------------------
>
>                 Key: MPIR-180
>                 URL: http://jira.codehaus.org/browse/MPIR-180
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.1.2
>         Environment: maven 2.2.1
> maven-site-plugin 2.1
>            Reporter: Stevo Slavic
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira