hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Portabella (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15925) compat-module maven variable not evaluated
Date Fri, 08 Jul 2016 16:31:11 GMT

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

David Portabella commented on HBASE-15925:
------------------------------------------

{quote}
> So, I don't know why maven does not complain on 1.2.1 (see my post above),
> but sbt complains on 1.2.1 and now it works on 1.2.2.
> So, I guess the problem is solved. Thanks!
Glad to hear sbt now works! Maven should work correctly both before and after this patch (before
only so long as it's a version that correctly handles default profiles, which should be all
of the maven 3s).
{quote}
I am not sure that you understood what I mean. I will rephrase it:

hbase-testing-util version 1.2.1 has a problem, that has a dependency with a variable not
evaluated (it's the point of this ticket actually)
http://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util/1.2.1

so, a maven pom.xml which declares a dependency on hbase-testing-util version 1.2.1 should
fail, as it cannot download all of its dependencies.

however, maven does not fail (and it should) as I mentioned in a this post above. so, maybe
there is a bug on maven.
https://issues.apache.org/jira/browse/HBASE-15925?focusedCommentId=15367707&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15367707

on the other hand, sbt complains if a project depends on hbase-testing-util version 1.2.1,
as it should.
and, sbt succeeds if a project depends on hbase-testing-util version 1.2.2, meaning that this
ticket has fixed the problem on hbase.

so, in this sense, there is possibly a bug on maven, not on sbt.


> compat-module maven variable not evaluated
> ------------------------------------------
>
>                 Key: HBASE-15925
>                 URL: https://issues.apache.org/jira/browse/HBASE-15925
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.0.3, 1.1.5
>            Reporter: Nick Dimiduk
>            Assignee: Sean Busbey
>            Priority: Blocker
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.2, 1.1.6
>
>         Attachments: HBASE-15925.1.patch
>
>
> Looks like we've regressed on HBASE-8488. Have a look at the dependency artifacts list
on http://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util/1.2.1. Notice the
direct dependency's artifactId is {{$\{compat.module\}}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message