You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2010/03/30 20:18:46 UTC

svn commit: r929211 - /myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml

Author: mfreedman
Date: Tue Mar 30 18:18:46 2010
New Revision: 929211

URL: http://svn.apache.org/viewvc?rev=929211&view=rev
Log:
PORTLETBRIDGE-136:  pom.xml missing ....

Added:
    myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml

Added: myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml?rev=929211&view=auto
==============================================================================
--- myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml (added)
+++ myfaces/portlet-bridge/testsuite/trunk/portlet-bridge-testsuite-section3-2-render-policy-never-delegate/pom.xml Tue Mar 30 18:18:46 2010
@@ -0,0 +1,161 @@
+<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>org.apache.myfaces.portlet-bridge</groupId>
+  <artifactId>portlet-bridge-testsuite-section3-2-render-policy-never-delegate</artifactId>
+  <packaging>war</packaging>
+  <name>MyFaces Portlet Bridge Test Suite - Section 3.2 RENDER_POLICY set to NEVER_DELEGATE</name>
+  <version>1.0.0-SNAPSHOT</version>	 
+  <description>
+  This project builds and tests a testsuite web application with a single 
+  renderPolicy test portlet and the portlet context parameter
+  javax.portlet.faces.RENDER_POLICY set to NEVER_DELEGATE.
+  </description>
+  
+  <parent>
+    <artifactId>portlet-bridge-testsuite-master</artifactId>
+    <groupId>org.apache.myfaces.portlet-bridge</groupId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>selenium-maven-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>start</id>
+              <phase>process-test-classes</phase>
+              <goals>
+                <goal>start-server</goal>
+              </goals>
+              <configuration>
+                <background>true</background>
+                <logOutput>true</logOutput>
+                <multiWindow>true</multiWindow>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+
+        <plugin>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>maven-jetty-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>start-jetty</id>
+              <phase>process-test-classes</phase>
+              <goals>
+                <goal>run</goal>
+              </goals>
+              <configuration>
+                <scanIntervalSeconds>0</scanIntervalSeconds>
+                <daemon>true</daemon>
+              </configuration>
+            </execution>
+            <execution>
+              <id>stop-jetty</id>
+              <phase>test</phase>
+              <goals>
+                <goal>stop</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.pluto</groupId>
+          <artifactId>maven-pluto-plugin</artifactId>
+          <version>${pluto.version}</version>
+          <executions>
+            <execution>
+              <phase>generate-resources</phase>
+              <goals>
+                <goal>assemble</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+
+        <plugin>
+          <groupId>org.apache.portals.pluto</groupId>
+          <artifactId>maven-pluto-plugin</artifactId>
+          <version>2.0.0</version>
+          <executions>
+            <execution>
+              <phase>generate-resources</phase>
+              <goals>
+                <goal>assemble</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.3</version>
+        <executions>
+          <execution>
+            <id>add-ts-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>${basedir}/../src/main/java</source>
+              </sources>
+            </configuration>
+          </execution>
+          <execution>
+            <id>add-tck-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-test-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>${basedir}/../src/test/java</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>xml-maven-plugin</artifactId>
+        <configuration>
+          <transformationSets>
+            <transformationSet>
+              <dir>${basedir}/src/main/webapp/WEB-INF</dir>
+              <includes>
+                <include>portlet.xml</include>
+              </includes>
+              <outputDir>${bridge.tck.test.file.dir}</outputDir>
+              <fileMappers>
+                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                  <targetName>${bridge.tck.test.file.name}</targetName>
+                </fileMapper>
+              </fileMappers>
+              <parameters>
+                <parameter>
+                  <name>page-path</name>
+                  <value>${bridge.tck.test.path}</value>
+                </parameter>
+              </parameters>                
+              <stylesheet>${bridge.tck.test.file.stylesheet}</stylesheet>
+            </transformationSet>
+          </transformationSets>
+        </configuration>
+      </plugin>
+
+    </plugins>
+  </build>
+
+</project>