I use M2E to create Maven archetype projects (in this case, a simple web application) to use Maven to deploy to a tomcat remote server.
I added the tomcat-maven plugin to the POM.XML file and it seems to be correct.
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <server>localServer</server> </configuration> </plugin>
and when I type "mvn tomcat: deploy" into the terminal, it deploys successfully. Therefore, I know that my settings.xml as well as my tomcat settings are ok.
Is it possible to deploy the application directly from Eclipse without having to go through the terminal. In other words, is it possible to pass the command "mvn tomcat: deploy" from eclipse to maven?
Greetings
source share