Author: olamy
Date: Sat Oct 8 17:50:01 2011
New Revision: 1180433
URL: http://svn.apache.org/viewvc?rev=1180433&view=rev
Log:
add a page on how to test SNAPSHOT build of this mojo
Added:
tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt (with props)
Modified:
tomcat/maven-plugin/trunk/src/site/apt/index.apt
tomcat/maven-plugin/trunk/src/site/site.xml
Modified: tomcat/maven-plugin/trunk/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/index.apt?rev=1180433&r1=1180432&r2=1180433&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/src/site/apt/index.apt (original)
+++ tomcat/maven-plugin/trunk/src/site/apt/index.apt Sat Oct 8 17:50:01 2011
@@ -3,7 +3,7 @@
---
Oliver Lamy
---
- 2011-09-01
+ 2011-10-08
---
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -27,4 +27,7 @@
~~ http://maven.apache.org/doxia/references/apt-format.html
This is the new for the Tomcat Maven Plugin (previously hosted at Codehaus).
- TODO : complete documentation
+ The version 2.0 which will support Tomcat7 is under developpement.
+
+ Prior to version 2.0, tomcat mojos has been renamed to tomcat6 and tomcat7
with the same goals.
+
Added: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
URL:
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt?rev=1180433&view=auto
==============================================================================
--- tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt (added)
+++ tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt Sat Oct 8
17:50:01 2011
@@ -0,0 +1,89 @@
+ ---
+ Snapshots Tests
+ ---
+ Oliver Lamy
+ ---
+ 2011-10-08
+ ---
+
+ ~~ Licensed to the Apache Software Foundation (ASF) under one
+ ~~ or more contributor license agreements. See the NOTICE file
+ ~~ distributed with this work for additional information
+ ~~ regarding copyright ownership. The ASF licenses this file
+ ~~ to you 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.
+
+ ~~ NOTE: For help with the syntax of this file, see:
+ ~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Testing SNAPSHOT
+
+ You can test SNAPSHOT versions of the mojos tomcat6 and tomcat7 with the
following configuration.
+
+* Declare the SNAPSHOT pluginRepository or repository if using Apache Maven 2.x
+
++--------------------------
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshots</name>
+ <url>https://repository.apache.org/content/groups/snapshots-group/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
++--------------------------
+
+
+* Mojo declaration
+
++--------------------------
+<pluginManagement>
+ <plugins>
+ ...
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat6-maven-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <configuration>
+ <path>/</path>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tomcat.maven</groupId>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <configuration>
+ <path>/</path>
+ </configuration>
+ </plugin>
+ ...
+ </plugins>
+</pluginManagement>
+
++--------------------------
+
+* Running
+
+ Now you can have fun with tomcat6:run or tomcat7:run
+
+
+
+
+
Propchange: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Modified: tomcat/maven-plugin/trunk/src/site/site.xml
URL:
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/site.xml?rev=1180433&r1=1180432&r2=1180433&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/src/site/site.xml (original)
+++ tomcat/maven-plugin/trunk/src/site/site.xml Sat Oct 8 17:50:01 2011
@@ -44,6 +44,11 @@
<item name="Apache Tomcat Maven plugin" href="index.html" />
</breadcrumbs>
+ <menu name="Apache Tomcat Mojo">
+ <item name="About" href="index.html"/>
+ <item name="Developement Test" href="snapshot-test.html"/>
+ </menu>
+
<menu ref="modules"/>
<menu ref="reports"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]