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

Andrew Wang commented on HADOOP-14903:
--------------------------------------

Little nit, could you move this next to the nimbus dependency, and mention in 
the comment that json-smart is a transitive dependency, reference this JIRA, 
and to recheck this hack when upgrading nimbus? I think the warning in minikdc 
is not the important part, since this gets pulled in by hadoop-auth which gets 
used in a lot of places.

Otherwise looks good +1, based on the discussion in HADOOP-14799.

> Add json-smart explicitly to pom.xml
> ------------------------------------
>
>                 Key: HADOOP-14903
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14903
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>         Attachments: HADOOP-14903.001.patch
>
>
> With the library update in HADOOP-14799, maven knows how to pull in 
> net.minidev:json-smart for tests, but not for packaging.  This needs to be 
> added to the main project pom in order to avoid this warning:
> {noformat}
> [WARNING] The POM for net.minidev:json-smart:jar:2.3-SNAPSHOT is missing, no 
> dependency information available
> {noformat}
> This is pulled in from a few places:
> {noformat}
> [INFO] |  +- org.apache.hadoop:hadoop-auth:jar:3.1.0-SNAPSHOT:compile
> [INFO] |  |  +- com.nimbusds:nimbus-jose-jwt:jar:4.41.1:compile
> [INFO] |  |  |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
> [INFO] |  |  |  \- net.minidev:json-smart:jar:2.3:compile
> [INFO] |  |  \- org.apache.kerby:token-provider:jar:1.0.1:compile
> [INFO] |  |     \- com.nimbusds:nimbus-jose-jwt:jar:4.41.1:compile
> [INFO] |  |        +- 
> com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
> [INFO] |  |        \- net.minidev:json-smart:jar:2.3:compile
> {noformat}



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

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

Reply via email to