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

Josh Elser commented on HBASE-20291:
------------------------------------

I still don't think this is fixing the right problem. The full warning message 
I see on master is:
{code:java}
[INFO] ---------------< org.apache.hbase:hbase-hadoop2-compat >----------------
[INFO] Building Apache HBase - Hadoop Two Compatibility 3.0.0-SNAPSHOT  [12/42]
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from project.local: 
file:/Users/jelser/projects/hbase-copy.git/hbase-hadoop2-compat/src/site/resources/repo/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
Downloading from apache.snapshots: 
https://repository.apache.org/snapshots/net/minidev/json-smart/2.3-SNAPSHOT/json-smart-2.3-SNAPSHOT.pom
[WARNING] The POM for net.minidev:json-smart:jar:2.3-SNAPSHOT is missing, no 
dependency information available{code}
For some reason, there is a transitive dependency which tries to specify 
2.3-SNAPSHOT:
{noformat}
[INFO] |  +- org.apache.hadoop:hadoop-auth:jar:3.0.0: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 (version selected 
from constraint [1.3.1,2.3]){noformat}
But the resolution eventually picks a non-snapshot version. The intermediate 
warning comes from the hack we have in the build to support some custom code we 
need to build the HBase site.

Excluding this dependency from hadoop-auth should fix the problem, but I'm not 
sure if it's safe for us to do that (how do we know if code in hadoop-auth 
actually needs that?). I think understanding where that 2.3-SNAPSHOT version is 
coming from is the next step.

> Fix for The POM for net.minidev:json-smart:jar:2.3-SNAPSHOT is missing, no 
> dependency information available with hadoop.profile=3.0
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-20291
>                 URL: https://issues.apache.org/jira/browse/HBASE-20291
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HBASE-20291.v01.patch, HBASE-20291.v02.patch
>
>
> receiving message
> {code:java}
> The POM for net.minidev:json-smart:jar:2.3-SNAPSHOT is missing, no dependency 
> information available{code}
> when running with
> {code:java}
> mvn clean install -DHBasePatchProcess -Dhadoop-three.version=3.0.0 
> -Dhadoop.profile=3.0 -DskipTests{code}



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

Reply via email to