The plugin provides goals to retrieve various information about the Tomcat container:
These are described in more detail below.
To list all the currently deployed applications in Tomcat you can type:
mvn tomcat6:list
To list information about the Tomcat version, OS, and JVM properties you can type:
mvn tomcat6:info
To list all the JNDI resources available within Tomcat you can type:
mvn tomcat6:resources
Alternatively, to only list JNDI resources of a specific type you can type:
mvn -Dmaven.tomcat.type=my.class.name tomcat6:resources
To list the available security roles available within Tomcat you can type:
mvn tomcat6:roles