You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Debraj Manna <su...@gmail.com> on 2019/02/20 15:44:00 UTC

Identify large size dependencies in a fat jar created using maven

I have a fat jar created using maven 3.5.

I am trying to reduce the size of fat jar. Can someone let me know how I
can determine the size of the larger dependencies? If a dependency A brings
in B & C . Then the size of A should be the sum of the size of A, B & C.

Is there a way to do this in maven 3.5 ?

Re: Identify large size dependencies in a fat jar created using maven

Posted by Robert Scholte <rf...@apache.org>.
..."I am trying to reduce the size of fat jar."...

Depending on your project, you might be interested in the  
maven-shade-plugin minimizeJar option[1] (e.g. reflection is not detected)

Robert

[1]  
https://maven.apache.org/plugins/maven-shade-plugin/shade-mojo.html#minimizeJar

On Wed, 20 Feb 2019 16:44:00 +0100, Debraj Manna  
<su...@gmail.com> wrote:

> I have a fat jar created using maven 3.5.
>
> I am trying to reduce the size of fat jar. Can someone let me know how I
> can determine the size of the larger dependencies? If a dependency A  
> brings
> in B & C . Then the size of A should be the sum of the size of A, B & C.
>
> Is there a way to do this in maven 3.5 ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org