diff options
Diffstat (limited to 'sca-java-1.x/trunk/tools/eclipse/features')
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/META-INF/MANIFEST.MF (renamed from sca-java-1.x/trunk/tools/eclipse/features/core/META-INF/MANIFEST.MF) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/NOTICE (renamed from sca-java-1.x/trunk/tools/eclipse/features/core/NOTICE) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/feature.xml (renamed from sca-java-1.x/trunk/tools/eclipse/features/core/feature.xml) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/features/core/pom.xml | 68 |
4 files changed, 54 insertions, 14 deletions
diff --git a/sca-java-1.x/trunk/tools/eclipse/features/core/META-INF/MANIFEST.MF b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/META-INF/MANIFEST.MF index c259c8c6d8..c259c8c6d8 100644 --- a/sca-java-1.x/trunk/tools/eclipse/features/core/META-INF/MANIFEST.MF +++ b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/META-INF/MANIFEST.MF diff --git a/sca-java-1.x/trunk/tools/eclipse/features/core/NOTICE b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/NOTICE index ad2ba40961..ad2ba40961 100644 --- a/sca-java-1.x/trunk/tools/eclipse/features/core/NOTICE +++ b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/NOTICE diff --git a/sca-java-1.x/trunk/tools/eclipse/features/core/feature.xml b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/feature.xml index 649bffe695..649bffe695 100644 --- a/sca-java-1.x/trunk/tools/eclipse/features/core/feature.xml +++ b/sca-java-1.x/trunk/tools/eclipse/features/core/filtered-resources/feature.xml diff --git a/sca-java-1.x/trunk/tools/eclipse/features/core/pom.xml b/sca-java-1.x/trunk/tools/eclipse/features/core/pom.xml index 8ca96f1556..9c912b050f 100644 --- a/sca-java-1.x/trunk/tools/eclipse/features/core/pom.xml +++ b/sca-java-1.x/trunk/tools/eclipse/features/core/pom.xml @@ -38,26 +38,49 @@ </dependencies> <build> - <filters> - <filter>../../target/filter.properties</filter> - </filters> - <resources> - <resource> - <directory>${basedir}</directory> - <filtering>true</filtering> - <excludes> - <exclude>**/.*/**</exclude> - <exclude>pom.xml</exclude> - <exclude>build.*</exclude> - <exclude>target/**</exclude> - </excludes> - </resource> + <resource> + <directory>${basedir}</directory> + <excludes> + <exclude>**/.*/**</exclude> + <exclude>pom.xml</exclude> + <exclude>build.*</exclude> + <exclude>filtered-resources/**</exclude> + <exclude>target/**</exclude> + </excludes> + </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.3</version> + <executions> + <!-- TUSCANY-xxxx: Copy resource files that need to be filtered --> + <execution> + <id>copy-filtered-resources</id> + <phase>generate-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}</outputDirectory> + <filters> + <filter>${basedir}/../../target/filter.properties</filter> + </filters> + <resources> + <resource> + <directory>${basedir}/filtered-resources</directory> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> @@ -65,6 +88,23 @@ </archive> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <configuration> + <filesets> + <!-- TUSCANY-xxxx: Delete copied filtered resource files --> + <fileset> + <directory>${basedir}</directory> + <includes> + <include>NOTICE</include> + <include>META-INF/MANIFEST.MF</include> + <include>feature.xml</include> + </includes> + </fileset> + </filesets> + </configuration> + </plugin> </plugins> </build> |