[
https://jira.codehaus.org/browse/MJAVADOC-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ollie Robertshaw updated MJAVADOC-375:
--------------------------------------
Description:
I cannot run Javadoc plugin 2.9.1 against _any_ Maven project. It fails with
the following error:
{{Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc \(default-cli\) on
project Test: Execution default-cli of goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc failed: A required
class was missing while executing
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc:
org/apache/http/HttpRequest}}
Attached is a full Maven debug output, and an empty Maven project - with no
dependencies - that the goal {{mvn javadoc:javadoc}} and {{mvn
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc}} both fail against
(though {{mvn org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:javadoc}}
succeeds).
This looks to me like something (Plexus?) is dependent on HttpClient 3, and
your recent upgrade to use HttpClient 4 has caused this to break.
was:
I cannot run Javadoc plugin 2.9.1 against _any_ Maven project. It fails with
the following error:
{{Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc \(default-cli\) on
project Test: Execution default-cli of goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc failed: A required
class was missing while executing
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc:
org/apache/http/HttpRequest}}
Attached is a full Maven debug output, and an empty Maven project that the goal
{{mvn javadoc:javadoc}} and {{mvn
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc}} both fail against
(though {{mvn org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:javadoc}}
succeeds).
This looks to me like something (Plexus?) is dependent on HttpClient 3, and
your recent upgrade to use HttpClient 4 has caused this to break.
> Required class missing: org/apache/http/HttpRequest
> ---------------------------------------------------
>
> Key: MJAVADOC-375
> URL: https://jira.codehaus.org/browse/MJAVADOC-375
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.9.1
> Reporter: Ollie Robertshaw
> Priority: Blocker
> Attachments: Test.zip, tmp
>
>
> I cannot run Javadoc plugin 2.9.1 against _any_ Maven project. It fails with
> the following error:
> {{Failed to execute goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc \(default-cli\)
> on project Test: Execution default-cli of goal
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc failed: A
> required class was missing while executing
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc:
> org/apache/http/HttpRequest}}
> Attached is a full Maven debug output, and an empty Maven project - with no
> dependencies - that the goal {{mvn javadoc:javadoc}} and {{mvn
> org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc}} both fail
> against (though {{mvn
> org.apache.maven.plugins:maven-javadoc-plugin:2.8.1:javadoc}} succeeds).
> This looks to me like something (Plexus?) is dependent on HttpClient 3, and
> your recent upgrade to use HttpClient 4 has caused this to break.
--
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