Author: snicoll Date: Fri Sep 23 11:43:46 2005 New Revision: 291188 URL: http://svn.apache.org/viewcvs?rev=291188&view=rev Log: MNG-853: added howto and web site doco for war plugin.
Added: maven/components/trunk/maven-plugins/maven-war-plugin/src/site/ maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/ maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/howto.apt maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/introduction.apt maven/components/trunk/maven-plugins/maven-war-plugin/src/site/site.xml Added: maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/howto.apt URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/howto.apt?rev=291188&view=auto ============================================================================== --- maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/howto.apt (added) +++ maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/howto.apt Fri Sep 23 11:43:46 2005 @@ -0,0 +1,35 @@ + ------ + Maven 2 War Plugin: configuration examples + ------ + Stephane Nicoll + <[EMAIL PROTECTED]> + ------ + September 23, 2005 + +Introduction + + The War plugin allows to package the web application in different mode: + + * war (default): generates the war artifact + + * inplace: package the web application in the source tree + + * exploded (<<deprecated>>): package an exploded web application + + The packaging's mode is to be set in the plugin's configuration. For instance, + to use the <inplace> mode configure your project as follows: + ++-------- + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <mode>inplace</mode> + </configuration> + </plugin> + </plugins> + </build> ++--------- + Added: maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/introduction.apt URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/introduction.apt?rev=291188&view=auto ============================================================================== --- maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/introduction.apt (added) +++ maven/components/trunk/maven-plugins/maven-war-plugin/src/site/apt/introduction.apt Fri Sep 23 11:43:46 2005 @@ -0,0 +1,16 @@ + ------ + Maven 2 Ear Plugin + ------ + Stephane Nicoll + <[EMAIL PROTECTED]> + ------ + September 23, 2005 + +Introduction + + This plugin generates Web application archive (WAR) file. + + The full description of goals is available {{{index.html}here}}. + + + Added: maven/components/trunk/maven-plugins/maven-war-plugin/src/site/site.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-war-plugin/src/site/site.xml?rev=291188&view=auto ============================================================================== --- maven/components/trunk/maven-plugins/maven-war-plugin/src/site/site.xml (added) +++ maven/components/trunk/maven-plugins/maven-war-plugin/src/site/site.xml Fri Sep 23 11:43:46 2005 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<!-- +/* + * Copyright 2001-2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<project name="Maven War Plugin"> + <bannerLeft> + <name>Maven War Plugin</name> + <src>http://maven.apache.org/images/apache-maven-project.png</src> + <href>http://maven.apache.org/</href> + </bannerLeft> + <bannerRight> + <src>http://maven.apache.org/images/maven-small.gif</src> + </bannerRight> + <body> + <links> + <item name="Maven 2" href="http://maven.apache.org/maven2/"/> + </links> + + <menu name="Overview"> + <item name="Introduction" href="introduction.html"/> + <item name="How to Use" href="howto.html"/> + </menu> + ${reports} + </body> +</project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]