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

Colin Patrick McCabe commented on HTRACE-234:
---------------------------------------------

Copied from the mailing list:

Good work tracking down the Maven issue.  I am having a lot of trouble trying 
to understand MSHADE-148.  It seem like it requires:
1. using both the jar and test-jar version of a dependency
2. while also including a jar dependency that is a transitive dependency of the 
other dependencies
 
So it seems like potentially the inclusion of htrace-core as a test dependency 
of the submodules could set this off... or perhaps this stanza in 
htrace-hbase/pom.xml:

{code}
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-testing-util</artifactId>
      <version>${hbase.version}</version>
      <scope>test</scope>
    </dependency>
{code}

> htrace-hbase build gets in infinite loop while creating the dependency 
> reduced pom
> ----------------------------------------------------------------------------------
>
>                 Key: HTRACE-234
>                 URL: https://issues.apache.org/jira/browse/HTRACE-234
>             Project: HTrace
>          Issue Type: Bug
>    Affects Versions: master, 4.0
>         Environment: maven 3.3.3
> maven shade 2.1 and 2.4.1
>            Reporter: Cosmin Lehene
>            Priority: Blocker
>             Fix For: 4.0
>
>
> maven will loop infinitely at due just like MSHADE-148 (which doesn't seem to 
> be fixed in 2.4.1)
> {code}
> INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing 
> /Users/clehene/work/incubator-htrace/htrace-hbase/target/htrace-hbase-4.0.0-incubating-SNAPSHOT.jar
>  with 
> /Users/clehene/work/incubator-htrace/htrace-hbase/target/htrace-hbase-4.0.0-incubating-SNAPSHOT-shaded.jar
> [INFO] Dependency-reduced POM written at: 
> /Users/clehene/work/incubator-htrace/htrace-hbase/dependency-reduced-pom.xml
> [INFO] Dependency-reduced POM written at: 
> /Users/clehene/work/incubator-htrace/htrace-hbase/dependency-reduced-pom.xml
> {code}



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

Reply via email to