Author: lfryc(a)redhat.com
Date: 2010-07-10 16:56:09 -0400 (Sat, 10 Jul 2010)
New Revision: 17883
Modified:
root/tests/metamer/trunk/ftest/pom.xml
Log:
profile for debugging from IDE
Modified: root/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- root/tests/metamer/trunk/ftest/pom.xml 2010-07-10 20:55:54 UTC (rev 17882)
+++ root/tests/metamer/trunk/ftest/pom.xml 2010-07-10 20:56:09 UTC (rev 17883)
@@ -1,133 +1,165 @@
<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.richfaces.tests</groupId>
- <artifactId>testapp-tests</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <name>RichFaces 4.0 TestApp: Functional Test</name>
- <packaging>pom</packaging>
+
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.richfaces.tests</groupId>
+ <artifactId>testapp-tests</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <name>RichFaces 4.0 TestApp: Functional Test</name>
+ <packaging>pom</packaging>
- <parent>
- <artifactId>functional-test-jboss-ci-template</artifactId>
- <groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.0-SNAPSHOT</version>
- </parent>
+ <parent>
+ <artifactId>functional-test-jboss-ci-template</artifactId>
+ <groupId>org.jboss.test.richfaces-selenium</groupId>
+ <version>1.5.0-SNAPSHOT</version>
+ </parent>
- <modules>
- <module>test-source</module>
- </modules>
+ <modules>
+ <module>test-source</module>
+ </modules>
- <properties>
- <context.path>/testapp/</context.path>
- <deployable.version>4.0.0-SNAPSHOT</deployable.version>
-
<tomcat6x.installer.url.unix>file:/qa/home/lfryc/apache-tomcat-6.0.26--jsf2.zip</tomcat6x.installer.url.unix>
-
<container.dir.deflatted>apache-tomcat-6.0.26--jsf2</container.dir.deflatted>
- </properties>
+ <properties>
+ <context.path>/testapp/</context.path>
+ <deployable.version>4.0.0-SNAPSHOT</deployable.version>
+ <tomcat6x.installer.url.unix>file:/qa/home/lfryc/apache-tomcat-6.0.26--jsf2.zip</tomcat6x.installer.url.unix>
+ <container.dir.deflatted>apache-tomcat-6.0.26--jsf2</container.dir.deflatted>
+ </properties>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.examples</groupId>
- <artifactId>testapp</artifactId>
- <type>${deployable.type}</type>
- <version>${deployable.version}</version>
- </dependency>
- <dependency>
- <groupId>org.richfaces.tests.testapp</groupId>
- <artifactId>test-source</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.examples</groupId>
+ <artifactId>testapp</artifactId>
+ <type>${deployable.type}</type>
+ <version>${deployable.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.tests.testapp</groupId>
+ <artifactId>test-source</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
- <profiles>
- <profile>
- <id>container-deploy-artifact</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
- <configuration>
- <deployer>
- <type>installed</type>
- <deployables>
- <deployable>
-
<groupId>org.richfaces.examples</groupId>
- <artifactId>testapp</artifactId>
- <type>${deployable.type}</type>
- <properties>
-
<context>${context.deploy.path}</context>
- </properties>
- </deployable>
- </deployables>
- </deployer>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>unpack-test-source</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack-test-source</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
-
<includeGroupIds>org.richfaces.tests.testapp</includeGroupIds>
-
<includeArtifactIds>test-source</includeArtifactIds>
- <includes>**</includes>
-
<outputDirectory>target/test-classes</outputDirectory>
-
<overWriteReleases>true</overWriteReleases>
-
<overWriteSnapshots>true</overWriteSnapshots>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <profiles>
+ <profile>
+ <id>container-deploy-artifact</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <configuration>
+ <deployer>
+ <type>installed</type>
+ <deployables>
+ <deployable>
+ <groupId>org.richfaces.examples</groupId>
+ <artifactId>testapp</artifactId>
+ <type>${deployable.type}</type>
+ <properties>
+ <context>${context.deploy.path}</context>
+ </properties>
+ </deployable>
+ </deployables>
+ </deployer>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>unpack-test-source</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-test-source</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeGroupIds>org.richfaces.tests.testapp</includeGroupIds>
+ <includeArtifactIds>test-source</includeArtifactIds>
+ <includes>**</includes>
+ <outputDirectory>target/test-classes</outputDirectory>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <!--
+ activate when debugging in Eclipse and use internal dependencies
+ resolution
+ -->
+ <id>copy-test-source</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-test-classes</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy todir="target/test-classes/">
+ <fileset dir="../testapp-tests/test-source/target/classes/">
+ <include name="**/*.*" />
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>functional-test</id>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <suiteXmlFiles>
-
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
- </suiteXmlFiles>
- <argLine>${surefire.argline}
-Dtemplates='${templates}'</argLine>
- <properties>
- <property>
- <name>listener</name>
-
<value>org.jboss.test.selenium.listener.ConsoleStatusTestListener</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>functional-test</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <suiteXmlFiles>
+ <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ <argLine>${surefire.argline}
-Dtemplates='${templates}'</argLine>
+ <properties>
+ <property>
+ <name>listener</name>
+ <value>org.jboss.test.selenium.listener.ConsoleStatusTestListener</value>
+ </property>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>