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

Andras Piros commented on OOZIE-3022:
-------------------------------------

[~dbist13] thanks for the contribution!

I share [~gezapeti]'s concerns about shadowing more important dependency 
warnings.

What about one of the following instead:
* exclude {{com.sun:tools}} where applicable
{noformat}
            <exclusion>
                <artifactId>tools</artifactId>
                <groupId>com.sun</groupId>
            </exclusion>
{noformat}
* explicitly state the {{<systemPath />}} of {{com.sun:tools}} dependency where 
applicable:
{noformat}
<dependency>
   <groupId>com.sun</groupId>
   <artifactId>tools</artifactId>
   <scope>system</scope>
   <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
 </dependency>
{noformat}

> fix for warning has no file and won't be listed in dependency files details
> ---------------------------------------------------------------------------
>
>                 Key: OOZIE-3022
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3022
>             Project: Oozie
>          Issue Type: Sub-task
>    Affects Versions: 4.3.0
>         Environment: Maven: 3.5.0
> Java: 1.8.0_141
> latest commit: 01826102302e8c62f7b5bf2156aa2c0bb1c84c9e
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Trivial
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-3022.patch
>
>
> during build getting warning
> {noformat}
> Artifact com.sun:tools:jar:1.7 has no file and won't be listed in dependency 
> files details
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to