You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2014/10/10 18:31:10 UTC
[jira] (MJAVADOC-375) Required class missing:
org/apache/http/HttpRequest
[ https://jira.codehaus.org/browse/MJAVADOC-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354199#comment-354199 ]
Robert Scholte commented on MJAVADOC-375:
-----------------------------------------
I cannot reproduce it. However, I see a potential problem: you're explicitly settings {{M2_HOME}}. Please don't do that, the {{mvn}} executable already does that for you.
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)