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

Nanda kumar commented on HDFS-13391:
------------------------------------

I have committed this to the feature branch.

> Ozone: Make dependency of internal sub-module scope as provided in maven.
> -------------------------------------------------------------------------
>
>                 Key: HDFS-13391
>                 URL: https://issues.apache.org/jira/browse/HDFS-13391
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>         Attachments: HDFS-13391-HDFS-7240.000.patch
>
>
> Whenever an internal sub-module is added as a dependency the scope has to be 
> set to {{provided}}.
> If the scope is not mentioned it falls back to default scope which is 
> {{compile}}, this makes the dependency jar (sub-module jar) to be copied to 
> {{share/..../lib}} directory while packaging. Since we use 
> {{copyifnotexists}} logic, the binary jar of the actual sub-module will not 
> be copied. This will result in the jar being placed in the wrong location 
> inside the distribution.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to