Re:Using Java 9 Modularization to Ship Zero-Dependency Apps
by lmm on Wednesday January 03, 2018 @04:46AM
(#16059709)
> But, if you need to do something different, or have some rare use case Maven's designers weren't focused on, you start struggling a lot to get Maven to do what you want.
You'll be fine as long as you realise the Maven-ey way of doing the thing is to write your own plugin.
But most of the time people just want their build to do something different for no real reason, IME.
Re:Using Java 9 Modularization to Ship Zero-Dependency Apps
by andrewaylett on Wednesday January 03, 2018 @05:16AM
(#16059844)
One time I got frustrated enough with Maven not quite supporting what I wanted to do that I sat down and wrote a plugin that just did what I needed.
A short while later I was wondering why I'd never tried that before: Maven plugins are really quite simple to write.
With Maven, if you follow Maven's way of doing things, everything just works. But, if you need to do something different, or have some rare use case Maven's designers weren't focused on, you start struggling a lot to get Maven to do what you want.
Gradle is a lot more flexible and if you have some uncommon requirement you are far more likely to successfully implement it using Gradle than using Maven.