geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1038936 - /geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
Date Thu, 25 Nov 2010 06:40:28 GMT
Author: gawor
Date: Thu Nov 25 06:40:28 2010
New Revision: 1038936

URL: http://svn.apache.org/viewvc?rev=1038936&view=rev
Log:
always include tck common & util classes with each test war. This will prevent 'java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy' exceptions generated by OWB

Modified:
    geronimo/tck/branches/3.0/validator-tck-runner/pom.xml

Modified: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/validator-tck-runner/pom.xml?rev=1038936&r1=1038935&r2=1038936&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/validator-tck-runner/pom.xml (original)
+++ geronimo/tck/branches/3.0/validator-tck-runner/pom.xml Thu Nov 25 06:40:28 2010
@@ -97,6 +97,35 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                   <execution>
+                        <id>generate-common-jar</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <mkdir dir="${project.build.directory}/tck-common"/>
+                                <unjar src="${settings.localRepository}/org/hibernate/jsr303/tck/jsr303-tck/1.0.3.GA/jsr303-tck-1.0.3.GA.jar"
+                                       dest="${project.build.directory}/tck-common">
+                                    <patternset>
+                                        <include name="org/hibernate/jsr303/tck/common/**"/>
+                                        <include name="org/hibernate/jsr303/tck/util/**"/>
+                                    </patternset>
+                                </unjar>
+
+                                <mkdir dir="${project.build.directory}/dependency/lib"/>
+                                <jar destfile="${project.build.directory}/dependency/lib/tck-common.jar"

+                                     basedir="${project.build.directory}/tck-common"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
                 <executions>
                     <execution>



Mime
View raw message