Hi Alex,

We have a shaded artifact for async-http-client in Apex. You can take a
look here:

https://github.com/apache/apex-core/blob/master/shaded-ning19/pom.xml

You can use that as a reference on how to shade guava on your app package
pom.

Hope that helps.

David


On Wed, Jul 13, 2016 at 9:41 AM, McCullough, Alex <
[email protected]> wrote:

> Does anyone have an example POM for building an app with Shade? I am
> trying to shade some of the Guava libraries to avoid issues with a
> conflicting version on our Hadoop cluster.
>
>
>
> When I look at the Uber jar it builds it looks like all of the class files
> (including the properly shaded ones as well) are there and the jar files in
> lib/ as well, my expectation was that there really wouldn’t be any jars in
> the uber jar. I do still have the maven-assembly running on package phase
> because I am not exactly sure how to handle the assembly just in shade..
>
>
>
> I’m sure there is some base concept I’m missing here, anyone have
> experience doing this?
>
>
>
> Thanks,
>
> Alex
>
> ------------------------------
>
> The information contained in this e-mail is confidential and/or
> proprietary to Capital One and/or its affiliates and may only be used
> solely in performance of work or services for Capital One. The information
> transmitted herewith is intended only for use by the individual or entity
> to which it is addressed. If the reader of this message is not the intended
> recipient, you are hereby notified that any review, retransmission,
> dissemination, distribution, copying or other use of, or taking of any
> action in reliance upon this information is strictly prohibited. If you
> have received this communication in error, please contact the sender and
> delete the material from your computer.
>

Reply via email to