maven-javadoc-plugin最新版本

时间:2019-02-21 17:55:54

标签: java maven maven-javadoc-plugin

我正在使用maven-javadoc-plugin 3.0.1(最新版本)。当我尝试生成站点信息(项目报告等)时,javadoc不显示指向相关类的链接。我所看到的只是完整的类名,没有链接。当我使用maven-javadoc-plugin 2.10.4时,一切正常。

使用maven 3.2.5和Java 8。

针对两个版本的maven-javadoc-plugin都运行“ mvn干净站点-P profileID -X”,并在输出中显示以下内容:

  1. 案例3.0.1

[

[INFO] Generating "Javadoc" report              maven-javadoc-plugin:3.0.1:javadoc 
[DEBUG] Trying to add links for dependencies...
[ERROR] ProjectBuildingException xxxx: Error resolving project artifact:
  1. 案例2.10.4

[

[DEBUG] Trying to add links for dependencies...
[DEBUG] Using mirror central-mirror XXX for central XXX.
[DEBUG] Connection request: [route: {}->XXX][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
[DEBUG] Connection leased: [id: 0][route: {}->XXX][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20]
[DEBUG] Connecting to XXX
[DEBUG] CookieSpec selected: best-match
[DEBUG] Auth cache not set in the context
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] Attempt 1 to execute request
[DEBUG] Sending request: GET /snapshot-site/...

我的观察: 在3.0.1的情况下,插件无法从正确的存储库中检索信息。在2.10.4的情况下,正在发送的请求具有正确的快照站点URL。

0 个答案:

没有答案