Author: bayard
Date: Mon Jul 13 04:49:30 2009
New Revision: 793456

URL: http://svn.apache.org/viewvc?rev=793456&view=rev
Log:
Adding basic structure for cactus tests

Added:
    jakarta/taglibs/sandbox/extended/trunk/extended-test/
    jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml   (with props)
    jakarta/taglibs/sandbox/extended/trunk/extended-test/src/
    jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/
    jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/
    
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/
    
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml
   (with props)

Added: jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml?rev=793456&view=auto
==============================================================================
--- jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml (added)
+++ jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml Mon Jul 13 
04:49:30 2009
@@ -0,0 +1,193 @@
+<?xml version="1.0"?>
+<!--
+   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.
+-->
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.taglibs</groupId>
+    <artifactId>taglibs-parent</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>taglibs-extended-test</artifactId>
+  <version>0.1-SNAPSHOT</version>
+  <name>Apache Extended Taglib Cactus Tests</name>
+  <packaging>war</packaging>
+
+  <inceptionYear>2009</inceptionYear>
+  <description>
+    The Cactus tests for the Apache Extended Taglib
+  </description>
+
+  <url>http://jakarta.apache.org/taglibs/extended/</url>
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/taglibs/sandbox/extended/trunk/extended-test</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/taglibs/sandbox/extended/trunk/extended-test</developerConnection>
+    
<url>http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/extended/trunk/extended-test</url>
+  </scm>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <name>Apache Website</name>
+      
<url>scpexe://people.apache.org/www/jakarta.apache.org/taglibs/extended/extended-test/</url>
+    </site>
+  </distributionManagement>
+
+  <developers>
+    <developer><name>Henri Yandell</name></developer>
+  </developers>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.taglibs</groupId>
+      <artifactId>taglibs-extended</artifactId>
+      <version>0.1-SNAPSHOT</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.cactus</groupId>
+      <artifactId>cactus.core.framework.javaEE.13-14</artifactId>
+      <version>1.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cactus</groupId>
+      <artifactId>cactus.core.framework.wrapper.javaEE.14</artifactId>
+      <version>1.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cactus</groupId>
+      <artifactId>cactus.integration.shared.api</artifactId>
+      <version>1.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies> 
+
+  <build>
+    <plugins>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+        <configuration>
+          <webResources>
+            <resource>
+              <targetPath>WEB-INF/classes</targetPath>
+              <directory>target/test-classes</directory>
+            </resource>
+          </webResources>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.cactus</groupId>
+        <artifactId>cactus.integration.maven2</artifactId>
+        <version>1.8.1</version>
+        <configuration>
+          <srcFile>target/taglibs-extended-test-0.1-SNAPSHOT.war</srcFile>
+          
<destFile>target/cactus-taglibs-extended-test-0.1-SNAPSHOT.war</destFile>
+        </configuration>
+        <executions>
+          <execution>
+            <id>cactus-cactifywar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>cactifywar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+        <executions>
+          <execution>
+            <id>surefire-it</id>
+            <phase>integration-test</phase>
+            <goals>
+              <goal>test</goal>
+            </goals>
+            <configuration>
+              <skip>false</skip>
+              <systemProperties>
+                <property>
+                  <name>cactus.contextURL</name>
+                  <value>http://localhost:8080/taglibs-extended-test</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>maven-jetty-plugin</artifactId>
+        <version>6.1.10</version>   <!-- appears to be required to enable 
daemon=true behaviour -->
+        <configuration>
+          <scanIntervalSeconds>10</scanIntervalSeconds>
+          <connectors>
+            <connector 
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+              <port>8080</port>
+              <maxIdleTime>60000</maxIdleTime>
+            </connector>
+          </connectors>
+        </configuration>
+        <executions>
+          <execution>
+            <id>start-jetty</id>
+            <phase>pre-integration-test</phase>
+            <goals>
+              <goal>run-war</goal>
+            </goals>
+            <configuration>
+              <scanIntervalSeconds>0</scanIntervalSeconds>
+              <daemon>true</daemon>
+              
<webApp>target/cactus-taglibs-extended-test-0.1-SNAPSHOT.war</webApp>
+            </configuration>
+          </execution>
+          <execution>
+            <id>stop-jetty</id>
+            <phase>post-integration-test</phase>
+            <goals>
+              <goal>stop</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>
+  </build>
+
+
+</project>

Propchange: jakarta/taglibs/sandbox/extended/trunk/extended-test/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml?rev=793456&view=auto
==============================================================================
--- 
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml
 (added)
+++ 
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml
 Mon Jul 13 04:49:30 2009
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/javaee";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
+         version="2.5">
+
+    <display-name>Extended Taglib test</display-name>
+    <description>Extended Taglib test</description>
+    
+</web-app>

Propchange: 
jakarta/taglibs/sandbox/extended/trunk/extended-test/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org

Reply via email to