[ 
https://issues.apache.org/jira/browse/HDDS-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928315#comment-16928315
 ] 

Sammi Chen commented on HDDS-2106:
----------------------------------

Hi [~elek] , I meet build issue after trunk rebase.  Following is the console 
log.  I use the build command
"mvn clean install -T 6 -Pdist -Phdds -DskipTests -Dmaven.javadoc.skip=true -am 
-pl :hadoop-ozone-dist"

I see maven-javadoc-plugin.version is defined as "3.0.1".   My local maven is 
3.6.0.  Don't know why build fails. 

[INFO] Scanning for projects...
[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}'. @ 
org.apache.hadoop:hadoop-main-ozone:0.5.0-SNAPSHOT, 
/Users/sammi/workspace/hadoop/pom.ozone.xml, line 1604, column 20
[ERROR] 'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-javadoc-plugin must be a valid version but is 
'${maven-javadoc-plugin.version}'. @ 
org.apache.hadoop:hadoop-main-ozone:0.5.0-SNAPSHOT, 
/Users/sammi/workspace/hadoop/pom.ozone.xml, line 1604, column 20


> Avoid usage of hadoop projects as parent of hdds/ozone
> ------------------------------------------------------
>
>                 Key: HDDS-2106
>                 URL: https://issues.apache.org/jira/browse/HDDS-2106
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Ozone uses hadoop as a dependency. The dependency defined on multiple level:
>  1. the hadoop artifacts are defined in the <dependency> sections
>  2. both hadoop-ozone and hadoop-hdds projects uses "hadoop-project" as the 
> parent
> As we already have a slightly different assembly process it could be more 
> resilient to use a dedicated parent project instead of the hadoop one. With 
> this approach it will be easier to upgrade the versions as we don't need to 
> be careful about the pom contents only about the used dependencies.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to