You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/07/09 15:26:26 UTC

[jira] Closed: (MDOCCK-13) Set user agent for URL verifications

     [ http://jira.codehaus.org/browse/MDOCCK-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MDOCCK-13.
-----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 1.0-beta-3

Fixed in [r675162|http://svn.apache.org/viewvc?view=rev&revision=675162] by setting UA to "Apache Maven/2.0 (Maven Documentation Checker Plugin)".

> Set user agent for URL verifications
> ------------------------------------
>
>                 Key: MDOCCK-13
>                 URL: http://jira.codehaus.org/browse/MDOCCK-13
>             Project: Maven 2.x Documentation Checker Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-beta-2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 1.0-beta-3
>
>
> Running the plugin on the JDepend Plugin from Mojo causes a false alarm:
> {noformat}
> o JDepend Maven Plugin (1 error, 0 warnings)
>   [ERROR] Cannot reach license 'BSD' with URL: 'http://www.clarkware.com/software/license.txt'.
> {noformat}
> The URL is fine. After some telnet sessions, it appears the server is blocking the request (with code 412) just because of the user agent header field which is currently "Jakarta Commons-HttpClient/3.0.1". That seems like a good reason to tell the server, who is really knocking on its door.

-- 
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