summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-29 00:01:17 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-29 00:01:17 +0000
commit4636c26c8871fc22f3246379ecb6f446aa8cd8e8 (patch)
treeee41a4c8a0fc312e6a955f440d626d308aa17e5f
parenta8d60f6c4a9f815e83ccf4b6dc494ae003951982 (diff)
Configure the resources so that java code can be loaded into eclipse
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798730 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/otest/fixed_version/pom.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/java/sca/otest/fixed_version/pom.xml b/java/sca/otest/fixed_version/pom.xml
index 97d251fcae..9c9d075a91 100644
--- a/java/sca/otest/fixed_version/pom.xml
+++ b/java/sca/otest/fixed_version/pom.xml
@@ -68,15 +68,20 @@
<build>
<resources>
<resource>
+ <directory>src/test/resources</directory>
+ </resource>
+ </resources>
+
+ <testResources>
+ <testResource>
<directory>src/main/resources</directory>
<excludes>
- <exclude>General/**</exclude>
<exclude>*_Java/**</exclude>
<exclude>ASM_8004/**</exclude>
<exclude>ASM_8005/**</exclude>
</excludes>
- </resource>
- </resources>
+ </testResource>
+ </testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -87,11 +92,10 @@
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
- <goal>add-source</goal>
+ <goal>add-test-source</goal>
</goals>
<configuration>
<sources>
- <source>${basedir}/src/main/resources/General</source>
<source>${basedir}/src/main/resources/General_Java</source>
<source>${basedir}/src/main/resources/ASM_8001_Java</source>
<source>${basedir}/src/main/resources/ASM_8004</source>