Redeploying automatically without "mvn:redeploy"

I have a mavenized dynamic web project in Eclipse. When I make changes to it, I must call mvn:redeploy to redeploy the project into Tomcat. Is there a way to automatically redeploy to Tomcat when saving files, without the need of mvn:redeploy command?

Upvotes: 0

Views: 91

Answers (1)

Boris Pavlović
Boris Pavlović

Reputation: 64632

Use Eclipse's "Java - On Save Actions" to configure additional action which will invoke mvn redeploy.

Upvotes: 1

Related Questions