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/17 11:36:32 UTC

svn commit: r998034 - /tuscany/otest/newlayout/tuscany-policy-test-runner/pom.xml

Author: slaws
Date: Fri Sep 17 09:36:32 2010
New Revision: 998034

URL: http://svn.apache.org/viewvc?rev=998034&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-policy-test-runner/pom.xml

Modified: tuscany/otest/newlayout/tuscany-policy-test-runner/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/otest/newlayout/tuscany-policy-test-runner/pom.xml?rev=998034&r1=998033&r2=998034&view=diff
==============================================================================
--- tuscany/otest/newlayout/tuscany-policy-test-runner/pom.xml (original)
+++ tuscany/otest/newlayout/tuscany-policy-test-runner/pom.xml Fri Sep 17 09:36:32 2010
@@ -213,8 +213,33 @@
                             </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>
       <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>