I want to execute a command line script with exec-maven-plugin after \"mvn test\" How do I set this up under pom.xml?
The point of the ordering is, that you have to choose a phase for execution, which is behind the test-phase. You can see this in the Maven Build Lifecycle.
For example, you could use prepare-package which is the phase directly after the test phase.
BTW: Plugins, when configured in the same lifecycle, are executed in the order in which they are listed in the pom.xml.