<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2013, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY 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 along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
<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">
    <parent>
        <groupId>org.switchyard</groupId>
        <artifactId>switchyard-parent</artifactId>
        <version>0.7.0.Final</version>
        <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>switchyard-core-parent</artifactId>
    <packaging>pom</packaging>
    <name>SwitchYard: Core</name>
    <description>SwitchYard Core</description>
    <modules>
        <module>build</module>
        <module>common</module>
        <module>common-camel</module>
        <module>config</module>
        <module>api</module>
        <module>serial/base</module>
        <module>serial/jackson</module>
        <!--
        <module>serial/protostuff</module>
        -->
        <module>security/base</module>
        <module>security/jboss</module>
        <module>extensions/wsdl</module>
        <module>transform</module>
        <module>validate</module>
        <module>runtime</module>
        <module>remote</module>
        <module>admin</module>
        <module>bus/camel</module>
        <module>test</module>
        <module>tools/maven/plugins/switchyard</module>
        <module>deploy/base</module>
        <module>deploy/cdi</module>
        <module>deploy/webapp</module>
        <module>tools/maven/archetypes/application</module>
        <module>tools/forge/common</module>
        <module>tools/forge/plugin</module>
    </modules>
    <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>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>xmlunit</groupId>
            <artifactId>xmlunit</artifactId>
            <scope>test</scope>
            <optional>true</optional>
        </dependency>
    </dependencies>
    <profiles>
        <profile>
            <id>javadoc</id>
            <activation>
                <activeByDefault>false</activeByDefault>
                <property>
                    <name>javadoc</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>aggregate</id>
                                <goals>
                                    <goal>aggregate</goal>
                                </goals>
                                <phase>install</phase>
                                <configuration>
                                    <bottom>JBoss by Red Hat</bottom>
                                    <breakiterator>true</breakiterator>
                                    <charset>${project.build.sourceEncoding}</charset>
                                    <docencoding>${project.build.sourceEncoding}</docencoding>
                                    <!--
                                    <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
                                    <docletArtifact>
                                        <groupId>org.umlgraph</groupId>
                                        <artifactId>doclet</artifactId>
                                        <version>5.1</version>
                                    </docletArtifact>
                                    -->
                                    <doctitle>SwitchYard Core ${project.version}</doctitle>
                                    <encoding>${project.build.sourceEncoding}</encoding>
                                    <excludePackageNames>*.admin.*:*.bus.*:*.config.*:*.deploy.*:*.deployment.*:*.extensions.*:*.handlers.*:*.internal.*:*.spi.*:*.test.*:*.tools.*:*.transform.ootb.**.transform.xslt.*</excludePackageNames>
                                    <groups>
                                        <group>
                                            <title>API</title>
                                            <packages>org.switchyard:org.switchyard.annotations*:org.switchyard.composer*:org.switchyard.exception*:org.switchyard.io*:org.switchyard.metadata*:org.switchyard.policy*:org.switchyard.transform*</packages>
                                        </group>
                                        <group>
                                            <title>Common</title>
                                            <packages>org.switchyard.common*</packages>
                                        </group>
                                    </groups>
                                    <keywords>true</keywords>
                                    <links>
                                        <link>http://docs.oracle.com/javase/6/docs/api/</link>
                                    </links>
                                    <linksource>true</linksource>
                                    <quiet>true</quiet>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
