Skip to content

Commit 62a6861

Browse files
laurentgomichael-o
authored andcommitted
[MJAVADOC-820] [REGRESSION] MJAVADOC-787 was merged incompletely
This closes #333
1 parent d1090c5 commit 62a6861

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ under the License.
120120
<jetty.version>9.4.55.v20240627</jetty.version>
121121
<version.plexus-utils>4.0.2</version.plexus-utils>
122122
<!-- for ITs -->
123-
<compilerPluginVersion>3.11.0</compilerPluginVersion>
123+
<compilerPluginVersion>3.13.0</compilerPluginVersion>
124124
<sourcePluginVersion>3.3.0</sourcePluginVersion>
125125
<enforcerPluginVersion>3.4.1</enforcerPluginVersion>
126126
<pluginPluginVersion>3.15.0</pluginPluginVersion>

src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4625,7 +4625,7 @@ private void addJavadocOptions(
46254625
addArgIf(arguments, quiet, "-quiet", SINCE_JAVADOC_1_5);
46264626
}
46274627

4628-
if (release != null) {
4628+
if (javadocRuntimeVersion.isAtLeast("9") && release != null) {
46294629
arguments.add("--release");
46304630
arguments.add(release);
46314631
} else {

0 commit comments

Comments
 (0)