Author: rfeng
Date: Mon Oct 23 14:24:26 2006
New Revision: 467130

URL: http://svn.apache.org/viewvc?view=rev&rev=467130
Log:
Change the way to add test source folders so that it works with the SNAPSHOT 
version of maven-eclipse-plugin

Modified:
    
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-castor/pom.xml
    
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-jaxb/pom.xml
    
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-sdo/pom.xml
    
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-test/pom.xml
    
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-xmlbeans/pom.xml

Modified: 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-castor/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-castor/pom.xml?view=diff&rev=467130&r1=467129&r2=467130
==============================================================================
--- 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-castor/pom.xml
 (original)
+++ 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-castor/pom.xml
 Mon Oct 23 14:24:26 2006
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
 <project>
     <parent>
@@ -65,19 +65,27 @@
     </dependencies>
 
     <build>
-        <testResources>
-            <testResource>
-                <directory>src/test/resources</directory>
-                <filtering>true</filtering>
-            </testResource>
-            <testResource>
-                <directory>target/castor-source</directory>
-                <filtering>true</filtering>
-            </testResource>
-        </testResources>
-
         <plugins>
             <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/castor-source</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
@@ -90,10 +98,9 @@
                                     classpathref="maven.test.classpath" />
                                 <mkdir 
dir="${project.build.directory}/castor-source"></mkdir>
                                 <castor-srcgen 
file="${basedir}/src/test/resources/ipo.xsd"
-                                    
todir="${project.build.directory}/castor-source" 
package="com.example.ipo.castor" types="j2"
-                                    warnings="false" 
bindingfile="${basedir}/src/test/resources/binding.xml" />
+                                    
todir="${project.build.directory}/castor-source" 
package="com.example.ipo.castor"
+                                    types="j2" warnings="false" 
bindingfile="${basedir}/src/test/resources/binding.xml" />
                             </tasks>
-                            
<testSourceRoot>${project.build.directory}/castor-source</testSourceRoot>
                         </configuration>
                         <goals>
                             <goal>run</goal>

Modified: 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-jaxb/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-jaxb/pom.xml?view=diff&rev=467130&r1=467129&r2=467130
==============================================================================
--- 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-jaxb/pom.xml
 (original)
+++ 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-jaxb/pom.xml
 Mon Oct 23 14:24:26 2006
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
 <project>
     <parent>
@@ -82,39 +82,28 @@
     </dependencies>
 
     <build>
-        <testResources>
-            <testResource>
-                <directory>src/test/resources</directory>
-                <filtering>true</filtering>
-            </testResource>
-            <testResource>
-                <directory>target/jaxb-source</directory>
-                <filtering>true</filtering>
-            </testResource>
-            <testResource>
-                <directory>src/test/java</directory>
-                <filtering>true</filtering>
-            </testResource>
-        </testResources>
 
         <plugins>
-            <!-- A hack to add target/jaxb-source to testCompileSourceRoots -->
             <plugin>
-                <artifactId>maven-antrun-plugin</artifactId>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
                 <executions>
                     <execution>
-                        <id>set-test-source</id>
-                        <phase>generate-test-sources</phase>
-                        <configuration>
-                            <testSourceRoot>target/jaxb-source</testSourceRoot>
-                        </configuration>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
                         <goals>
-                            <goal>run</goal>
+                            <goal>add-test-source</goal>
                         </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/jaxb-source</source>
+                            </sources>
+                        </configuration>
                     </execution>
                 </executions>
             </plugin>
-                    
+
             <plugin>
                 <groupId>com.sun.tools.xjc.maven2</groupId>
                 <artifactId>maven-jaxb-plugin</artifactId>

Modified: 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-sdo/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-sdo/pom.xml?view=diff&rev=467130&r1=467129&r2=467130
==============================================================================
--- 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-sdo/pom.xml
 (original)
+++ 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-sdo/pom.xml
 Mon Oct 23 14:24:26 2006
@@ -49,7 +49,7 @@
             <version>${pom.version}</version>
             <scope>test</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
@@ -57,17 +57,26 @@
     </dependencies>
 
     <build>
-        <!-- A maven hack to have eclipse recognize target/sdo-source as a 
source folder -->
-        <testResources>
-            <testResource>
-                <directory>src/test/resources</directory>
-            </testResource>
-            <testResource>
-                <directory>target/sdo-source</directory>
-            </testResource>
-        </testResources>
-
         <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/sdo-source</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.tuscany.sdo</groupId>
                 <artifactId>tuscany-sdo-plugin</artifactId>

Modified: 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-test/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-test/pom.xml?view=diff&rev=467130&r1=467129&r2=467130
==============================================================================
--- 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-test/pom.xml
 (original)
+++ 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-test/pom.xml
 Mon Oct 23 14:24:26 2006
@@ -1,34 +1,34 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
 <project>
-       <parent>
+    <parent>
         <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-               <artifactId>parent</artifactId>
-               <version>1.0-incubator-M2-SNAPSHOT</version>
-       </parent>
+        <artifactId>parent</artifactId>
+        <version>1.0-incubator-M2-SNAPSHOT</version>
+    </parent>
 
-       <modelVersion>4.0.0</modelVersion>
-       <artifactId>databinding-test</artifactId>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>databinding-test</artifactId>
     <packaging>jar</packaging>
     <name>Apache Tuscany Data Binding Integration Test</name>
-       <description>Apache Tuscany Data Binding Integration Test</description>
+    <description>Apache Tuscany Data Binding Integration Test</description>
 
     <repositories>
         <repository>
@@ -42,44 +42,44 @@
         </repository>
     </repositories>
 
-       <dependencies>
+    <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca.kernel</groupId>
             <artifactId>tuscany-spi</artifactId>
             <version>${pom.version}</version>
             <scope>compile</scope>
         </dependency>
-               <dependency>
+        <dependency>
             <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-                       <artifactId>databinding-jaxb</artifactId>
-                       <version>${pom.version}</version>
-                       <scope>compile</scope>
-               </dependency>
-               <dependency>
+            <artifactId>databinding-jaxb</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-                       <artifactId>databinding-xmlbeans</artifactId>
-                       <version>${pom.version}</version>
-                       <scope>compile</scope>
-               </dependency>
-               <dependency>
+            <artifactId>databinding-xmlbeans</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-                       <artifactId>databinding-axiom</artifactId>
-                       <version>${pom.version}</version>
-                       <scope>compile</scope>
-               </dependency>
-               <dependency>
+            <artifactId>databinding-axiom</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
             <groupId>org.apache.tuscany.sca.services.databinding</groupId>
-                       <artifactId>databinding-sdo</artifactId>
-                       <version>${pom.version}</version>
-                       <scope>compile</scope>
-               </dependency>
+            <artifactId>databinding-sdo</artifactId>
+            <version>${pom.version}</version>
+            <scope>compile</scope>
+        </dependency>
         <dependency>
             <groupId>org.apache.tuscany.sca.services.idl</groupId>
             <artifactId>wsdl</artifactId>
             <version>${pom.version}</version>
             <scope>compile</scope>
         </dependency>
-                       
+
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
@@ -88,122 +88,130 @@
             <groupId>org.easymock</groupId>
             <artifactId>easymock</artifactId>
         </dependency>
-        
+
         <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>jaxb-impl</artifactId>
             <version>2.0.2</version>
             <scope>test</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
             <artifactId>test</artifactId>
             <version>${sca.version}</version>
             <scope>test</scope>
-        </dependency>    
-       </dependencies>
-    
-       <build>
-        <testResources>
-                       <testResource>
-                               <directory>src/test/resources</directory>
-                               <filtering>true</filtering>
-                       </testResource>
-                       <testResource>
-                               <directory>target/xmlbeans-source</directory>
-                               <filtering>true</filtering>
-                       </testResource>
-                       <testResource>
-                               <directory>target/jaxb-source</directory>
-                               <filtering>true</filtering>
-                       </testResource>
-               </testResources>
-        
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.tuscany.sdo</groupId>
-                               <artifactId>tuscany-sdo-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-sdo</id>
-                                               <phase>generate-sources</phase>
-                                               <configuration>
-                                                       
<schemaFile>${basedir}/src/test/resources/ipo.xsd</schemaFile>
-                                                       
<javaPackage>com.example.ipo.sdo</javaPackage>
-                                                       
<noNotification>true</noNotification>
-                                                       
<noContainer>true</noContainer>
-                                                       
<noUnsettable>true</noUnsettable>
-                                               </configuration>
-                                               <goals>
-                                                       <goal>generate</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-
-                       <plugin>
-                               <groupId>com.sun.tools.xjc.maven2</groupId>
-                               <artifactId>maven-jaxb-plugin</artifactId>
-                               <version>1.0</version>
-                               <executions>
-                                       <execution>
-                                               <id>generate-jaxb</id>
-                                               <phase>generate-sources</phase>
-                                               <goals>
-                                                       <goal>generate</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                               <configuration>
-                                       
<generatePackage>com.example.ipo.jaxb</generatePackage>
-                                       
<generateDirectory>${project.build.directory}/jaxb-source</generateDirectory>
-                                       
<schemaDirectory>${basedir}/src/test/resources</schemaDirectory>
-                                       <includeSchemas>
-                                               
<includeSchema>ipo.xsd</includeSchema>
-                                       </includeSchemas>
-                               </configuration>
-                       </plugin>
-
-                       <plugin>
-                               <artifactId>maven-antrun-plugin</artifactId>
-                               <dependencies>
-                                       <dependency>
-                                               <groupId>xmlbeans</groupId>
-                                               <artifactId>xbean</artifactId>
-                                               <version>2.1.0</version>
-                                       </dependency>
-                                       <dependency>
-                                               <groupId>stax</groupId>
-                                               
<artifactId>stax-api</artifactId>
-                                               <version>1.0.1</version>
-                                       </dependency>
-
-                               </dependencies>
-
-                               <executions>
-                                       <execution>
-                                               <id>generate-xmlbeans</id>
-                                               <phase>generate-sources</phase>
-                                               <configuration>
-                                                       <tasks>
-                                                               <taskdef 
name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" 
classpathref="maven.compile.classpath"/>
-                                                               <xmlbean 
schema="${basedir}/src/test/resources" classpathref="maven.compile.classpath"
-                                                                       
destfile="${project.build.directory}/ipo-xmlbeans.jar" 
srcgendir="${project.build.directory}/xmlbeans-source"
-                                                                       
javasource="1.5" classgendir="${project.build.directory}/test-classes" />
-                                                       </tasks>
-                                                       <!-- 
-                                                               
<sourceRoot>${project.build.directory}/xmlbeans-source</sourceRoot>
-                                                               
<testSourceRoot>${project.build.directory}/xmlbeans-source</testSourceRoot>
-                                                       -->
-                                               </configuration>
-                                               <goals>
-                                                       <goal>run</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/jaxb-source</source>
+                                <source>target/sdo-source</source>
+                                <source>target/xmlbeans-source</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.tuscany.sdo</groupId>
+                <artifactId>tuscany-sdo-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-sdo</id>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            
<schemaFile>${basedir}/src/test/resources/ipo.xsd</schemaFile>
+                            <javaPackage>com.example.ipo.sdo</javaPackage>
+                            <noNotification>true</noNotification>
+                            <noContainer>true</noContainer>
+                            <noUnsettable>true</noUnsettable>
+                        </configuration>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>com.sun.tools.xjc.maven2</groupId>
+                <artifactId>maven-jaxb-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>generate-jaxb</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>generate</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <generatePackage>com.example.ipo.jaxb</generatePackage>
+                    
<generateDirectory>${project.build.directory}/jaxb-source</generateDirectory>
+                    
<schemaDirectory>${basedir}/src/test/resources</schemaDirectory>
+                    <includeSchemas>
+                        <includeSchema>ipo.xsd</includeSchema>
+                    </includeSchemas>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <dependencies>
+                    <dependency>
+                        <groupId>xmlbeans</groupId>
+                        <artifactId>xbean</artifactId>
+                        <version>2.1.0</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>stax</groupId>
+                        <artifactId>stax-api</artifactId>
+                        <version>1.0.1</version>
+                    </dependency>
+
+                </dependencies>
+
+                <executions>
+                    <execution>
+                        <id>generate-xmlbeans</id>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            <tasks>
+                                <taskdef name="xmlbean" 
classname="org.apache.xmlbeans.impl.tool.XMLBean"
+                                    classpathref="maven.compile.classpath" />
+                                <xmlbean 
schema="${basedir}/src/test/resources" classpathref="maven.compile.classpath"
+                                    
destfile="${project.build.directory}/ipo-xmlbeans.jar"
+                                    
srcgendir="${project.build.directory}/xmlbeans-source" javasource="1.5"
+                                    
classgendir="${project.build.directory}/test-classes" />
+                            </tasks>
+                            <!-- 
+                                
<sourceRoot>${project.build.directory}/xmlbeans-source</sourceRoot>
+                                
<testSourceRoot>${project.build.directory}/xmlbeans-source</testSourceRoot>
+                            -->
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 
 </project>

Modified: 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-xmlbeans/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-xmlbeans/pom.xml?view=diff&rev=467130&r1=467129&r2=467130
==============================================================================
--- 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-xmlbeans/pom.xml
 (original)
+++ 
incubator/tuscany/branches/sca-java-M2/sca/services/databinding/databinding-xmlbeans/pom.xml
 Mon Oct 23 14:24:26 2006
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
 -->
 <project>
     <parent>
@@ -49,17 +49,26 @@
     </dependencies>
 
     <build>
-        <testResources>
-            <testResource>
-                <directory>src/test/resources</directory>
-                <filtering>true</filtering>
-            </testResource>
-            <testResource>
-                <directory>target/xmlbeans-source</directory>
-                <filtering>true</filtering>
-            </testResource>
-        </testResources>
         <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                    <execution>
+                        <id>add-test-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-test-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>target/xmlbeans-source</source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to