Apache Tomcat Mojo 

About

Context Goals

Container Goals

Executable War

Run Mojo

Maven Archetype

Developement Test

How to contribute

Changelog

License
 


Modules 

Apache Tomcat Maven Plugin :: Common API

Apache Tomcat Maven Plugin :: Integration Tests

Apache Tomcat Maven Plugin :: Tomcat 6.x

Apache Tomcat Maven Plugin :: Tomcat 7.x

Apache Tomcat Maven Plugin :: Tomcat 7.x War Runner

Apache Tomcat Maven Plugin :: Archetype
 


Project Documentation 

Project Information  

About

Project Summary

Dependency Information

Project Modules

Project License

Project Team

Source Repository

Issue Tracking

Mailing Lists

Dependency Management

Dependencies

Dependency Convergence

Continuous Integration

Plugin Management

Project Plugins

Distribution Management
 


Project Reports  

JavaDocs

JIRA Report

Checkstyle

Sonar
 




ASF 

How Apache Works

Foundation

Sponsoring Apache

Thanks
 



 







Tomcat






Apache  

/

Apache Tomcat  

/

Apache Tomcat Maven plugin  

/

About Apache Tomcat Maven Plugin

Last Published: 20 February 2013

|

Version: 2.1
 



Apache Tomcat Maven Plugin

This is the new home for the Tomcat Maven Plugin (previously hosted at Codehaus).
Version 2.1 has the following new features:
Apache Tomcat7 support
Build an Executable War/Jar
More details in Generated changelog from issue tracker.
The Tomcat Maven Plugin provides goals to manipulate WAR projects within the Apache Tomcat servlet container.
Or to run your war project with an embedded Apache Tomcat. The run goals give you the opportunity to quickly develop your application without needing to install a standalone Tomcat instance. More details and features: see documentation.

groupId and Mojo name change

Since version 2.0-beta-1 tomcat mojos has been renamed to tomcat6 and tomcat7 with the same goals.
You must configure your pom to use this new groupId:
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.tomcat.maven</groupId>
          <artifactId>tomcat6-maven-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.tomcat.maven</groupId>
          <artifactId>tomcat7-maven-plugin</artifactId>
          <version>2.1</version>
        </plugin>
      </plugins>
    </pluginManagement>

Or add the groupId in your settings.xml
  <pluginGroups>
    ....
    <pluginGroup>org.apache.tomcat.maven</pluginGroup>
    ....
  </pluginGroups>

Goals Overview

Goals to manipulate deployed projects within Tomcat
Goals to obtain information from Tomcat
Build an Executable War/Jar

Known limitations

Some goals are not yet available with the tomcat7 mojo. Those container goals are available with the tomcat6 mojo, you only need to update the manager url in your pom.
Use http://localhost:8080/manager/text rather than the default tomcat6 url.
 




Copyright © 2005-2013  The Apache Software Foundation.  All Rights Reserved. 

Apache Tomcat, Tomcat, Apache Maven, Maven, Apache, the Apache feather, and the Apache Tomcat project logo are trademarks of the Apache Software Foundation.

Built by Maven