I intended to use JBoss-Maven-Plugin for hotdeployment of jars to JBoss. I have three projects A, B, C that depend on each other so if I want to redeploy A I first have to undeploy C, then B, then redeploy A, then B, then C. Now I'm having a hard time finding a way undeploying the artifacts and then deploying them in reverse order. Might this be out of Maven's scope and I should be using Ant for this task?
Actually it even gets trickier if I have four projects where B and C depend on A and D depends on both B and C - would that always have to result in a double redeployment of D?