James Leigh created MJAVADOC-366: ------------------------------------ Summary: Unexpected HTTP Status Code For 203 package-list Response Key: MJAVADOC-366 URL: https://jira.codehaus.org/browse/MJAVADOC-366 Project: Maven 2.x Javadoc Plugin Issue Type: Bug Affects Versions: 2.9 Reporter: James Leigh Attachments: javadoc-status203.patch
JavadocUtil#isValidPackageList is overly quick to discard valid package-lists. In particular, it ignores package-list files that return status code of 203, which are perfectly fine for JavadocTool. Line 1712 should be change to check for status code 203 as shown below. if ( status != HttpStatus.SC_OK && status != HttpStatus.SC_NON_AUTHORITATIVE_INFORMATION ) { throw new FileNotFoundException( "Unexpected HTTP status code " + status + " getting resource " + url.toExternalForm() + "." ); } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira