Author: bimargulies
Date: Fri Jul 23 21:33:46 2010
New Revision: 967271
URL: http://svn.apache.org/viewvc?rev=967271&view=rev
Log:
instant mechanism for compiling all the samples from the build
Added:
cxf/trunk/test-samples/
cxf/trunk/test-samples/pom.xml
- copied, changed from r967261, cxf/trunk/systests/pom.xml
Copied: cxf/trunk/test-samples/pom.xml (from r967261,
cxf/trunk/systests/pom.xml)
URL:
http://svn.apache.org/viewvc/cxf/trunk/test-samples/pom.xml?p2=cxf/trunk/test-samples/pom.xml&p1=cxf/trunk/systests/pom.xml&r1=967261&r2=967271&rev=967271&view=diff
==============================================================================
--- cxf/trunk/systests/pom.xml (original)
+++ cxf/trunk/test-samples/pom.xml Fri Jul 23 21:33:46 2010
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
@@ -19,26 +20,39 @@
<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.cxf.systests</groupId>
- <artifactId>cxf-systests</artifactId>
+ <artifactId>cxf-test-samples</artifactId>
<packaging>pom</packaging>
<version>2.3.0-SNAPSHOT</version>
- <name>Apache CXF System Tests</name>
+ <name>Apache CXF Run Samples as Integration Tests</name>
<url>http://cxf.apache.org</url>
-
<parent>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf</artifactId>
<version>2.3.0-SNAPSHOT</version>
</parent>
-
- <modules>
- <module>uncategorized</module>
- <module>transports</module>
- <module>jaxws</module>
- <module>databinding</module>
- <module>jaxrs</module>
- <module>ws-specs</module>
- <module>wsdl_maven</module>
- </modules>
-
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <version>1.5</version>
+ <configuration>
+
<projectsDirectory>../distribution/src/main/release/samples</projectsDirectory>
+
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <mavenOpts>-Xmx2g -XX:MaxPermSize=256m</mavenOpts>
+ <properties>
+ <cxf.version>${project.version}</cxf.version>
+ </properties>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>