<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.wso2.carbon</groupId>
        <artifactId>carbon-parent</artifactId>
        <version>2.0.2</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.wso2.carbon</groupId>
    <artifactId>identity</artifactId>
    <packaging>pom</packaging>
    <name>WSO2 Carbon - Identity components</name>
    <version>2.0.2</version>
    <description>
        This is a Carbon bundle that represent the Identity module.
    </description>
    <url>http://wso2.org</url>

    <profiles>

        <profile>
            <id>product-gs</id>

            <activation>
                <property>
                    <name>product</name>
                    <value>gs</value>
                </property>
            </activation>

            <modules>
                <module>org.wso2.carbon.identity.base</module>
                <module>org.wso2.carbon.identity.core</module>
                <module>org.wso2.carbon.identity.provider</module>
                <module>org.wso2.carbon.identity.provider.openid</module>
                <module>org.wso2.carbon.identity.provider.openid.ui</module>
                <module>org.wso2.carbon.identity.relyingparty</module>
                <module>org.wso2.carbon.identity.relyingparty.ui</module>
                <module>org.wso2.carbon.identity.user.registration</module>
                <module>org.wso2.carbon.identity.user.registration.ui</module>
            </modules>
        </profile>

        <profile>
            <id>product-greg</id>

            <activation>
                <property>
                    <name>product</name>
                    <value>greg</value>
                </property>
            </activation>

            <modules>
                <module>org.wso2.carbon.identity.base</module>
                <module>org.wso2.carbon.identity.core</module>
                <module>org.wso2.carbon.identity.menu.ui</module>
                <module>org.wso2.carbon.identity.user.profile</module>
                <module>org.wso2.carbon.identity.user.profile.ui</module>
            </modules>
        </profile>

           <profile>
            <id>product-esb</id>

            <activation>
                <property>
                    <name>product</name>
                    <value>esb</value>
                </property>
            </activation>

            <modules>
                <module>org.wso2.carbon.identity.entitlement.mediator</module>
            </modules>
        </profile>
        <profile>
            <id>default</id>

            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>

            <modules>
                <module>org.wso2.carbon.identity.base</module>
                <module>org.wso2.carbon.identity.core</module>
                <module>org.wso2.carbon.identity.menu.ui</module>
                <module>org.wso2.carbon.identity.provider</module>
                <module>org.wso2.carbon.identity.provider.ui</module>
                <module>org.wso2.carbon.identity.provider.openid.ui</module>
	            <module>org.wso2.carbon.identity.provider.openid</module>
                <module>org.wso2.carbon.identity.sts</module>
                <module>org.wso2.carbon.identity.sts.mgt</module>
                <module>org.wso2.carbon.identity.sts.mgt.ui</module>
                <module>org.wso2.carbon.identity.user.registration</module>
                <module>org.wso2.carbon.identity.user.registration.ui</module>
                <module>org.wso2.carbon.identity.relyingparty</module>
                <module>org.wso2.carbon.identity.relyingparty.ui</module>       
                <module>org.wso2.carbon.identity.user.profile</module>        
                <module>org.wso2.carbon.identity.user.profile.ui</module>
                <module>org.wso2.carbon.identity.entitlement</module>
                <module>org.wso2.carbon.identity.entitlement.ui</module>
                <module>org.wso2.carbon.identity.entitlement.mediator</module>
                <module>org.wso2.carbon.identity.sts.passive</module>
                <module>org.wso2.carbon.identity.sts.passive.ui</module>
            </modules>
        </profile>
    </profiles>

</project>
