apache-tuscany/sandbox/old/distribution/sca/tsss-demo/demo/demo.xml
2008-06-17 00:23:01 +00:00

139 lines
6.1 KiB
XML

<?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>bin</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
<format>tar.gz</format>
</formats>
<files>
<!-- include legal and other files -->
<file>
<source>LICENSE.txt</source>
<outputDirectory>/</outputDirectory>
</file>
<file>
<source>NOTICE.txt</source>
<outputDirectory>/</outputDirectory>
<filtered>true</filtered>
</file>
</files>
<fileSets>
<!-- include assembly files -->
<fileSet>
<directory>src/main</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
<dependencySets>
<!-- copy executable commands to the bin directory without version info -->
<dependencySet>
<includes>
<include>org.apache.tuscany.sca.runtime.standalone:server.start</include>
</includes>
<excludes>
<exclude>org.apache.tuscany.sca.runtime.standalone:standalone-api</exclude>
<exclude>org.apache.tuscany.sca.runtime.services.management:management-jmx</exclude>
<exclude>javax.servlet:servlet-api</exclude>
</excludes>
<outputDirectory>bin</outputDirectory>
<outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
<fileMode>755</fileMode>
</dependencySet>
<!-- copy dependencies used by the executable commands to the lib directory -->
<dependencySet>
<includes>
<include>org.apache.tuscany.sca.runtime.standalone:standalone-api</include>
<include>org.osoa:sca-api-r1.0</include>
<include>org.apache.tuscany.sca.kernel:tuscany-api</include>
<include>org.apache.tuscany.sca.kernel:tuscany-host-api</include>
<include>org.apache.tuscany.sca.runtime.services.management:management-jmx</include>
<include>org.apache.tuscany.sca.kernel:tuscany-spi</include>
<include>javax.servlet:servlet-api</include>
<include>org.codehaus.woodstox:wstx-asl</include>
</includes>
<excludes>
<exclude>junit:junit</exclude>
<exclude>org.easymock:easymock</exclude>
</excludes>
<outputDirectory>lib</outputDirectory>
<outputFileNameMapping>${artifactId}-${baseVersion}.${extension}</outputFileNameMapping>
</dependencySet>
<!-- copy boot dependencies to master profile -->
<dependencySet>
<includes>
<include>org.apache.tuscany.sca.runtime.standalone:standalone-host</include>
<include>org.apache.tuscany.sca.services:http-jetty</include>
<include>org.apache.tuscany:tuscany-sca-console</include>
<include>org.apache.tuscany.sca.runtime.services.discovery:discovery-jms</include>
<include>org.apache.tuscany.sca.core-samples.common:calculator</include>
<include>org.apache.tuscany.distribution.sca:demo-app</include>
</includes>
<excludes>
<exclude>junit:junit</exclude>
<exclude>org.easymock:easymock</exclude>
<exclude>javax.servlet:servlet-api</exclude>
</excludes>
<outputDirectory>profiles/master/boot</outputDirectory>
</dependencySet>
<!-- copy boot dependencies to slave1 profile -->
<dependencySet>
<includes>
<include>org.apache.tuscany.sca.runtime.standalone:standalone-host</include>
<include>org.apache.tuscany.sca.services:http-jetty</include>
<include>org.apache.tuscany.sca.runtime.services.discovery:discovery-jms</include>
<include>org.apache.tuscany.sca.core-samples.common:calculator</include>
<include>org.apache.tuscany.distribution.sca:demo-app</include>
</includes>
<excludes>
<exclude>junit:junit</exclude>
<exclude>org.easymock:easymock</exclude>
<exclude>javax.servlet:servlet-api</exclude>
</excludes>
<outputDirectory>profiles/slave1/boot</outputDirectory>
</dependencySet>
<!-- copy boot dependencies to slave2 profile -->
<dependencySet>
<includes>
<include>org.apache.tuscany.sca.runtime.standalone:standalone-host</include>
<include>org.apache.tuscany.sca.services:http-jetty</include>
<include>org.apache.tuscany.sca.runtime.services.discovery:discovery-jms</include>
<include>org.apache.tuscany.sca.core-samples.common:calculator</include>
<include>org.apache.tuscany.distribution.sca:demo-app</include>
</includes>
<excludes>
<exclude>junit:junit</exclude>
<exclude>org.easymock:easymock</exclude>
<exclude>javax.servlet:servlet-api</exclude>
</excludes>
<outputDirectory>profiles/slave2/boot</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>