Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-2
-
Fix Version/s: 1.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Running the plugin on the JDepend Plugin from Mojo causes a false alarm:
o JDepend Maven Plugin (1 error, 0 warnings) [ERROR] Cannot reach license 'BSD' with URL: 'http://www.clarkware.com/software/license.txt'.
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.
Issue Links
| This issue is related to: | ||||
| MNG-3652 | set a user agent for Maven HTTP requests |
|
|
|
Fixed in r675162 by setting UA to "Apache Maven/2.0 (Maven Documentation Checker Plugin)".