Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0, 3.3.0
-
None
-
None
Description
Found via HDFS-13952.
Reproducible on Maven 3.3.3, but not a problem for Maven 3.5.0 and above.
I had to make the following change in order to compile. Looks like a problem after the ABFS merge.
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index cd38376..4c2c267 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -1656,7 +1656,9 @@ <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> - <additionalOptions>-Xmaxwarns 10000</additionalOptions> + <additionalOptions> + <additionalOption>-Xmaxwarns 10000</additionalOption> + </additionalOptions> </configuration> </plugin> <plugin>
Otherwise it gives me this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (module-javadocs) on project hadoop-project: Unable to parse configuration of mojo org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar for parameter additionalOptions: Cannot assign configuration entry 'additionalOptions' with value '-Xmaxwarns 10000' of type java.lang.String to property of type java.lang.String[] -> [Help 1]
Attachments
Attachments
Issue Links
- is caused by
-
HADOOP-15741 [JDK10] Upgrade Maven Javadoc Plugin from 3.0.0-M1 to 3.0.1
- Resolved