News for hackers. Stuff that matters.
Re:What's in a Build Tool? by pkd on Saturday March 05, 2016 @01:10AM (#11228621)
Definitely not Maven. Maven is ubiquitous in Java projects. Gradle has been pushed hard by Android, but I know that a lot of developers aren't convinced that putting code into configuration is a good idea. Maven even after all the XML crud remains insanely flexible and powerful.
Re:What's in a Build Tool? by TeMPOraL on Saturday March 05, 2016 @04:15AM (#11228953)
I have no opinion on Gradle at this point, though the developers you mention probably need a casual reminder that code == data, and complex enough XML spec is indistinguishable from a poorly formatted Abstract Syntax Tree (or Lisp code).
Re:What's in a Build Tool? by twic on Saturday March 05, 2016 @09:37AM (#11229602)
Maven is really not insanely flexible. I have a build in which i wanted three distinct test phases (unit, functional, and API contract). A simple requirement. But i couldn't have that without writing a plugin, or breaking out a dummy module for one of them. We ended up making the contract tests a special case of the unit tests, selected by passing in some flags; a consequence of that is that it's impossible to run both sets of tests in a single build.

tl;dr: Maven is the exact opposite of flexible.

Re:What's in a Build Tool? by tdurden on Saturday March 05, 2016 @03:00PM (#11230781)
creating profiles specific to each might help
Re:What's in a Build Tool? by twic on Saturday March 05, 2016 @05:33PM (#11231393)
I think i still couldn't run all three sets of tests in one build though, right?
Re:What's in a Build Tool? by tdurden on Sunday March 06, 2016 @03:43AM (#11232975)
You can activate multiple profiles per build if needed.
Re:What's in a Build Tool? by twic on Sunday March 06, 2016 @06:02PM (#11236028)
But i can't run a goal twice under different profiles, can i?
Re:What's in a Build Tool? by tdurden on Monday March 07, 2016 @07:42PM (#11242845)
No, but you can tie multiple plugin executions to a single phase.