I want completely automated integration testing for a Maven project. The integration tests require that an external (platform-dependent) program is started before running. Ideally, the external program would be killed after the unit tests are finished, but is not necessary.
Is there a Maven plugin to accomplish this? Other ideas?
You could use the antrun plugin. Inside you would use ant’s
execapply task.Something like this.
Ant support os specific commands of course through the condition task.