I’m using Maven on the command line, and my build takes a while to complete (1-2min).
I’m looking for a possibility to hook into the END of the build and trigger a specific command (start a program by ant, etc.) when the build is finished – dependent to the outcome of my build (Successful/Failed).
My goal is that my computer just plays a sound (one for successful build, another for a failed build) so i’ll notice that my build is done.
Can i realize that, and how?
I guess Ant would be a possibility, but i hope i can also do it without Ant.
This should get you started.
You’ll want this Maven repository.