<?xml version="1.0" encoding="UTF-8"?>
<!--
 * JBoss, Home of Professional Open Source
 * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
 * as indicated by the @author tags. All rights reserved.
 * See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 *
 * This copyrighted material is made available to anyone wishing to use,
 * modify, copy, or redistribute it subject to the terms and conditions
 * of the GNU Lesser General Public License, v. 2.1.
 * This program is distributed in the hope that it will be useful, but WITHOUT A
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License,
 * v.2.1 along with this distribution; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 -->
<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">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.switchyard</groupId>
        <artifactId>switchyard-parent</artifactId>
        <version>0.5.0.Final</version>
        <relativePath>../parent</relativePath>
    </parent>

    <groupId>org.switchyard.quickstarts</groupId>
    <artifactId>switchyard-quickstart-parent</artifactId>

    <packaging>pom</packaging>

    <name>SwitchYard: Quickstarts</name>
    <description>Quickstarts repository for SwitchYard</description>
    <url>http://switchyard.org</url>

    <organization>
        <name>JBoss by Red Hat</name>
        <url>http://jboss.org</url>
    </organization>

    <modules>
        <module>bean-service</module>
        <module>bpel-service</module>
        <module>bpm-service</module>
        <module>camel-binding</module>
        <module>camel-ftp-binding</module>
        <module>camel-jms-binding</module>
        <module>camel-netty-binding</module>
        <module>camel-quartz-binding</module>
        <module>camel-rest-binding</module>
        <module>camel-sql-binding</module>
        <module>camel-service</module>
        <module>camel-soap-proxy</module>
        <module>hornetq-binding</module>
        <module>rules-camel-cbr</module>
        <module>rules-interview</module>
        <module>rules-interview-agent</module>
        <module>jca-inflow-hornetq</module>
        <module>jca-outbound-hornetq</module>
        <module>transform-jaxb</module>
        <module>transform-json</module>
        <module>transform-smooks</module>
        <module>transform-xslt</module>
        <module>validate-xml</module>
        <module>demos/helpdesk</module>
        <module>demos/helpdesk-webapp</module>
        <module>demos/orders</module>
        <module>demos/webapp-deploy</module>
        <module>demos/multiApp</module>
        <module>demos/policy-security</module>
        <module>demos/policy-transaction</module>
    </modules>

    <!-- Conditionally include the assembly module.  It's not always present e.g. in the quickstarts distro. -->
    <profiles>
        <profile>
            <activation>
                <file><exists>assembly</exists></file>
            </activation>
            <modules>
                <module>assembly</module>
            </modules>
        </profile>
    </profiles>

    <repositories>
      <repository>
        <id>jboss-public-repository-group</id>
        <name>JBoss Public Maven Repository Group</name>
        <url>https://repository.jboss.org/nexus/content/groups/public/</url>
        <layout>default</layout>
        <releases>
          <enabled>true</enabled>
          <updatePolicy>never</updatePolicy>
        </releases>
        <snapshots>
          <enabled>true</enabled>
          <updatePolicy>never</updatePolicy>
        </snapshots>
      </repository>
    </repositories>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <property>
                            <name>log4j.configuration</name>
                            <value>log4j.xml</value>
                        </property>
                    </systemProperties>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
