portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [44/48] Added generated test framework code for basic dispatcher tests that need to be developed manually.
Date Thu, 14 Aug 2014 13:24:19 GMT
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/a8272f83/portlet-tck_3.0/driver/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/pom.xml b/portlet-tck_3.0/driver/pom.xml
index e7a65f6..00d8ce4 100644
--- a/portlet-tck_3.0/driver/pom.xml
+++ b/portlet-tck_3.0/driver/pom.xml
@@ -1,406 +1,413 @@
-<!--
-    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>javax.portlet</groupId>
-      <artifactId>tck</artifactId>
-      <version>3.0-SNAPSHOT</version>
-   </parent>
-
-   <artifactId>tck-driver</artifactId>
-   <packaging>jar</packaging>
-
-   <description>
-   This project builds the Junit / Selenium driver for the portlet API tck.
-   </description>
-
-   <dependencies>
-      <dependency>
-         <groupId>junit</groupId>
-         <artifactId>junit</artifactId>
-         <scope>compile</scope>
-      </dependency>
-      <dependency>
-         <groupId>org.seleniumhq.selenium</groupId>
-         <artifactId>selenium-java</artifactId>
-         <scope>compile</scope>
-      </dependency>
-
-      <!-- Dependency on common module for element ID suffixes -->
-      <dependency>
-         <groupId>javax.portlet</groupId>
-         <artifactId>tck-common</artifactId>
-         <version>${project.version}</version>
-         <scope>compile</scope>
-      </dependency>
-
-
-      <!-- List the modules containing test cases in order to aggregate the output -->
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-TestModule1</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-TestModule2</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-TestModule3</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AnnotationTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2EnvironmentTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2ExceptionTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2FilterTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2PortletTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2RequestTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2ResponseTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2URLTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2WrapperTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlEnvironmentTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlFilterTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlPortletTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlRequestTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlResponseTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2AddlUrlTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2PortletTagLibraryTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2DispatcherTests</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-      <dependency>
-         <groupId>${project.groupId}</groupId>
-         <artifactId>tck-V2DispatcherTests2</artifactId>
-         <version>${project.version}</version>
-         <type>war</type>
-      </dependency>
-   </dependencies>
-
-   <build>
-      <finalName>${project.artifactId}</finalName>
-
-      <resources>
-         <resource>
-            <directory>src/main/resources/xml-resources</directory>
-            <targetPath>${project.build.directory}/${test.file.dir}</targetPath>
-            <includes>
-               <include>*</include>
-            </includes>
-         </resource>
-      </resources>
-
-      <plugins>
-
-         <!-- For extracting the XML transformation stylesheets from common module -->
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
-               <execution>
-                  <id>xml-resource-dependencies</id>
-                  <phase>generate-sources</phase>
-                  <goals>
-                     <goal>unpack-dependencies</goal>
-                  </goals>
-                  <configuration>
-                     <includeArtifactIds>
-                        tck-TestModule1,
-                        tck-TestModule2,
-                        tck-TestModule3,
-                        tck-V2AnnotationTests,
-                        tck-V2EnvironmentTests,
-                        tck-V2ExceptionTests,
-                        tck-V2FilterTests,
-                        tck-V2PortletTests,
-                        tck-V2RequestTests,
-                        tck-V2ResponseTests,
-                        tck-V2URLTests,
-                        tck-V2WrapperTests,
-                        tck-V2AddlEnvironmentTests,
-                        tck-V2AddlFilterTests,
-                        tck-V2AddlPortletTests,
-                        tck-V2AddlRequestTests,
-                        tck-V2AddlResponseTests,
-                        tck-V2AddlUrlTests,
-                        tck-V2PortletTagLibraryTests,
-                        tck-V2DispatcherTests,
-                        tck-V2DispatcherTests2
-                     </includeArtifactIds>
-                     <includes>${test.file.dir}/*.xml</includes>
-                     <outputDirectory>${project.build.directory}</outputDirectory>
-                  </configuration>
-               </execution>
-            </executions>
-         </plugin>
-
-         <!-- For Performing xml translations to create test.xml files -->
-         <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>xml-maven-plugin</artifactId>
-            <version>1.0</version>
-            <executions>
-               <execution>
-                  <phase>process-resources</phase>
-                  <goals>
-                     <goal>transform</goal>
-                  </goals>
-               </execution>
-            </executions>
-            <configuration>
-               <transformationSets>
-
-                  <!-- Combine several test list files into a single module -->
-                  <transformationSet>
-                     <dir>${project.build.directory}/${test.file.dir}</dir>
-                     <includes>
-                        <include>testFiles.xml</include>
-                     </includes>
-                     <outputDir>${project.build.directory}/classes/${test.list.dir}</outputDir>
-                     <fileMappers>
-                        <fileMapper
-                           implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                           <targetName>${test.list.name}</targetName>
-                        </fileMapper>
-                     </fileMappers>
-                     <stylesheet>${project.build.directory}/${test.file.dir}/${test.list.xsl}</stylesheet>
-                  </transformationSet>
-
-                  <!-- Combine several page files into a single page file containing 
-                     all test portal pages -->
-                  <transformationSet>
-                     <dir>${project.build.directory}/${test.file.dir}</dir>
-                     <includes>
-                        <include>pageFiles.xml</include>
-                     </includes>
-                     <outputDir>${project.build.directory}/classes/${test.list.dir}</outputDir>
-                     <fileMappers>
-                        <fileMapper
-                           implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                           <targetName>${page.file.final.name}</targetName>
-                        </fileMapper>
-                     </fileMappers>
-                     <stylesheet>${project.build.directory}/${test.file.dir}/${page.file.final.xsl}</stylesheet>
-                  </transformationSet>
-
-               </transformationSets>
-            </configuration>
-         </plugin>
-
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-compiler-plugin</artifactId>
-         </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-jar-plugin</artifactId>
-            <configuration>
-               <archive>
-                  <manifest>
-                     <mainClass>example.Selenium2Example</mainClass>
-                  </manifest>
-               </archive>
-            </configuration>
-         </plugin>
-      </plugins>
-   </build>
-
-
-   <!-- To build the tests, use "mvn clean install" from the parent directory. -->
-   <!-- To run all of the tests, use "mvn test -Prun-tck" from the driver directory. -->
-   
-   <!-- To a subset of the tests, use "mvn test -Prun-tck -Dtest.module=<match string>" from the driver directory. -->
-   <!-- the driver will then execute all tests whose test case name contains the specified string. -->
-   <!-- Example: "mvn test -Prun-tck -Dtest.module=PortletRequest" will execute all PortletRequest TCs. -->
-   
-   <profiles>
-      <profile>
-         <id>run-tck</id>
-         <build>
-            <plugins>
-
-               <!-- For running the test driver -->
-               <plugin>
-                  <groupId>org.apache.maven.plugins</groupId>
-                  <artifactId>maven-surefire-plugin</artifactId>
-                  <version>2.17</version>
-                  <configuration>
-                     <testClassesDirectory>${project.build.directory}/classes</testClassesDirectory>
-                     <includes>
-                        <include>**/javax/**</include>
-                     </includes>
-                     <useFile>true</useFile>
-                     <systemProperties>
-                        <property>
-                           <name>test.server.login.url</name>
-                           <value>${test.server.login.url}</value>
-                        </property>
-                        <property>
-                           <name>test.context.base</name>
-                           <value>${test.context.base}</value>
-                        </property>
-                        <property>
-                           <name>test.url.strategy</name>
-                           <value>${test.url.strategy}</value>
-                        </property>
-                        <property>
-                           <name>test.server.host</name>
-                           <value>${test.server.host}</value>
-                        </property>
-                        <property>
-                           <name>test.server.port</name>
-                           <value>${test.server.port}</value>
-                        </property>
-                        <property>
-                           <name>test.server.username.id</name>
-                           <value>${test.server.username.id}</value>
-                        </property>
-                        <property>
-                           <name>test.server.username</name>
-                           <value>${test.server.username}</value>
-                        </property>
-                        <property>
-                           <name>test.server.password.id</name>
-                           <value>${test.server.password.id}</value>
-                        </property>
-                        <property>
-                           <name>test.server.password</name>
-                           <value>${test.server.password}</value>
-                        </property>
-                        <property>
-                           <name>test.list.file</name>
-                           <value>${project.build.directory}/classes/${test.list.dir}/${test.list.name}</value>
-                        </property>
-                        <property>
-                           <name>test.browser</name>
-                           <value>${test.browser}</value>
-                        </property>
-                        <property>
-                           <name>test.browser.webDriver</name>
-                           <value>${test.browser.webDriver}</value>
-                        </property>
-                        <property>
-                           <name>test.module</name>
-                           <value>${test.module}</value>
-                        </property>
-                        <property>
-                           <name>test.debug</name>
-                           <value>${test.module}</value>
-                        </property>
-                     </systemProperties>
-                  </configuration>
-               </plugin>
-
-            </plugins>
-         </build>
-      </profile>
-   </profiles>
-
-
-</project>
+<!--
+    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>javax.portlet</groupId>
+      <artifactId>tck</artifactId>
+      <version>3.0-SNAPSHOT</version>
+   </parent>
+
+   <artifactId>tck-driver</artifactId>
+   <packaging>jar</packaging>
+
+   <description>
+   This project builds the Junit / Selenium driver for the portlet API tck.
+   </description>
+
+   <dependencies>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <scope>compile</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.seleniumhq.selenium</groupId>
+         <artifactId>selenium-java</artifactId>
+         <scope>compile</scope>
+      </dependency>
+
+      <!-- Dependency on common module for element ID suffixes -->
+      <dependency>
+         <groupId>javax.portlet</groupId>
+         <artifactId>tck-common</artifactId>
+         <version>${project.version}</version>
+         <scope>compile</scope>
+      </dependency>
+
+
+      <!-- List the modules containing test cases in order to aggregate the output -->
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-TestModule1</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-TestModule2</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-TestModule3</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AnnotationTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2EnvironmentTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2ExceptionTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2FilterTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2PortletTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2RequestTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2ResponseTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2URLTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2WrapperTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlEnvironmentTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlFilterTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlPortletTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlRequestTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlResponseTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2AddlUrlTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2PortletTagLibraryTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2DispatcherTests</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2DispatcherTests2</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+      <dependency>
+         <groupId>${project.groupId}</groupId>
+         <artifactId>tck-V2DispatcherTests3S</artifactId>
+         <version>${project.version}</version>
+         <type>war</type>
+      </dependency>
+   </dependencies>
+
+   <build>
+      <finalName>${project.artifactId}</finalName>
+
+      <resources>
+         <resource>
+            <directory>src/main/resources/xml-resources</directory>
+            <targetPath>${project.build.directory}/${test.file.dir}</targetPath>
+            <includes>
+               <include>*</include>
+            </includes>
+         </resource>
+      </resources>
+
+      <plugins>
+
+         <!-- For extracting the XML transformation stylesheets from common module -->
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>xml-resource-dependencies</id>
+                  <phase>generate-sources</phase>
+                  <goals>
+                     <goal>unpack-dependencies</goal>
+                  </goals>
+                  <configuration>
+                     <includeArtifactIds>
+                        tck-TestModule1,
+                        tck-TestModule2,
+                        tck-TestModule3,
+                        tck-V2AnnotationTests,
+                        tck-V2EnvironmentTests,
+                        tck-V2ExceptionTests,
+                        tck-V2FilterTests,
+                        tck-V2PortletTests,
+                        tck-V2RequestTests,
+                        tck-V2ResponseTests,
+                        tck-V2URLTests,
+                        tck-V2WrapperTests,
+                        tck-V2AddlEnvironmentTests,
+                        tck-V2AddlFilterTests,
+                        tck-V2AddlPortletTests,
+                        tck-V2AddlRequestTests,
+                        tck-V2AddlResponseTests,
+                        tck-V2AddlUrlTests,
+                        tck-V2PortletTagLibraryTests,
+                        tck-V2DispatcherTests,
+                        tck-V2DispatcherTests2,
+                        tck-V2DispatcherTests3S
+                     </includeArtifactIds>
+                     <includes>${test.file.dir}/*.xml</includes>
+                     <outputDirectory>${project.build.directory}</outputDirectory>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+
+         <!-- For Performing xml translations to create test.xml files -->
+         <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>xml-maven-plugin</artifactId>
+            <version>1.0</version>
+            <executions>
+               <execution>
+                  <phase>process-resources</phase>
+                  <goals>
+                     <goal>transform</goal>
+                  </goals>
+               </execution>
+            </executions>
+            <configuration>
+               <transformationSets>
+
+                  <!-- Combine several test list files into a single module -->
+                  <transformationSet>
+                     <dir>${project.build.directory}/${test.file.dir}</dir>
+                     <includes>
+                        <include>testFiles.xml</include>
+                     </includes>
+                     <outputDir>${project.build.directory}/classes/${test.list.dir}</outputDir>
+                     <fileMappers>
+                        <fileMapper
+                           implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                           <targetName>${test.list.name}</targetName>
+                        </fileMapper>
+                     </fileMappers>
+                     <stylesheet>${project.build.directory}/${test.file.dir}/${test.list.xsl}</stylesheet>
+                  </transformationSet>
+
+                  <!-- Combine several page files into a single page file containing 
+                     all test portal pages -->
+                  <transformationSet>
+                     <dir>${project.build.directory}/${test.file.dir}</dir>
+                     <includes>
+                        <include>pageFiles.xml</include>
+                     </includes>
+                     <outputDir>${project.build.directory}/classes/${test.list.dir}</outputDir>
+                     <fileMappers>
+                        <fileMapper
+                           implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                           <targetName>${page.file.final.name}</targetName>
+                        </fileMapper>
+                     </fileMappers>
+                     <stylesheet>${project.build.directory}/${test.file.dir}/${page.file.final.xsl}</stylesheet>
+                  </transformationSet>
+
+               </transformationSets>
+            </configuration>
+         </plugin>
+
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jar-plugin</artifactId>
+            <configuration>
+               <archive>
+                  <manifest>
+                     <mainClass>example.Selenium2Example</mainClass>
+                  </manifest>
+               </archive>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
+
+   <!-- To build the tests, use "mvn clean install" from the parent directory. -->
+   <!-- To run all of the tests, use "mvn test -Prun-tck" from the driver directory. -->
+   
+   <!-- To a subset of the tests, use "mvn test -Prun-tck -Dtest.module=<match string>" from the driver directory. -->
+   <!-- the driver will then execute all tests whose test case name contains the specified string. -->
+   <!-- Example: "mvn test -Prun-tck -Dtest.module=PortletRequest" will execute all PortletRequest TCs. -->
+   
+   <profiles>
+      <profile>
+         <id>run-tck</id>
+         <build>
+            <plugins>
+
+               <!-- For running the test driver -->
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-surefire-plugin</artifactId>
+                  <version>2.17</version>
+                  <configuration>
+                     <testClassesDirectory>${project.build.directory}/classes</testClassesDirectory>
+                     <includes>
+                        <include>**/javax/**</include>
+                     </includes>
+                     <useFile>true</useFile>
+                     <systemProperties>
+                        <property>
+                           <name>test.server.login.url</name>
+                           <value>${test.server.login.url}</value>
+                        </property>
+                        <property>
+                           <name>test.context.base</name>
+                           <value>${test.context.base}</value>
+                        </property>
+                        <property>
+                           <name>test.url.strategy</name>
+                           <value>${test.url.strategy}</value>
+                        </property>
+                        <property>
+                           <name>test.server.host</name>
+                           <value>${test.server.host}</value>
+                        </property>
+                        <property>
+                           <name>test.server.port</name>
+                           <value>${test.server.port}</value>
+                        </property>
+                        <property>
+                           <name>test.server.username.id</name>
+                           <value>${test.server.username.id}</value>
+                        </property>
+                        <property>
+                           <name>test.server.username</name>
+                           <value>${test.server.username}</value>
+                        </property>
+                        <property>
+                           <name>test.server.password.id</name>
+                           <value>${test.server.password.id}</value>
+                        </property>
+                        <property>
+                           <name>test.server.password</name>
+                           <value>${test.server.password}</value>
+                        </property>
+                        <property>
+                           <name>test.list.file</name>
+                           <value>${project.build.directory}/classes/${test.list.dir}/${test.list.name}</value>
+                        </property>
+                        <property>
+                           <name>test.browser</name>
+                           <value>${test.browser}</value>
+                        </property>
+                        <property>
+                           <name>test.browser.webDriver</name>
+                           <value>${test.browser.webDriver}</value>
+                        </property>
+                        <property>
+                           <name>test.module</name>
+                           <value>${test.module}</value>
+                        </property>
+                        <property>
+                           <name>test.debug</name>
+                           <value>${test.module}</value>
+                        </property>
+                     </systemProperties>
+                  </configuration>
+               </plugin>
+
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+
+
+</project>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/a8272f83/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml b/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
index 4fab144..9f6ac15 100644
--- a/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
+++ b/portlet-tck_3.0/driver/src/main/resources/xml-resources/pageFiles.xml
@@ -1,46 +1,47 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    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.     
--->
-<!--
-   Lists the page files from the individual modules that will be combined
-   together to form the final page file with all pages for the TCK. 
- -->
-<fl:filelist xmlns:fl="http://www.apache.org/2014/javax/portlet/tck/filelist">
-   <fl:file>tck-TestModule1-pages.xml</fl:file>
-   <fl:file>tck-TestModule2-pages.xml</fl:file>
-   <fl:file>tck-TestModule3-pages.xml</fl:file>
-   <fl:file>tck-V2AnnotationTests-pages.xml</fl:file>
-   <fl:file>tck-V2EnvironmentTests-pages.xml</fl:file>
-   <fl:file>tck-V2ExceptionTests-pages.xml</fl:file>
-   <fl:file>tck-V2FilterTests-pages.xml</fl:file>
-   <fl:file>tck-V2PortletTests-pages.xml</fl:file>
-   <fl:file>tck-V2RequestTests-pages.xml</fl:file>
-   <fl:file>tck-V2ResponseTests-pages.xml</fl:file>
-   <fl:file>tck-V2URLTests-pages.xml</fl:file>
-   <fl:file>tck-V2WrapperTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlEnvironmentTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlFilterTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlPortletTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlRequestTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlResponseTests-pages.xml</fl:file>
-   <fl:file>tck-V2AddlUrlTests-pages.xml</fl:file>
-   <fl:file>tck-V2PortletTagLibraryTests-pages.xml</fl:file>
-   <fl:file>tck-V2DispatcherTests-pages.xml</fl:file>
-   <fl:file>tck-V2DispatcherTests2-pages.xml</fl:file>
-</fl:filelist>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.     
+-->
+<!--
+   Lists the page files from the individual modules that will be combined
+   together to form the final page file with all pages for the TCK. 
+ -->
+<fl:filelist xmlns:fl="http://www.apache.org/2014/javax/portlet/tck/filelist">
+   <fl:file>tck-TestModule1-pages.xml</fl:file>
+   <fl:file>tck-TestModule2-pages.xml</fl:file>
+   <fl:file>tck-TestModule3-pages.xml</fl:file>
+   <fl:file>tck-V2AnnotationTests-pages.xml</fl:file>
+   <fl:file>tck-V2EnvironmentTests-pages.xml</fl:file>
+   <fl:file>tck-V2ExceptionTests-pages.xml</fl:file>
+   <fl:file>tck-V2FilterTests-pages.xml</fl:file>
+   <fl:file>tck-V2PortletTests-pages.xml</fl:file>
+   <fl:file>tck-V2RequestTests-pages.xml</fl:file>
+   <fl:file>tck-V2ResponseTests-pages.xml</fl:file>
+   <fl:file>tck-V2URLTests-pages.xml</fl:file>
+   <fl:file>tck-V2WrapperTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlEnvironmentTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlFilterTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlPortletTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlRequestTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlResponseTests-pages.xml</fl:file>
+   <fl:file>tck-V2AddlUrlTests-pages.xml</fl:file>
+   <fl:file>tck-V2PortletTagLibraryTests-pages.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests-pages.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests2-pages.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests3S-pages.xml</fl:file>
+</fl:filelist>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/a8272f83/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml b/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
index 0eb9900..41070ae 100644
--- a/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
+++ b/portlet-tck_3.0/driver/src/main/resources/xml-resources/testFiles.xml
@@ -1,46 +1,47 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    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.     
--->
-<!--
-   Lists the test files from the individual modules that will be combined
-   together to form the final list file containing all test cases for the TCK. 
- -->
-<fl:filelist xmlns:fl="http://www.apache.org/2014/javax/portlet/tck/filelist">
-   <fl:file>tck-TestModule1-tests.xml</fl:file>
-   <fl:file>tck-TestModule2-tests.xml</fl:file>
-   <fl:file>tck-TestModule3-tests.xml</fl:file>
-   <fl:file>tck-V2AnnotationTests-tests.xml</fl:file>
-   <fl:file>tck-V2EnvironmentTests-tests.xml</fl:file>
-   <fl:file>tck-V2ExceptionTests-tests.xml</fl:file>
-   <fl:file>tck-V2FilterTests-tests.xml</fl:file>
-   <fl:file>tck-V2PortletTests-tests.xml</fl:file>
-   <fl:file>tck-V2RequestTests-tests.xml</fl:file>
-   <fl:file>tck-V2ResponseTests-tests.xml</fl:file>
-   <fl:file>tck-V2URLTests-tests.xml</fl:file>
-   <fl:file>tck-V2WrapperTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlEnvironmentTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlFilterTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlPortletTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlRequestTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlResponseTests-tests.xml</fl:file>
-   <fl:file>tck-V2AddlUrlTests-tests.xml</fl:file>
-   <fl:file>tck-V2PortletTagLibraryTests-tests.xml</fl:file>
-   <fl:file>tck-V2DispatcherTests-tests.xml</fl:file>
-   <fl:file>tck-V2DispatcherTests2-tests.xml</fl:file>
-</fl:filelist>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.     
+-->
+<!--
+   Lists the test files from the individual modules that will be combined
+   together to form the final list file containing all test cases for the TCK. 
+ -->
+<fl:filelist xmlns:fl="http://www.apache.org/2014/javax/portlet/tck/filelist">
+   <fl:file>tck-TestModule1-tests.xml</fl:file>
+   <fl:file>tck-TestModule2-tests.xml</fl:file>
+   <fl:file>tck-TestModule3-tests.xml</fl:file>
+   <fl:file>tck-V2AnnotationTests-tests.xml</fl:file>
+   <fl:file>tck-V2EnvironmentTests-tests.xml</fl:file>
+   <fl:file>tck-V2ExceptionTests-tests.xml</fl:file>
+   <fl:file>tck-V2FilterTests-tests.xml</fl:file>
+   <fl:file>tck-V2PortletTests-tests.xml</fl:file>
+   <fl:file>tck-V2RequestTests-tests.xml</fl:file>
+   <fl:file>tck-V2ResponseTests-tests.xml</fl:file>
+   <fl:file>tck-V2URLTests-tests.xml</fl:file>
+   <fl:file>tck-V2WrapperTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlEnvironmentTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlFilterTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlPortletTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlRequestTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlResponseTests-tests.xml</fl:file>
+   <fl:file>tck-V2AddlUrlTests-tests.xml</fl:file>
+   <fl:file>tck-V2PortletTagLibraryTests-tests.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests-tests.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests2-tests.xml</fl:file>
+   <fl:file>tck-V2DispatcherTests3S-tests.xml</fl:file>
+</fl:filelist>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/a8272f83/portlet-tck_3.0/pom.xml
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/pom.xml b/portlet-tck_3.0/pom.xml
index 1c41853..5afc923 100644
--- a/portlet-tck_3.0/pom.xml
+++ b/portlet-tck_3.0/pom.xml
@@ -1,424 +1,425 @@
-<!--
-    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>
-   <groupId>javax.portlet</groupId>
-   <artifactId>tck</artifactId>
-   <name>Portlet API Technology Compatibility Kit</name>
-   <version>3.0-SNAPSHOT</version>
-   <packaging>pom</packaging>
-
-   <licenses>
-      <license>
-         <name>apache_v2</name>
-         <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
-      </license>
-   </licenses>
-
-   <scm>
-      <connection>scm:git:https://github.com/msnicklous/portletspec3</connection>
-      <developerConnection>scm:git:https://github.com/msnicklous/portletspec3</developerConnection>
-      <url>scm:git:https://github.com/msnicklous/portletspec3</url>
-   </scm>
-
-   <properties>
-      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
-      <!-- To automatically generate a list of test cases, each module transforms the portlet.xml file -->
-      <!-- using an XSLT transformation. -->
-
-      <!-- Configuration used by XML transformations -->
-      <!-- test.file.xslt Name of stylesheet in ${project.build.directory}/xml-resources/ dirs -->
-      <!-- test.file.dir location of generated xml files in individual modules for tests -->
-      <!-- test.file.name per-module name of xml file containing list of covered test cases -->
-      <test.file.xsl>test.xsl</test.file.xsl>
-      <test.file.dir>generated-resources/xml/module</test.file.dir>
-      <test.file.name>${project.artifactId}-tests.xml</test.file.name>
-
-      <!-- page.file.xsl Name of stylesheet used to create page definititions -->
-      <!-- page.file.name per-module name of xml file containing page definitions for test -->
-      <page.file.xsl>plutoSinglePortletPage.xsl</page.file.xsl>
-      <page.file.name>${project.artifactId}-pages.xml</page.file.name>
-      <page.file.final.xsl>plutoPageCombiner.xsl</page.file.final.xsl>
-      <page.file.final.name>pluto-portal-driver-config.xml</page.file.final.name>
-
-      <!-- test.context.base context string used when addressing test pages. Used by module stylesheet -->
-      <test.context.base>pluto/portal/</test.context.base>
-
-      <!-- test.list.xsl Name of stylesheet to combine test case lists from subproject -->
-      <!-- test.list.dir location of finished xml file containing complete test case list -->
-      <!-- test.list.name name of xml file containing complete test case list -->
-      <test.list.xsl>testCombiner.xsl</test.list.xsl>
-      <test.list.dir>generated-resources/xml/final</test.list.dir>
-      <test.list.name>test.xml</test.list.name>
-
-      <!-- This variable is used by the test driver to determine how test page links are
-           to be found. Values: 
-      
-           generateURLs    the driver generates URLs based on config information. 
-           followLinks     the driver looks for links containing the page name and clicks them in 
-                           order to access the test pages. In this case, the portal must 
-                           produce navigation links to each of the test pages.
-                                  
-           If configured to generate URLs, the driver generates URLs of the form: 
-           http://<test.server.host>:<test.server.port>/<test.context.base><test.page.name> 
-           where <test.page.name> is the name of the test page generated by the individual modules 
-      -->
-      <test.url.strategy>followLinks</test.url.strategy>
-      
-      <!-- Configuration of URL to login page -->
-      <test.server.login.url>http://localhost:8080/pluto/portal/About%20Apache%20Pluto</test.server.login.url>
-
-      <!-- Configuration of portlet container under test for generated URLs-->
-      <!-- (only needed if test.url.strategy=generateURLs)                 -->
-      <test.server.host>localhost</test.server.host>
-      <test.server.port>8080</test.server.port>
-      
-      <!-- HTML field IDs and values for username & password to enable automatic login -->
-      <test.server.username.id>j_username</test.server.username.id>
-      <test.server.username>pluto</test.server.username>
-      <test.server.password.id>j_password</test.server.password.id>
-      <test.server.password>pluto</test.server.password>
-      
-      <!-- Specifies the browser to be used by selenium WebDriver for running the tests. -->
-      <!-- Can be used with firefox or HTMLUnit without setting the test.browser.webDriver property. -->
-      <!-- Use of Chrome or IE requires the webDriver to be downloaded ad available. Set the -->
-      <!-- test.browser.webDriver property to point to the appropriate WebDriver server. -->
-      <test.browser>HTMLUnit</test.browser>
-      <!-- commented outline below shows configuration for the Internet Explorer  driver -->
-      <!-- test.browser.webDriver>C:\ntutil\IEDriverServer_x64_2.42.0\IEDriverServer.exe</test.browser.webDriver -->
-
-      <!-- Set in subprojects containing additional test case file. default is no additional file (false) -->
-      <additional.testcase.uri>false</additional.testcase.uri>
-      <!-- Set to true for modules that define all test cases in a file (TCs are not generated from the portlet.xml) -->
-      <additional.testcases.only>false</additional.testcases.only>
-
-   </properties>
-
-   <modules>
-      <module>common</module>
-      <module>TestModule1</module>
-      <module>TestModule2</module>
-      <module>TestModule3</module>
-      <module>TestModule3-portlet1</module>
-      <module>TestModule3-portlet2</module>
-      <module>V2AnnotationTests</module>
-      <module>V2EnvironmentTests</module>
-      <module>V2ExceptionTests</module>
-      <module>V2FilterTests</module>
-      <module>V2PortletTests</module>
-      <module>V2RequestTests</module>
-      <module>V2ResponseTests</module>
-      <module>V2URLTests</module>
-      <module>V2WrapperTests</module>
-      <module>V2AddlEnvironmentTests</module>
-      <module>V2AddlFilterTests</module>
-      <module>V2AddlPortletTests</module>
-      <module>V2AddlRequestTests</module>
-      <module>V2AddlResponseTests</module>
-      <module>V2AddlUrlTests</module>
-      <module>V2PortletTagLibraryTests</module>
-      <module>V2DispatcherTests</module>
-      <module>V2DispatcherTests2</module>
-      <module>deploy</module>
-      <module>driver</module>
-   </modules>
-
-   <dependencyManagement>
-      <dependencies>
-         <dependency>
-            <groupId>javax.portlet</groupId>
-            <artifactId>portlet-api</artifactId>
-            <version>2.0</version>
-            <scope>provided</scope>
-         </dependency>
-         <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.5</version>
-            <scope>provided</scope>
-         </dependency>
-
-         <!-- for eclipse JSP tooling purposes -->
-         <dependency>
-            <groupId>javax.servlet.jsp</groupId>
-            <artifactId>jsp-api</artifactId>
-            <version>2.1</version>
-            <scope>provided</scope>
-         </dependency>
-         <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>jstl</artifactId>
-            <version>1.2</version>
-            <scope>provided</scope>
-         </dependency>
-         <dependency>
-            <groupId>org.apache.portals.pluto</groupId>
-            <artifactId>pluto-taglib</artifactId>
-            <version>2.1.0-M3</version>
-            <scope>provided</scope>
-         </dependency>
-
-         <!-- For creating and executing tests -->
-         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.11</version>
-            <scope>test</scope>
-         </dependency>
-         <dependency>
-            <groupId>org.seleniumhq.selenium</groupId>
-            <artifactId>selenium-java</artifactId>
-            <version>2.42.2</version>
-            <scope>test</scope>
-         </dependency>
-      </dependencies>
-   </dependencyManagement>
-
-   <build>
-      <finalName>${project.artifactId}</finalName>
-
-      <pluginManagement>
-         <plugins>
-            <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-jar-plugin</artifactId>
-               <version>2.4</version>
-               <configuration>
-                  <skipIfEmpty>true</skipIfEmpty>
-               </configuration>
-            </plugin>
-            <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-compiler-plugin</artifactId>
-               <version>3.1</version>
-               <configuration>
-                  <source>1.6</source>
-                  <target>1.6</target>
-               </configuration>
-            </plugin>
-            <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-war-plugin</artifactId>
-               <version>2.4</version>
-               <configuration>
-                  <archiveClasses>false</archiveClasses>
-                  <webResources>
-                     <webResource>
-                        <directory>${project.build.directory}/${test.file.dir}</directory>
-                        <targetPath>${test.file.dir}</targetPath>
-                     </webResource>
-                  </webResources>
-               </configuration>
-            </plugin>
-
-            <!-- For generating portlets that can be deployed to Pluto -->
-            <plugin>
-               <groupId>org.apache.portals.pluto</groupId>
-               <artifactId>maven-pluto-plugin</artifactId>
-               <version>2.0.3</version>
-               <dependencies>
-                  <dependency>
-                     <groupId>org.apache.portals.pluto</groupId>
-                     <artifactId>pluto-util</artifactId>
-                     <version>2.0.3</version>
-                     <scope>runtime</scope>
-                  </dependency>
-               </dependencies>
-            </plugin>
-
-            <!-- For Performing xml translations to create test.xml files -->
-            <plugin>
-               <groupId>org.codehaus.mojo</groupId>
-               <artifactId>xml-maven-plugin</artifactId>
-               <version>1.0</version>
-               <executions>
-                  <execution>
-                     <phase>generate-resources</phase>
-                     <goals>
-                        <goal>transform</goal>
-                     </goals>
-                  </execution>
-               </executions>
-               <configuration>
-                  <transformationSets>
-
-                     <!-- automatically generate test case list for module -->
-                     <transformationSet>
-                        <dir>${basedir}/src/main/webapp/WEB-INF</dir>
-                        <includes>
-                           <include>portlet.xml</include>
-                        </includes>
-                        <outputDir>${project.build.directory}/${test.file.dir}</outputDir>
-                        <fileMappers>
-                           <fileMapper
-                              implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                              <targetName>${test.file.name}</targetName>
-                           </fileMapper>
-                        </fileMappers>
-                        <parameters>
-                           <parameter>
-                              <name>additionalTCs</name>
-                              <value>${additional.testcase.uri}</value>
-                           </parameter>
-                           <parameter>
-                              <name>copyOnly</name>
-                              <value>${additional.testcases.only}</value>
-                           </parameter>
-                        </parameters>
-                        <stylesheet>${project.build.directory}/xml-resources/${test.file.xsl}</stylesheet>
-                     </transformationSet>
-
-                     <!-- Automatically generate page file for the module -->
-                     <transformationSet>
-                        <dir>${basedir}/src/main/webapp/WEB-INF</dir>
-                        <includes>
-                           <include>portlet.xml</include>
-                        </includes>
-                        <outputDir>${project.build.directory}/${test.file.dir}</outputDir>
-                        <fileMappers>
-                           <fileMapper
-                              implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                              <targetName>${page.file.name}</targetName>
-                           </fileMapper>
-                        </fileMappers>
-                        <parameters>
-                           <parameter>
-                              <name>portlet-app-context</name>
-                              <value>${project.artifactId}-${project.version}</value>
-                           </parameter>
-                        </parameters>
-                        <stylesheet>${project.build.directory}/xml-resources/${page.file.xsl}</stylesheet>
-                     </transformationSet>
-
-                  </transformationSets>
-               </configuration>
-            </plugin>
-
-            <!-- For extracting the XML transformation stylesheets from common module -->
-            <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-dependency-plugin</artifactId>
-               <version>2.8</version>
-               <executions>
-                  <execution>
-                     <id>xml-resource-dependencies</id>
-                     <phase>generate-sources</phase>
-                     <goals>
-                        <goal>unpack-dependencies</goal>
-                     </goals>
-                     <configuration>
-                        <includeArtifactIds>tck-common</includeArtifactIds>
-                        <includes>xml-resources/**</includes>
-                        <outputDirectory>${project.build.directory}</outputDirectory>
-                     </configuration>
-                  </execution>
-               </executions>
-            </plugin>
-         </plugins>
-      </pluginManagement>
-
-      <plugins>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.9.1</version>
-            <configuration>
-               <doctitle>
-                  JSR 362 Portlet Specification 3.0 TCK Working Document
-               </doctitle>
-               <windowtitle>
-                  JSR 362 Portlet Specification 3.0 TCK Working Document
-               </windowtitle>
-               <stylesheetfile>${javadoc.css.file}</stylesheetfile>
-               <!-- link to Java EE APIs for cross-references -->
-               <links>
-                  <link>http://docs.oracle.com/javaee/7/api/</link>
-               </links>
-               <docfilessubdirs>true</docfilessubdirs>
-               <bottom>
-               <![CDATA[Java Portlet Specification V3.0 Working Document.
-                  See the <a href="doc-files/NOTICE.txt">Copyright</a> and 
-                  <a href="doc-files/LICENSE.txt">License</a> provided with this distribution.
-                  Use is subject to
-                  <a href="http://www.apache.org/licenses/LICENSE-2.0">license terms</a>.]]>
-               </bottom>
-            </configuration>
-            <executions>
-               <execution>
-                  <id>aggregate</id>
-                  <goals>
-                    <goal>aggregate</goal>
-                  </goals>
-                  <phase>site</phase>
-               </execution>
-            </executions>
-         </plugin>
-      </plugins>
-   </build>
-
-   <reporting>
-      <plugins>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-report-plugin</artifactId>
-            <version>2.17</version>
-            <configuration>
-               <aggregate>true</aggregate>
-               <reportsDirectories>
-                  <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
-                  <reportsDirectory>${project.build.directory}/jasmine</reportsDirectory>
-               </reportsDirectories>
-            </configuration>
-         </plugin>
-      </plugins>
-   </reporting>
-
-   <profiles>
-      <profile>
-         <id>pluto</id>
-
-         <dependencyManagement>
-            <dependencies>
-               <dependency>
-                  <groupId>javax.servlet</groupId>
-                  <artifactId>jstl</artifactId>
-                  <version>1.1.2</version>
-                  <scope>compile</scope>
-                  <exclusions>
-                     <exclusion>
-                        <groupId>javax.servlet</groupId>
-                        <artifactId>jsp-api</artifactId>
-                     </exclusion>
-                  </exclusions>
-               </dependency>
-               <dependency>
-                  <groupId>taglibs</groupId>
-                  <artifactId>standard</artifactId>
-                  <version>1.1.2</version>
-                  <scope>compile</scope>
-               </dependency>
-            </dependencies>
-         </dependencyManagement>
-
-      </profile>
-   </profiles>
-
-</project>
+<!--
+    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>
+   <groupId>javax.portlet</groupId>
+   <artifactId>tck</artifactId>
+   <name>Portlet API Technology Compatibility Kit</name>
+   <version>3.0-SNAPSHOT</version>
+   <packaging>pom</packaging>
+
+   <licenses>
+      <license>
+         <name>apache_v2</name>
+         <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+      </license>
+   </licenses>
+
+   <scm>
+      <connection>scm:git:https://github.com/msnicklous/portletspec3</connection>
+      <developerConnection>scm:git:https://github.com/msnicklous/portletspec3</developerConnection>
+      <url>scm:git:https://github.com/msnicklous/portletspec3</url>
+   </scm>
+
+   <properties>
+      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+      <!-- To automatically generate a list of test cases, each module transforms the portlet.xml file -->
+      <!-- using an XSLT transformation. -->
+
+      <!-- Configuration used by XML transformations -->
+      <!-- test.file.xslt Name of stylesheet in ${project.build.directory}/xml-resources/ dirs -->
+      <!-- test.file.dir location of generated xml files in individual modules for tests -->
+      <!-- test.file.name per-module name of xml file containing list of covered test cases -->
+      <test.file.xsl>test.xsl</test.file.xsl>
+      <test.file.dir>generated-resources/xml/module</test.file.dir>
+      <test.file.name>${project.artifactId}-tests.xml</test.file.name>
+
+      <!-- page.file.xsl Name of stylesheet used to create page definititions -->
+      <!-- page.file.name per-module name of xml file containing page definitions for test -->
+      <page.file.xsl>plutoSinglePortletPage.xsl</page.file.xsl>
+      <page.file.name>${project.artifactId}-pages.xml</page.file.name>
+      <page.file.final.xsl>plutoPageCombiner.xsl</page.file.final.xsl>
+      <page.file.final.name>pluto-portal-driver-config.xml</page.file.final.name>
+
+      <!-- test.context.base context string used when addressing test pages. Used by module stylesheet -->
+      <test.context.base>pluto/portal/</test.context.base>
+
+      <!-- test.list.xsl Name of stylesheet to combine test case lists from subproject -->
+      <!-- test.list.dir location of finished xml file containing complete test case list -->
+      <!-- test.list.name name of xml file containing complete test case list -->
+      <test.list.xsl>testCombiner.xsl</test.list.xsl>
+      <test.list.dir>generated-resources/xml/final</test.list.dir>
+      <test.list.name>test.xml</test.list.name>
+
+      <!-- This variable is used by the test driver to determine how test page links are
+           to be found. Values: 
+      
+           generateURLs    the driver generates URLs based on config information. 
+           followLinks     the driver looks for links containing the page name and clicks them in 
+                           order to access the test pages. In this case, the portal must 
+                           produce navigation links to each of the test pages.
+                                  
+           If configured to generate URLs, the driver generates URLs of the form: 
+           http://<test.server.host>:<test.server.port>/<test.context.base><test.page.name> 
+           where <test.page.name> is the name of the test page generated by the individual modules 
+      -->
+      <test.url.strategy>followLinks</test.url.strategy>
+      
+      <!-- Configuration of URL to login page -->
+      <test.server.login.url>http://localhost:8080/pluto/portal/About%20Apache%20Pluto</test.server.login.url>
+
+      <!-- Configuration of portlet container under test for generated URLs-->
+      <!-- (only needed if test.url.strategy=generateURLs)                 -->
+      <test.server.host>localhost</test.server.host>
+      <test.server.port>8080</test.server.port>
+      
+      <!-- HTML field IDs and values for username & password to enable automatic login -->
+      <test.server.username.id>j_username</test.server.username.id>
+      <test.server.username>pluto</test.server.username>
+      <test.server.password.id>j_password</test.server.password.id>
+      <test.server.password>pluto</test.server.password>
+      
+      <!-- Specifies the browser to be used by selenium WebDriver for running the tests. -->
+      <!-- Can be used with firefox or HTMLUnit without setting the test.browser.webDriver property. -->
+      <!-- Use of Chrome or IE requires the webDriver to be downloaded ad available. Set the -->
+      <!-- test.browser.webDriver property to point to the appropriate WebDriver server. -->
+      <test.browser>HTMLUnit</test.browser>
+      <!-- commented outline below shows configuration for the Internet Explorer  driver -->
+      <!-- test.browser.webDriver>C:\ntutil\IEDriverServer_x64_2.42.0\IEDriverServer.exe</test.browser.webDriver -->
+
+      <!-- Set in subprojects containing additional test case file. default is no additional file (false) -->
+      <additional.testcase.uri>false</additional.testcase.uri>
+      <!-- Set to true for modules that define all test cases in a file (TCs are not generated from the portlet.xml) -->
+      <additional.testcases.only>false</additional.testcases.only>
+
+   </properties>
+
+   <modules>
+      <module>common</module>
+      <module>TestModule1</module>
+      <module>TestModule2</module>
+      <module>TestModule3</module>
+      <module>TestModule3-portlet1</module>
+      <module>TestModule3-portlet2</module>
+      <module>V2AnnotationTests</module>
+      <module>V2EnvironmentTests</module>
+      <module>V2ExceptionTests</module>
+      <module>V2FilterTests</module>
+      <module>V2PortletTests</module>
+      <module>V2RequestTests</module>
+      <module>V2ResponseTests</module>
+      <module>V2URLTests</module>
+      <module>V2WrapperTests</module>
+      <module>V2AddlEnvironmentTests</module>
+      <module>V2AddlFilterTests</module>
+      <module>V2AddlPortletTests</module>
+      <module>V2AddlRequestTests</module>
+      <module>V2AddlResponseTests</module>
+      <module>V2AddlUrlTests</module>
+      <module>V2PortletTagLibraryTests</module>
+      <module>V2DispatcherTests</module>
+      <module>V2DispatcherTests2</module>
+      <module>V2DispatcherTests3S</module>
+      <module>deploy</module>
+      <module>driver</module>
+   </modules>
+
+   <dependencyManagement>
+      <dependencies>
+         <dependency>
+            <groupId>javax.portlet</groupId>
+            <artifactId>portlet-api</artifactId>
+            <version>2.0</version>
+            <scope>provided</scope>
+         </dependency>
+         <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.5</version>
+            <scope>provided</scope>
+         </dependency>
+
+         <!-- for eclipse JSP tooling purposes -->
+         <dependency>
+            <groupId>javax.servlet.jsp</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.1</version>
+            <scope>provided</scope>
+         </dependency>
+         <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>jstl</artifactId>
+            <version>1.2</version>
+            <scope>provided</scope>
+         </dependency>
+         <dependency>
+            <groupId>org.apache.portals.pluto</groupId>
+            <artifactId>pluto-taglib</artifactId>
+            <version>2.1.0-M3</version>
+            <scope>provided</scope>
+         </dependency>
+
+         <!-- For creating and executing tests -->
+         <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.11</version>
+            <scope>test</scope>
+         </dependency>
+         <dependency>
+            <groupId>org.seleniumhq.selenium</groupId>
+            <artifactId>selenium-java</artifactId>
+            <version>2.42.2</version>
+            <scope>test</scope>
+         </dependency>
+      </dependencies>
+   </dependencyManagement>
+
+   <build>
+      <finalName>${project.artifactId}</finalName>
+
+      <pluginManagement>
+         <plugins>
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-jar-plugin</artifactId>
+               <version>2.4</version>
+               <configuration>
+                  <skipIfEmpty>true</skipIfEmpty>
+               </configuration>
+            </plugin>
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-compiler-plugin</artifactId>
+               <version>3.1</version>
+               <configuration>
+                  <source>1.6</source>
+                  <target>1.6</target>
+               </configuration>
+            </plugin>
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-war-plugin</artifactId>
+               <version>2.4</version>
+               <configuration>
+                  <archiveClasses>false</archiveClasses>
+                  <webResources>
+                     <webResource>
+                        <directory>${project.build.directory}/${test.file.dir}</directory>
+                        <targetPath>${test.file.dir}</targetPath>
+                     </webResource>
+                  </webResources>
+               </configuration>
+            </plugin>
+
+            <!-- For generating portlets that can be deployed to Pluto -->
+            <plugin>
+               <groupId>org.apache.portals.pluto</groupId>
+               <artifactId>maven-pluto-plugin</artifactId>
+               <version>2.0.3</version>
+               <dependencies>
+                  <dependency>
+                     <groupId>org.apache.portals.pluto</groupId>
+                     <artifactId>pluto-util</artifactId>
+                     <version>2.0.3</version>
+                     <scope>runtime</scope>
+                  </dependency>
+               </dependencies>
+            </plugin>
+
+            <!-- For Performing xml translations to create test.xml files -->
+            <plugin>
+               <groupId>org.codehaus.mojo</groupId>
+               <artifactId>xml-maven-plugin</artifactId>
+               <version>1.0</version>
+               <executions>
+                  <execution>
+                     <phase>generate-resources</phase>
+                     <goals>
+                        <goal>transform</goal>
+                     </goals>
+                  </execution>
+               </executions>
+               <configuration>
+                  <transformationSets>
+
+                     <!-- automatically generate test case list for module -->
+                     <transformationSet>
+                        <dir>${basedir}/src/main/webapp/WEB-INF</dir>
+                        <includes>
+                           <include>portlet.xml</include>
+                        </includes>
+                        <outputDir>${project.build.directory}/${test.file.dir}</outputDir>
+                        <fileMappers>
+                           <fileMapper
+                              implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                              <targetName>${test.file.name}</targetName>
+                           </fileMapper>
+                        </fileMappers>
+                        <parameters>
+                           <parameter>
+                              <name>additionalTCs</name>
+                              <value>${additional.testcase.uri}</value>
+                           </parameter>
+                           <parameter>
+                              <name>copyOnly</name>
+                              <value>${additional.testcases.only}</value>
+                           </parameter>
+                        </parameters>
+                        <stylesheet>${project.build.directory}/xml-resources/${test.file.xsl}</stylesheet>
+                     </transformationSet>
+
+                     <!-- Automatically generate page file for the module -->
+                     <transformationSet>
+                        <dir>${basedir}/src/main/webapp/WEB-INF</dir>
+                        <includes>
+                           <include>portlet.xml</include>
+                        </includes>
+                        <outputDir>${project.build.directory}/${test.file.dir}</outputDir>
+                        <fileMappers>
+                           <fileMapper
+                              implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                              <targetName>${page.file.name}</targetName>
+                           </fileMapper>
+                        </fileMappers>
+                        <parameters>
+                           <parameter>
+                              <name>portlet-app-context</name>
+                              <value>${project.artifactId}-${project.version}</value>
+                           </parameter>
+                        </parameters>
+                        <stylesheet>${project.build.directory}/xml-resources/${page.file.xsl}</stylesheet>
+                     </transformationSet>
+
+                  </transformationSets>
+               </configuration>
+            </plugin>
+
+            <!-- For extracting the XML transformation stylesheets from common module -->
+            <plugin>
+               <groupId>org.apache.maven.plugins</groupId>
+               <artifactId>maven-dependency-plugin</artifactId>
+               <version>2.8</version>
+               <executions>
+                  <execution>
+                     <id>xml-resource-dependencies</id>
+                     <phase>generate-sources</phase>
+                     <goals>
+                        <goal>unpack-dependencies</goal>
+                     </goals>
+                     <configuration>
+                        <includeArtifactIds>tck-common</includeArtifactIds>
+                        <includes>xml-resources/**</includes>
+                        <outputDirectory>${project.build.directory}</outputDirectory>
+                     </configuration>
+                  </execution>
+               </executions>
+            </plugin>
+         </plugins>
+      </pluginManagement>
+
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.9.1</version>
+            <configuration>
+               <doctitle>
+                  JSR 362 Portlet Specification 3.0 TCK Working Document
+               </doctitle>
+               <windowtitle>
+                  JSR 362 Portlet Specification 3.0 TCK Working Document
+               </windowtitle>
+               <stylesheetfile>${javadoc.css.file}</stylesheetfile>
+               <!-- link to Java EE APIs for cross-references -->
+               <links>
+                  <link>http://docs.oracle.com/javaee/7/api/</link>
+               </links>
+               <docfilessubdirs>true</docfilessubdirs>
+               <bottom>
+               <![CDATA[Java Portlet Specification V3.0 Working Document.
+                  See the <a href="doc-files/NOTICE.txt">Copyright</a> and 
+                  <a href="doc-files/LICENSE.txt">License</a> provided with this distribution.
+                  Use is subject to
+                  <a href="http://www.apache.org/licenses/LICENSE-2.0">license terms</a>.]]>
+               </bottom>
+            </configuration>
+            <executions>
+               <execution>
+                  <id>aggregate</id>
+                  <goals>
+                    <goal>aggregate</goal>
+                  </goals>
+                  <phase>site</phase>
+               </execution>
+            </executions>
+         </plugin>
+      </plugins>
+   </build>
+
+   <reporting>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-report-plugin</artifactId>
+            <version>2.17</version>
+            <configuration>
+               <aggregate>true</aggregate>
+               <reportsDirectories>
+                  <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
+                  <reportsDirectory>${project.build.directory}/jasmine</reportsDirectory>
+               </reportsDirectories>
+            </configuration>
+         </plugin>
+      </plugins>
+   </reporting>
+
+   <profiles>
+      <profile>
+         <id>pluto</id>
+
+         <dependencyManagement>
+            <dependencies>
+               <dependency>
+                  <groupId>javax.servlet</groupId>
+                  <artifactId>jstl</artifactId>
+                  <version>1.1.2</version>
+                  <scope>compile</scope>
+                  <exclusions>
+                     <exclusion>
+                        <groupId>javax.servlet</groupId>
+                        <artifactId>jsp-api</artifactId>
+                     </exclusion>
+                  </exclusions>
+               </dependency>
+               <dependency>
+                  <groupId>taglibs</groupId>
+                  <artifactId>standard</artifactId>
+                  <version>1.1.2</version>
+                  <scope>compile</scope>
+               </dependency>
+            </dependencies>
+         </dependencyManagement>
+
+      </profile>
+   </profiles>
+
+</project>


Mime
View raw message