Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95F02BF15 for ; Tue, 10 Jan 2012 11:15:21 +0000 (UTC) Received: (qmail 53608 invoked by uid 500); 10 Jan 2012 11:10:39 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 53471 invoked by uid 500); 10 Jan 2012 11:10:35 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 53448 invoked by uid 99); 10 Jan 2012 11:10:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 11:10:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 11:10:31 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F3D6423889ED for ; Tue, 10 Jan 2012 11:10:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1229509 - in /tomcat/maven-plugin/trunk/src/site/apt: container-goals.apt context-goals.apt Date: Tue, 10 Jan 2012 11:10:10 -0000 To: dev@tomcat.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120110111010.F3D6423889ED@eris.apache.org> Author: olamy Date: Tue Jan 10 11:10:10 2012 New Revision: 1229509 URL: http://svn.apache.org/viewvc?rev=1229509&view=rev Log: update doc with mojo available in 6 or/and 7 Modified: tomcat/maven-plugin/trunk/src/site/apt/container-goals.apt tomcat/maven-plugin/trunk/src/site/apt/context-goals.apt Modified: tomcat/maven-plugin/trunk/src/site/apt/container-goals.apt URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/container-goals.apt?rev=1229509&r1=1229508&r2=1229509&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/src/site/apt/container-goals.apt (original) +++ tomcat/maven-plugin/trunk/src/site/apt/container-goals.apt Tue Jan 10 11:10:10 2012 @@ -4,7 +4,7 @@ Mark Hobson --- - November 21, 2005 + 2011-01-10 --- ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -49,7 +49,7 @@ Container Goals To list all the currently deployed applications in Tomcat you can type: +-- -mvn tomcat:list +mvn tomcat6:list +-- * {Listing server information} @@ -58,7 +58,7 @@ mvn tomcat:list type: +-- -mvn tomcat:info +mvn tomcat6:info +-- * {Listing JNDI resources} @@ -66,13 +66,13 @@ mvn tomcat:info To list all the JNDI resources available within Tomcat you can type: +-- -mvn tomcat:resources +mvn tomcat6:resources +-- Alternatively, to only list JNDI resources of a specific type you can type: +-- -mvn -Dmaven.tomcat.type=my.class.name tomcat:resources +mvn -Dmaven.tomcat.type=my.class.name tomcat6:resources +-- * {Listing security roles} @@ -80,5 +80,5 @@ mvn -Dmaven.tomcat.type=my.class.name to To list the available security roles available within Tomcat you can type: +-- -mvn tomcat:roles +mvn tomcat6:roles +-- Modified: tomcat/maven-plugin/trunk/src/site/apt/context-goals.apt URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/context-goals.apt?rev=1229509&r1=1229508&r2=1229509&view=diff ============================================================================== --- tomcat/maven-plugin/trunk/src/site/apt/context-goals.apt (original) +++ tomcat/maven-plugin/trunk/src/site/apt/context-goals.apt Tue Jan 10 11:10:10 2012 @@ -4,7 +4,7 @@ Mark Hobson --- - November 21, 2005 + 2011-01-10 --- ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -53,25 +53,25 @@ Context Goals * To redeploy a WAR project deployed by <<>> you can type: +-- -mvn package tomcat:redeploy +mvn package tomcat6/7:redeploy +-- * To redeploy a WAR project deployed by <<>> you can type: +-- -mvn war:exploded tomcat:redeploy +mvn war:exploded tomcat6/7:redeploy +-- * To redeploy a WAR project deployed by <<>> you can type: +-- -mvn war:inplace tomcat:redeploy +mvn war:inplace tomcat6/7:redeploy +-- * To redeploy a context.xml file deployed by <<>> you can type: +-- -mvn tomcat:redeploy +mvn tomcat6/7:redeploy +-- <> Depending on the <<>> specified in the <<>> you @@ -82,7 +82,7 @@ mvn tomcat:redeploy To undeploy a WAR from Tomcat you can type: +-- -mvn tomcat:undeploy +mvn tomcat6/7:undeploy +-- * {Starting a WAR project} @@ -90,7 +90,7 @@ mvn tomcat:undeploy To start a WAR in Tomcat you can type: +-- -mvn tomcat:start +mvn tomcat6:start +-- * {Stopping a WAR project} @@ -98,7 +98,7 @@ mvn tomcat:start To stop a WAR in Tomcat you can type: +-- -mvn tomcat:stop +mvn tomcat6:stop +-- * {Listing session statistics} @@ -106,5 +106,5 @@ mvn tomcat:stop To list the session statistics for a deployed WAR project you can type: +-- -mvn tomcat:sessions +mvn tomcat6:sessions +-- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org