There is a way by declaring two executions and binding each to the, say, package phase. But then I'd redeploy to my Tomcat servers each time I run a mvn install. I'll keep the manual approach.
From: Ryan Connolly [mailto:[email protected]] Sent: 08 February 2011 11:59 To: [email protected] Subject: Re: [mojo-user] Maven tomcat plugin Not in a single invocation as indicated by the goal's documentation : http://mojo.codehaus.org/tomcat-maven-plugin/redeploy-mojo.html You would likely need to either script this or stick with 2 invocations of the redeploy goal passing the correct serverid/URL etc. for each. On Feb 7, 2011 5:59 PM, "Jemos Infra" <[email protected]> wrote: > Dear all, > > Is it possible to specify more than one server for the tomcat:redeploy goal? > I'd like to deploy the app to two different servers at the same time. > > Regards, > > Marco > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >
