tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r439499 - /incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml
Date Fri, 01 Sep 2006 22:51:57 GMT
Author: rfeng
Date: Fri Sep  1 15:51:57 2006
New Revision: 439499

URL: http://svn.apache.org/viewvc?rev=439499&view=rev
Log:
Work around the JAXB plugin bug that it cannot add "target/jaxb-source" as a testSource

Modified:
    incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml

Modified: incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml?rev=439499&r1=439498&r2=439499&view=diff
==============================================================================
--- incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml (original)
+++ incubator/tuscany/java/sca/databinding/databinding-jaxb/pom.xml Fri Sep  1 15:51:57 2006
@@ -100,9 +100,24 @@
             </testResource>
         </testResources>
 
-        <testSourceDirectory>target/jaxb-source</testSourceDirectory>
-
         <plugins>
+            <!-- A hack to add target/jaxb-source to testCompileSourceRoots -->
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>set-test-source</id>
+                        <phase>generate-test-sources</phase>
+                        <configuration>
+                            <testSourceRoot>target/jaxb-source</testSourceRoot>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+                    
             <plugin>
                 <groupId>com.sun.tools.xjc.maven2</groupId>
                 <artifactId>maven-jaxb-plugin</artifactId>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message