javadoc: disable automatic detection of offline links for modules

This tries to determine the links to the other reactor projects,
e.g. from pmd-java to pmd-core via the url from project.url.
Project.url is currently https://pmd.github.io and the constructed
url will be https://pmd.github.io/apidocs which doesn't exist.
This means, the generated links to classes e.g. from core don't work
anyway.

Disabling this feature avoids error messages like
[ERROR] Error fetching link: /home/travis/build/pmd/pmd/pmd-apex-jorje/target/apidocs. Ignored it.
E.g. pmd-apex-jorje does not have own javadoc at all, since it is
just a library.

The linking between the different pmd modules needs to be revisited
with #1769.
This commit is contained in:
Andreas Dangel 2019-11-16 22:56:14 +01:00
parent 20bcda9f73
commit e0e2010f6f

View File

@ -285,6 +285,7 @@ Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex, Scala, Swift a
<version>${ant.version}</version>
</additionalDependency>
</additionalDependencies>
<detectOfflineLinks>false</detectOfflineLinks>
</configuration>
</plugin>
<plugin>