News for hackers. Stuff that matters.
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.