You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2010/09/16 16:44:26 UTC
svn commit: r997768 - /tuscany/otest/newlayout/tuscany-test-runner/pom.xml
Author: slaws
Date: Thu Sep 16 14:44:26 2010
New Revision: 997768
URL: http://svn.apache.org/viewvc?rev=997768&view=rev
Log:
Fix up existing pom to generate jar to be used by trunk compliance. Removes to need for separate project
Modified:
tuscany/otest/newlayout/tuscany-test-runner/pom.xml
Modified: tuscany/otest/newlayout/tuscany-test-runner/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-test-runner/pom.xml?rev=997768&r1=997767&r2=997768&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-test-runner/pom.xml (original)
+++ tuscany/otest/newlayout/tuscany-test-runner/pom.xml Thu Sep 16 14:44:26 2010
@@ -26,7 +26,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-otests-asm-tests</artifactId>
- <name>Apache Tuscany SCA Specification Tests</name>
+ <name>Apache Tuscany SCA Specification Assembly Tests</name>
<dependencies>
<dependency>
@@ -103,11 +103,55 @@
</dependencies>
-
-
<build>
<finalName>${artifactId}</finalName>
<plugins>
+<!-- for when OASIS deploy the artifacts themselves we need to pull the
+ contributions in locally so that the tests can refer to then and
+ we need to get at the Test_Client so that we can run the tests themselves
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.oasis-open.sca.assembly</groupId>
+ <artifactId>ASM_4002</artifactId>
+ <type>zip</type>
+ <version>1.0</version>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ <execution>
+ <id>unpack</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.oasis-open.sca.assembly</groupId>
+ <artifactId>Test_Client</artifactId>
+ <version>1.0</version>
+ <type>jar</type>
+ <outputDirectory>${project.build.directory}/dependency/Test_client</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
@@ -163,8 +207,35 @@
</sources>
</configuration>
</execution>
+ <execution>
+ <id>add-test-resource</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-test-resource</goal>
+ </goals>
+ <configuration>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <classesDirectory>${project.build.directory}/test-classes</classesDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
</project>