add tomcat to existing project intellij code example
Example: how to add a tomcat server in intellij through maven
<build>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>myProject</path>
</configuration>
</plugin>
</plugins>
</build>