Commit e20435c
committed
Add properties for core Java Javadoc URLs
This makes it possible to link javadoc to OpenJDK 11 + OpenJFX 11,
rather than only Java 8. This is especially important because otherwise,
modularized Java 11 projects can (will?) fail during javadoc generation
with errors like:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:jar (attach-javadocs) on project scijava-types: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://javadoc.scijava.org/Java/ are in the unnamed module.
[ERROR] javadoc: error - The code being documented uses modules but the packages defined in https://javadoc.scijava.org/SciJava/ are in the unnamed module.
[ERROR] javadoc: error - Error fetching URL: https://javadoc.scijava.org/ImageJ1/
[ERROR] javadoc: error - The code being documented uses modules but the packages defined in https://javadoc.scijava.org/Guava/ are in the unnamed module.
This change also improves build reproducibility by linking to the Java 8
javadocs explicitly by default, rather than to "/Java" which may (will)
update to newer major Java versions in the future.
This still does not achieve full build reproducibility relating to
javadoc generation, though, because we link to many other javadocs at
latest versions rather than the versions depended upon by the project.
We can try to transition toward javadoc.io for javadoc links, since
those could be linked at exactly the versions depended upon.1 parent 0bad944 commit e20435c
1 file changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
196 | 206 | | |
197 | 207 | | |
198 | 208 | | |
| |||
410 | 420 | | |
411 | 421 | | |
412 | 422 | | |
413 | | - | |
| 423 | + | |
| 424 | + | |
414 | 425 | | |
415 | 426 | | |
416 | 427 | | |
| |||
1019 | 1030 | | |
1020 | 1031 | | |
1021 | 1032 | | |
1022 | | - | |
1023 | | - | |
| 1033 | + | |
| 1034 | + | |
1024 | 1035 | | |
1025 | 1036 | | |
1026 | 1037 | | |
| |||
0 commit comments