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

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

Thanks for working on this, [~clehene].  It seems like this even with this 
patch, we won't be able to build the release artifacts we want with Maven 3.3 
and above, since we won't be able to get a truly dependency-reduced shaded jar. 
 So while I think this is a good temporary solution, in the long term it would 
be better to somehow avoid the issue-- perhaps by modifying the htrace-hbase 
dependencies.  That way we would be able to fully support the later Maven 
releases.  I have filed HTRACE-236 as a follow-on JIRA to look into this.

For this patch, can you add a note to the top-level README.md specifying that 
because of HTRACE-236, only Maven 3.0.4 should be used to create HTrace 
releases?  +1 once that's added.

> 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
>            Assignee: Cosmin Lehene
>            Priority: Blocker
>             Fix For: 4.0
>
>         Attachments: HTRACE-234.patch
>
>
> 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