Repository: camel
Updated Branches:
  refs/heads/master 4d827f208 -> 2229ce2b1


Eclipse cannot point to the source folder in another component.  Just copy it 
over in generate-test-sources for now


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8edbc245
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8edbc245
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8edbc245

Branch: refs/heads/master
Commit: 8edbc2453d704adbd7d412d339572ce95ca54901
Parents: 4d827f2
Author: Daniel Kulp <dk...@apache.org>
Authored: Tue Feb 17 14:56:55 2015 -0500
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Feb 18 11:11:41 2015 -0500

----------------------------------------------------------------------
 components/camel-jetty8/pom.xml | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8edbc245/components/camel-jetty8/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jetty8/pom.xml b/components/camel-jetty8/pom.xml
index 676729c..42545a7 100644
--- a/components/camel-jetty8/pom.xml
+++ b/components/camel-jetty8/pom.xml
@@ -132,15 +132,35 @@
     </dependencies>
 
     <build>
-       <testSourceDirectory>../camel-jetty9/src/test/java</testSourceDirectory>
+       
<testSourceDirectory>target/generated/src/test/java</testSourceDirectory>
         <plugins>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-test-sources</id>
+                        <phase>generate-test-sources</phase>
+                        <configuration>
+                            <target>
+                                <copy todir="target/generated/src/test/java">
+                                    <fileset 
dir="../camel-jetty9/src/test/java"/>
+                                </copy>                            </target>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <!-- use per test fork mode to avoid side effects -->
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                    <forkCount>1</forkCount>
-                   <reuseForks>false</reuseForks>
-                    
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
+                <reuseForks>false</reuseForks>
+                
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>
         </plugins>

Reply via email to