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
            Priority: Minor


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

        

Reply via email to