<?xml version="1.0" encoding="UTF-8"?>
<!--
 # BEGIN_HEADER - DO NOT EDIT
 #
 # The contents of this file are subject to the terms
 # of the Common Development and Distribution License
 # (the "License").  You may not use this file except
 # in compliance with the License.
 #
 # You can obtain a copy of the license at
 # https://open-esb.dev.java.net/public/CDDLv1.0.html.
 # See the License for the specific language governing
 # permissions and limitations under the License.
 #
 # When distributing Covered Code, include this CDDL
 # HEADER in each file and include the License file at
 # https://open-esb.dev.java.net/public/CDDLv1.0.html.
 # If applicable add the following below this CDDL HEADER,
 # with the fields enclosed by brackets "[]" replaced with
 # your own identifying information: Portions Copyright
 # [year] [name of copyright owner]
-->

<!--
 # @(#)pom.xml
 # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
 #
 # END_HEADER - DO NOT EDIT
-->
<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>
        <artifactId>open-esb-top</artifactId>
        <groupId>net.open-esb.core</groupId>
        <version>2.4.3</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.open-esb.core</groupId>
    <artifactId>runtime</artifactId>
    <packaging>pom</packaging>
    <name>runtime-top</name>
    <description>Build the JBI runtime sub-schemaorg_apache_xmlbeans.system.</description>
    <profiles>
        <profile>
            <id>default-profile</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            
            <modules>
                <module>base</module>
                <module>manage</module>
                <module>test-components</module>
                <module>ui</module>
                <module>esb-manage</module>
                <module>wsdl/wsdl11-wrapper</module>
                <module>wsdl/wsdl2</module>
                <module>wsdl/wsdlsl</module>
                <module>wsdl</module>
                <module>tracking</module>
                <module>nmr</module>
                <module>framework</module>
                <module>mrntest-components</module>
            </modules>
        </profile>

        <profile>
            <id>junit-profile</id>
            <activation>
                <property>
                    <name>maven.test.skip</name>
                    <value>false</value>
                </property>
            </activation>
            <modules>
                <!-- list only modules that have junit tests: -->
                <module>esb-manage</module>
                <module>framework</module>
                <module>manage</module>
                <module>nmr</module>
                <module>ui</module>
                <module>wsdl</module>
            </modules>
        </profile>

        <!-- run-schemaorg_apache_xmlbeans.system-tests profile: -->
        <profile>
            <id>run-schemaorg_apache_xmlbeans.system-tests</id>
            <activation>
                <property> 
                    <name>jregress</name> 
                </property>
            </activation>
            <build>
                <defaultGoal>integration-test</defaultGoal>
            </build>
            <modules>
                <!-- no domains required: -->
                <module>wsdl/regress</module>
                <!-- uses domain1 only: -->
                <module>manage/regress</module>
                <!-- requires JBITest only: -->
                <module>framework/regress</module>
                <!-- requires CAS: -->
                <module>nmr/regress</module>
                <!-- requires JBITest + CAS: -->
                <module>esb-manage/regress</module>
                <!-- requires JBITest: -->
                <module>ui/regress</module>
                <!-- DISABLED MODULES:
                <module>esb-security/regress</module>
                -->
            </modules>
        </profile>
    </profiles>
</project>
