<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<!--

    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.
-->

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.servicemix</groupId>
    <artifactId>assemblies</artifactId>
    <version>3.3.1.26-fuse</version>
  </parent>

  <artifactId>apache-servicemix</artifactId>
  <name>Servicemix :: Distribution</name>
  <packaging>pom</packaging>

  <dependencies>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-jbi</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-services</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-audit</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-components</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-common</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-jms</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-http</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-jsr181</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-lwcontainer</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-bean</artifactId>
    </dependency>
    <!--dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-osworkflow</artifactId>
    </dependency-->
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-wsn2005</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-eip</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-script</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-file</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-ftp</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-xmpp</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-saxon</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-quartz</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-truezip</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-cxf-bc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-cxf-se</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-camel</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-components</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-beanflow</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>servicemix-web</artifactId>
      <type>war</type>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>wsdl-first</artifactId>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>cxf-wsdl-first</artifactId>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>cxf-ws-security</artifactId>
      <type>pom</type>
    </dependency>
    
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>bridge</artifactId>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>org.apache.servicemix.samples</groupId>
      <artifactId>basic</artifactId>
      <type>pom</type>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>${spring-version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-beans</artifactId>
        <version>${spring-version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>${spring-version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-dao</artifactId>
        <version>${spring-version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-ejb_2.1_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-servlet_2.4_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-javamail_1.3.1_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.woden</groupId>
      <artifactId>woden</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </dependency>
    <dependency>
      <groupId>classworlds</groupId>
      <artifactId>classworlds</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-pool</groupId>
      <artifactId>commons-pool</artifactId>
    </dependency>
    <!-- commons collections added by ka, 15.08.2006 -->
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
    </dependency>
    <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
    </dependency>
    <dependency>
      <groupId>quartz</groupId>
      <artifactId>quartz</artifactId>
    </dependency>    
    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.activemq</groupId>
      <artifactId>activemq-ra</artifactId>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-vfs</groupId>
      <artifactId>commons-vfs</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>
    <dependency>
      <groupId>rome</groupId>
      <artifactId>rome</artifactId>
    </dependency>
    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis-saaj</artifactId>
    </dependency>
    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis-jaxrpc</artifactId>
    </dependency>
    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-discovery</groupId>
      <artifactId>commons-discovery</artifactId>
    </dependency>
    <dependency>
      <groupId>org.objectweb.howl</groupId>
      <artifactId>howl</artifactId>
    </dependency>
    <dependency>
      <groupId>xml-apis</groupId>
      <artifactId>xml-apis</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>dependency-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>copy-components</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <outputDirectory>target/components</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-http</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-jms</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-wsn2005</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-drools</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-eip</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-script</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-file</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-ftp</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-xmpp</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-saxon</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-quartz</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-jsr181</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-lwcontainer</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-bean</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-truezip</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-cxf-se</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-cxf-bc</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-camel</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>                
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-shared</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>installer</classifier>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-schemas</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <outputDirectory>target/schemas</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-http</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-jms</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-wsn2005</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-drools</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-eip</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-script</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-file</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-ftp</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-xmpp</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-saxon</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-quartz</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-jsr181</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <!--<artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-osworkflow</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem> -->
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-bean</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-truezip</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-cxf-se</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix</groupId>
                  <artifactId>servicemix-cxf-bc</artifactId>
                  <version>${servicemix-version}</version>
                  <type>xsd</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-bridge-sa</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <outputDirectory>target/samples/bridge-${servicemix-version}</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples.bridge</groupId>
                  <artifactId>bridge-sa</artifactId>
                  <version>${servicemix-version}</version>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-wsdl-first-sa</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
	          <id>wsdl-first</id>
              <outputDirectory>target/samples/wsdl-first-${servicemix-version}</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples.wsdl-first</groupId>
                  <artifactId>wsdl-first-sa</artifactId>
                  <version>${servicemix-version}</version>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-cxf-wsdl-first-sa</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
                  <id>cxf-wsdl-first</id>
              <outputDirectory>target/samples/cxf-wsdl-first-${servicemix-version}</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
                  <artifactId>wsdl-first-cxf-sa</artifactId>
                  <version>${servicemix-version}</version>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-cxf-ws-security-sa</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
                  <id>cxf-ws-security</id>
              <outputDirectory>target/samples/cxf-ws-security-${servicemix-version}</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples.cxf-ws-security</groupId>
                  <artifactId>ws-security-sa</artifactId>
                  <version>${servicemix-version}</version>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>copy-camel-sa</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <id>camel</id>
              <outputDirectory>target/samples/camel-${servicemix-version}</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>camel-sa</artifactId>
                  <version>${servicemix-version}</version>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>unpack-samples</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <outputDirectory>target/samples</outputDirectory>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>servicemix-web</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>wsdl-first</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>cxf-wsdl-first</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>cxf-ws-security</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>bridge</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>basic</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.servicemix.samples</groupId>
                  <artifactId>camel</artifactId>
                  <version>${servicemix-version}</version>
                  <classifier>src</classifier>
                  <type>zip</type>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
	    <inherited>true</inherited>
		<groupId>org.apache.servicemix.tooling</groupId>
		<artifactId>res-maven-plugin</artifactId>
		<version>${servicemix-version}</version>
		<configuration>
		  <inputDirectory>${basedir}/src/main/release</inputDirectory>
		  <outputDirectory>${basedir}/target/filtered</outputDirectory>
		  <filters>
		    <servicemix-version>${servicemix-version}</servicemix-version>
		    <releases-repo-url>${releases-repo-url}</releases-repo-url>
                    <jaxb.version>${jaxb.version}</jaxb.version>
                    <jaxb.impl.version>${jaxb.impl.version}</jaxb.impl.version>
                    <xfire-jsr181-api-version>${xfire-jsr181-api-version}</xfire-jsr181-api-version>
		  </filters>
		</configuration>
		<executions>
		  <execution>
			<goals>
			  <goal>resources</goal>
		    </goals>
          </execution>
		</executions>
	  </plugin>
          <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-resources</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>resources</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>${mavenAssemblyPluginVersion}</version>
        <executions>
          <execution>
            <id>bin</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
            <configuration>
              <descriptors>
                <descriptor>src/main/assembly/bin.xml</descriptor>
              </descriptors>
              <appendAssemblyId>false</appendAssemblyId>
              <tarLongFileMode>gnu</tarLongFileMode>
            </configuration>
          </execution>
          <execution>
            <id>src</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
            <configuration>
              <descriptors>
                <descriptor>src/main/assembly/src.xml</descriptor>
              </descriptors>
              <tarLongFileMode>gnu</tarLongFileMode>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>
