I am a newcomer to maven so forgive me if this sounds stupid... I setup a web application project in MyEclipse, and built a pom.xml that deploys my war archive to WebLogic.
this works fine, however it is just a standalone piece. For the whole process, I need to first run maven package to build my war, then I need to manually ensure my WebLogic server is running or the deploy task will fail to connect. How can I make this into one simple execution? First, it should package my war just like package goal does. Then immediately afterwards, it should ensure my WebLogic is started and start it if not (or just run the weblogic:start goal I think I can ignore the error if it finds the server already started) Then finally do a deploy to WebLogic. How can I do this using Maven? -- View this message in context: http://maven.40175.n5.nabble.com/How-can-I-have-a-goal-depend-on-another-goal-tp4384674p4384674.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]
