<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors.
-
- 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.switchyard.quickstarts</groupId>
        <artifactId>switchyard-quickstart-parent</artifactId>
        <version>1.1.0.Final</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>
    <artifactId>switchyard-quickstart-ear-deployment-assembly</artifactId>
    <packaging>ear</packaging>
    <name>Quickstart : EAR Deployment - Application Assembly</name>
    <dependencies>
        <dependency>
            <groupId>org.switchyard.quickstarts</groupId>
            <artifactId>switchyard-quickstart-ear-deployment-artifacts</artifactId>
        </dependency>
        <dependency>
            <groupId>org.switchyard.quickstarts</groupId>
            <artifactId>switchyard-quickstart-ear-deployment-order-consumer</artifactId>
        </dependency>
        <dependency>
            <groupId>org.switchyard.quickstarts</groupId>
            <artifactId>switchyard-quickstart-ear-deployment-order-service</artifactId>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-ear-plugin</artifactId>
                <version>2.8</version>
                <configuration>
                    <filtering>true</filtering>
                    <modules>
                        <jarModule>
                            <groupId>org.switchyard.quickstarts</groupId>
                            <artifactId>switchyard-quickstart-ear-deployment-artifacts</artifactId>
                            <bundleDir>lib</bundleDir>
                        </jarModule>
                        <jarModule>
                            <groupId>org.switchyard.quickstarts</groupId>
                            <artifactId>switchyard-quickstart-ear-deployment-order-consumer</artifactId>
                            <includeInApplicationXml>true</includeInApplicationXml>
                        </jarModule>
                        <jarModule>
                            <groupId>org.switchyard.quickstarts</groupId>
                            <artifactId>switchyard-quickstart-ear-deployment-order-service</artifactId>
                            <includeInApplicationXml>true</includeInApplicationXml>
                        </jarModule>
                    </modules>
                    <packagingIncludes>
                        switchyard-quickstart-*, 
                        lib/*,
                        META-INF/*
                    </packagingIncludes>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
