<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (C) FuseSource, Inc.
  http://fusesource.com

  Licensed 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.
  -->
<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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.fusesource.esb</groupId>
        <artifactId>fuse-esb</artifactId>
        <version>7.0.1.fuse-084</version>
        <relativePath>../fuse-esb/pom.xml</relativePath>
    </parent>

    <artifactId>fuse-esb-medium</artifactId>
    <packaging>pom</packaging>
    <name>Fuse ESB :: Assembly (Medium)</name>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>features-maven-plugin</artifactId>
                <version>${karaf.version}</version>
                <executions>
                    <execution>
                        <id>add-features-to-repo</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>add-features-to-repo</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf.version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf.version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix.nmr.version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.version}/xml/features</descriptor>
                                <descriptor>mvn:org.fusesource.esb/fuse-esb/${project.version}/xml/features</descriptor>

                                <!-- FuseSource only : Fabric -->
                                <descriptor>mvn:org.fusesource.patch/patch-features/${project.version}/xml/features</descriptor>
                                <descriptor>mvn:org.fusesource.fabric/fuse-fabric/${fabric.version}/xml/features</descriptor>
                            </descriptors>
                            <features>
                                <feature>karaf-framework</feature>
                                <feature>config</feature>
                                <feature>obr</feature>
                                <feature>xml-specs-api</feature>
                                <feature>cxf</feature>
                                <feature>saaj</feature>
                                <feature>activemq</feature>
                                <feature>activemq-spring</feature>
                                <feature>mq-fabric</feature>
                                <feature>camel</feature>
                                <feature>camel-activemq</feature>
                                <feature>camel-nmr</feature>
                                <feature>camel-cxf</feature>
                                <feature>camel-blueprint</feature>
                                <feature>war</feature>
                                <feature>camel-jms</feature>
                                <feature>camel-jaxb</feature>
                                <feature>camel-jdbc</feature>
                                <feature>camel-jetty</feature>
                                <feature>camel-jmx</feature>
                                <feature>camel-mail</feature>
                                <feature>camel-paxlogging</feature>
                                <feature>camel-rmi</feature>
                                <feature>jasypt-encryption</feature>
                                <feature>camel-csv</feature>
                                <feature>camel-ftp</feature>
                                <feature>camel-bindy</feature>
                                <feature>camel-eventadmin</feature>
                                <feature>camel-exec</feature>
                                <feature>camel-jasypt</feature>
                                <feature>camel-saxon</feature>
                                <feature>camel-snmp</feature>
                                <feature>camel-ognl</feature>
                                <feature>camel-routebox</feature>
                                <feature>camel-script</feature>
                                <feature>camel-spring-javaconfig</feature>

                                <!-- FuseSource only : Fabric -->
                                <feature>fabric-bundle</feature>
                                <feature>fabric-commands</feature>
                                <feature>patch</feature>
                            </features>
                            <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
                            <repository>target/features-repo</repository>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>

