A modern Maven plugin for deploying and managing web applications on Apache Tomcat 10.1.x and 11.x
Complete documentation for using the plugin including configuration, goals, and examples.
View Wiki →Javadoc API reference for developers extending or contributing to the plugin.
View Javadoc →Understanding the internal architecture and design decisions of the plugin.
View Architecture →Add the plugin to your pom.xml:
<plugin>
<groupId>io.github.rajendarreddyj</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<httpPort>8080</httpPort>
<contextPath>/myapp</contextPath>
</configuration>
</plugin>
Then run:
mvn tomcat:run