Hi, that sounds to me that you didn't know the Maven Life Cycle which runs always...
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html This means for you that if you call mvn package every phase before package will run complete incl. the package phase itself. Or in other words if you call mvn deploy all phases before deploy will run and of course deploy itself as well. Now you can bound a plugin to a particular phase to do particular things...for example check if the container runs... For example via cargo plugin you start different containers etc. but the cargo plugin is more intended for integration tests instead for deployment... Kind regards Karl Heinz Marbaise ----- Kind regards Karl Heinz Marbaise ---- http://www.soebes.de http://www.skmwiki.de http://supose.org/wiki/supose -- View this message in context: http://maven.40175.n5.nabble.com/How-can-I-have-a-goal-depend-on-another-goal-tp4384674p4384704.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
