diff options
Diffstat (limited to 'sca-java-1.x/trunk/tools/eclipse/site/updatesite')
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/NOTICE (renamed from sca-java-1.x/trunk/tools/eclipse/site/updatesite/NOTICE) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site.xml (renamed from sca-java-1.x/trunk/tools/eclipse/site/updatesite/site.xml) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml (renamed from sca-java-1.x/trunk/tools/eclipse/site/updatesite/src/main/assembly/updatesite.xml) | 0 | ||||
-rw-r--r-- | sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml | 52 |
4 files changed, 46 insertions, 6 deletions
diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/NOTICE b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/NOTICE index ad2ba40961..ad2ba40961 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/NOTICE +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/NOTICE diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/site.xml b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site.xml index 0a433ee065..0a433ee065 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/site.xml +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/site.xml diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/src/main/assembly/updatesite.xml b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml index 6d11e978af..6d11e978af 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/src/main/assembly/updatesite.xml +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/filtered-resources/src/main/assembly/updatesite.xml diff --git a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml index baa08ff1f7..d3832313dc 100644 --- a/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml +++ b/sca-java-1.x/trunk/tools/eclipse/site/updatesite/pom.xml @@ -46,15 +46,11 @@ </dependencies> <build> - <filters> - <filter>../../target/filter.properties</filter> - </filters> - <resources> <resource> <directory>${basedir}</directory> - <filtering>true</filtering> <excludes> + <exclude>src/**</exclude> <exclude>**/.*/**</exclude> <exclude>pom.xml</exclude> <exclude>build.*</exclude> @@ -66,6 +62,33 @@ <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-assembly-plugin</artifactId> <executions> <execution> @@ -76,7 +99,7 @@ </goals> <configuration> <descriptors> - <descriptor>target/classes/src/main/assembly/updatesite.xml</descriptor> + <descriptor>src/main/assembly/updatesite.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> <finalName>apache-tuscany-sca-${pom.version}</finalName> @@ -84,6 +107,23 @@ </execution> </executions> </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>site.xml</include> + <include>NOTICE</include> + <include>src/main/assembly/updatesite.xml</include> + </includes> + </fileset> + </filesets> + </configuration> + </plugin> </plugins> </build> |