diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/distribution')
3 files changed, 144 insertions, 1 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/distribution/pom.xml b/sca-java-1.x/branches/sca-java-1.6.1/distribution/pom.xml index 371e68324f..0fc1ba1ea3 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/distribution/pom.xml +++ b/sca-java-1.x/branches/sca-java-1.6.1/distribution/pom.xml @@ -36,8 +36,10 @@ </properties> <modules> + <!-- <module>bundle</module> <module>manifest</module> + --> </modules> <dependencies> @@ -351,7 +353,39 @@ <finalName>apache-tuscany-sca-${pom.version}</finalName> </configuration> </execution> - </executions> + <execution> + <id>distribution-updatesite</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/main/assembly/updatesite.xml</descriptor> + </descriptors> + <finalName>apache-tuscany-sca-${pom.version}</finalName> + </configuration> + </execution> + <execution> + <id>distribution-featurecore</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/main/assembly/featurecore.xml</descriptor> + </descriptors> + <archive> + <manifestFile>../tools/eclipse/features/core/target/classes/META-INF/MANIFEST.MF</manifestFile> + </archive> + <outputDirectory>target/apache-tuscany-sca-${tuscany.version}-updatesite.dir/tuscany-sca-${tuscany.version}-updatesite/features</outputDirectory> + <finalName>org.apache.tuscany.sca.feature.core-${pom.version}</finalName> + <appendAssemblyId>false</appendAssemblyId> + <attach>false</attach> + </configuration> + </execution> + </executions> </plugin> </plugins> diff --git a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/featurecore.xml b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/featurecore.xml new file mode 100644 index 0000000000..57e58bae33 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/featurecore.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<assembly>
+ <!--
+ id typically identifies the "type" (src vs bin etc) of the assembly
+ -->
+ <id>featurecore</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>jar</format>
+ </formats>
+
+ <fileSets>
+ <fileSet>
+ <directory>../tools/eclipse/features/core/target/classes</directory>
+ <outputDirectory></outputDirectory>
+ <excludes>
+ <exclude>LICENSE</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/release/bin</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>LICENSE</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target/apache-tuscany-sca-${tuscany.version}.dir</directory>
+ <outputDirectory>runtime/apache-tuscany-sca-${tuscany.version}</outputDirectory>
+ <excludes>
+ <exclude>tuscany-sca-${tuscany.version}/demos/**</exclude>
+ <exclude>tuscany-sca-${tuscany.version}/samples/**</exclude>
+ <exclude>tuscany-sca-${tuscany.version}/tutorials/**</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>src</outputDirectory>
+ <includes>
+ <include>apache-tuscany-sca-${tuscany.version}-src.zip</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/updatesite.xml b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/updatesite.xml new file mode 100644 index 0000000000..c44807c57d --- /dev/null +++ b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/assembly/updatesite.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<assembly>
+ <!--
+ id typically identifies the "type" (src vs bin etc) of the assembly
+ -->
+ <id>updatesite</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>dir</format>
+ </formats>
+
+ <fileSets>
+ <fileSet>
+ <directory>../tools/eclipse/site/updatesite/target/apache-tuscany-sca-${tuscany.version}-updatesite.dir</directory>
+ <outputDirectory></outputDirectory>
+ <excludes>
+ <exclude>tuscany-sca-${tuscany.version}-updatesite/LICENSE</exclude>
+ <exclude>tuscany-sca-${tuscany.version}-updatesite/features/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/release/bin</directory>
+ <outputDirectory>tuscany-sca-${tuscany.version}-updatesite</outputDirectory>
+ <includes>
+ <include>LICENSE</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
|