diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-28 19:43:21 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-28 19:43:21 +0000 |
commit | 2488e01d282682a91c22b7077dab3a619408e148 (patch) | |
tree | 02b3bf5c206bf37949f992be994cfc759647db08 /java | |
parent | ca7db536efe8b5e51e184fcd0cf24206305e9ca6 (diff) |
Add resource filters to have java code in the src/main/resources to become source folders in Eclipse
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/otest/fixed_version/pom.xml | 52 |
1 files changed, 34 insertions, 18 deletions
diff --git a/java/sca/otest/fixed_version/pom.xml b/java/sca/otest/fixed_version/pom.xml index a203ef93f8..97d251fcae 100644 --- a/java/sca/otest/fixed_version/pom.xml +++ b/java/sca/otest/fixed_version/pom.xml @@ -64,29 +64,45 @@ <scope>test</scope> </dependency> -</dependencies> + </dependencies> <build> - <plugins> + <resources> + <resource> + <directory>src/main/resources</directory> + <excludes> + <exclude>General/**</exclude> + <exclude>*_Java/**</exclude> + <exclude>ASM_8004/**</exclude> + <exclude>ASM_8005/**</exclude> + </excludes> + </resource> + </resources> + <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.4</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> <source>${basedir}/src/main/resources/General</source> - </sources> - </configuration> - </execution> - </executions> - + <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> + <source>${basedir}/src/main/resources/ASM_8005</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> - + </project> |