how to deploy to remote server with tomcat7-maven-plugin

Posted by Msaleh on Stack Overflow See other posts from Stack Overflow or by Msaleh
Published on 2012-06-30T14:42:48Z Indexed on 2012/06/30 15:16 UTC
Read the original article Hit count: 425

i want to use tomcat7-maven-plugin to deploy war file from my local machine to remote server, here's the configuration i have so far:

<plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <version>2.0-beta-1</version>
                <configuration>
                  <server>pb</server>
                  <url>http://mydomain.com:8080/manager/html</url>
                </configuration>
            </plugin>

do i need more configuration ? and what command do i use to deploy ?

© Stack Overflow or respective owner

Related posts about java-ee

Related posts about tomcat