Hi Samuli,

Thank you for the quick response. But what I want is to reduce the size of
a given `maven` distribution (if possible) without losing the ability of
performing a successful build so that overall size of my application can be
reduced. (`maven` distribution is around 9MB)

Once again thank your for quickly responding :)

On Fri, Nov 10, 2017 at 12:07 PM, Samuli Saarinen <
samuli.saari...@remion.com> wrote:

> Hi,
>
> Could you use maven wrapper [1]? It obviously needs to download Maven from
> the interwebs when performing the build though.
>
> [1] https://github.com/takari/maven-wrapper
>
> br,
> Samuli
>
> > -----Original Message-----
> > From: Kasun Siyambalapitiya [mailto:kasu...@wso2.com]
> > Sent: 10. marraskuutata 2017 7:30
> > To: users@maven.apache.org
> > Subject: Is there any possibility to reduce the size of maven
> distribution
> >
> > 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 : kasu...@wso2.com
> > 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 : kasu...@wso2.com
Blog: https://medium.com/@kasunsiyambalapitiya
<https://wso2.com/signature>

Reply via email to