hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanobu Asanuma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15814) Maven 3.3.3 unable to parse pom file
Date Wed, 03 Oct 2018 07:44:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Takanobu Asanuma updated HADOOP-15814:
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.0
                   3.2.0
           Status: Resolved  (was: Patch Available)

> Maven 3.3.3 unable to parse pom file
> ------------------------------------
>
>                 Key: HADOOP-15814
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15814
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.2.0, 3.3.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>             Fix For: 3.2.0, 3.3.0
>
>         Attachments: HADOOP-15814.001.patch
>
>
> 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.
> {code}
> 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>
> {code}
> Otherwise it gives me this error:
> {quote}
> [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]
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message