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>

Reply via email to