Re: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Kasun Siyambalapitiya
Hi Samuli, Thanks for the reply. As with the response from Anders, I decided to keep the distribution as it is since it having only the basic features required for build. Thank you once again :) On Fri, Nov 10, 2017 at 2:57 PM, Dan Tran wrote: > I believe you can shave off

Re: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Dan Tran
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 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

RE: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Samuli Saarinen
Hi, You can do a successful build with mvnw too. It just downloads the maven distribution (the 9MB) also before Maven downloads "half the internet" when building. So if you are not running the actual build in offline mode it's just 9MB more to download before running the build which gets also

Re: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Kasun Siyambalapitiya
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 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,

Re: Is there any possibility to reduce the size of maven distribution

2017-11-10 Thread Anders Hammar
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

Re: Is there any possibility to reduce the size of maven distribution

2017-11-09 Thread Kasun Siyambalapitiya
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

RE: Is there any possibility to reduce the size of maven distribution

2017-11-09 Thread Samuli Saarinen
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