[
https://issues.apache.org/jira/browse/HDDS-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929567#comment-16929567
]
Arpit Agarwal commented on HDDS-2129:
-------------------------------------
The initial error is the following:
{code}
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-javadoc-plugin must be a valid version but is
'${maven-javadoc-plugin.version}'. @ line 1604, column 20
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.hadoop:hadoop-main-ozone:0.5.0-SNAPSHOT
(/Users/agarwal/src/hadoop/pom.ozone.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-javadoc-plugin must be a valid version but is
'${maven-javadoc-plugin.version}'. @ line 1604, column 20
[ERROR]
{code}
After fixing this error by adding {{maven-javadoc-plugin.version}} to
pom.ozone.xml, the build fails later with:
{code}
[ERROR]
/Users/agarwal/src/hadoop/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/protocolPB/ScmBlockLocationProtocolServerSideTranslatorPB.java:79:
warning: no @param for metrics
[ERROR] public ScmBlockLocationProtocolServerSideTranslatorPB(
[ERROR] ^
[ERROR]
/Users/agarwal/src/hadoop/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/protocolPB/ScmBlockLocationProtocolServerSideTranslatorPB.java:79:
warning: no @throws for java.io.IOException
{code}
My guess is we need to configure some exclusions for javadoc warnings.
> Using dist profile fails with pom.ozone.xml as parent pom
> ---------------------------------------------------------
>
> Key: HDDS-2129
> URL: https://issues.apache.org/jira/browse/HDDS-2129
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Arpit Agarwal
> Priority: Major
>
> The build fails with the {{dist}} profile. Details in a comment below.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]