Author: lfryc(a)redhat.com
Date: 2010-07-10 16:52:34 -0400 (Sat, 10 Jul 2010)
New Revision: 17875
Modified:
root/tests/metamer/trunk/ftest/pom.xml
Log:
added module test-source; unpacking of test sources from test-source module
Modified: root/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- root/tests/metamer/trunk/ftest/pom.xml 2010-07-10 20:52:23 UTC (rev 17874)
+++ root/tests/metamer/trunk/ftest/pom.xml 2010-07-10 20:52:34 UTC (rev 17875)
@@ -13,6 +13,10 @@
<version>1.5.0-SNAPSHOT</version>
</parent>
+ <modules>
+ <module>test-source</module>
+ </modules>
+
<properties>
<context.path>/testapp/</context.path>
<deployable.version>4.0.0-SNAPSHOT</deployable.version>
@@ -29,6 +33,12 @@
<version>${deployable.version}</version>
<classifier>${deployable.classifier}</classifier>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.tests.testapp</groupId>
+ <artifactId>test-source</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
@@ -62,24 +72,42 @@
</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>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>test-jar</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
Show replies by date