I believe you can shave off 1 to 2M by removing those already shaded by
wagon-http.

-D

On Fri, Nov 10, 2017 at 1:18 AM, Kasun Siyambalapitiya <[email protected]>
wrote:

> Hi Anders,
>
> Thank you for the quick response, I'll keep it as it is then :)
>
> On Fri, Nov 10, 2017 at 2:03 PM, Anders Hammar <[email protected]> wrote:
>
> > I doubt there is very much you can remove. The Maven installation just
> > includes the basic features to perform the core features of a build, then
> > additional plugins are downloaded as needed to do specific tasks during
> the
> > build steps. I think that you could reduce the size by removing the color
> > logging support (jansi).
> >
> > Please keep in mind that Maven will (typically) download A LOT of
> artifacts
> > during the build. So the 9MB of Maven core is not your main concern if
> you
> > want to keep the total size down.
> >
> > /Anders
> >
> > On Fri, Nov 10, 2017 at 6:30 AM, Kasun Siyambalapitiya <[email protected]
> >
> > wrote:
> >
> > > Hi all,
> > >
> > > I am currently working on a project which packs `maven` distribution in
> > > itself, so that the programme is capable of performing a `maven` build
> if
> > > the running system is having `Java` pre installed. Since the `maven`
> > > distribution (apache-maven-3.5.2-bin.zip) size is around 9MB the total
> > > resultant output of the program becomes bulky. Is there any way to
> reduce
> > > the size of the `maven` distribution by keeping only the libs which
> > > required for performing the maven build.
> > >
> > > Thanks
> > >
> > > --
> > > *Regards,*
> > >
> > > *Kasun Siyambalapitiya*
> > > *Software Engineer*
> > > WSO2 Inc. - http://wso2.com/
> > > lean . enterprise . middleware
> > > Tel : 0715523466
> > > E mail : [email protected]
> > > Blog: https://medium.com/@kasunsiyambalapitiya
> > > <https://wso2.com/signature>
> > >
> >
>
>
>
> --
> *Regards,*
>
> *Kasun Siyambalapitiya*
> *Software Engineer*
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> Tel : 0715523466
> E mail : [email protected]
> Blog: https://medium.com/@kasunsiyambalapitiya
> <https://wso2.com/signature>
>

Reply via email to