<?xml version="1.0" encoding="utf-8"?>
<!--
 ~ Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ 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/maven-v4_0_0.xsd">

    <parent>
        <groupId>org.wso2.carbon</groupId>
        <artifactId>carbon-features</artifactId>
        <version>3.1.0</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>dashboard-feature</artifactId>
    <version>3.1.1</version>
    <packaging>pom</packaging>
    <name>WSO2 Carbon - Dashboard Feature Module</name>
    <url>http://wso2.org</url>

    <profiles>
	<profile>
	    <id>default</id>
	    <activation>
	        <activeByDefault>true</activeByDefault>
	    </activation>
	    <modules>
		<module>org.wso2.carbon.dashboard.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.ui.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.ui.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.users.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.users.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.users.ui.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.gadgetrepopopulator.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.dashboardpopulator.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.gadgetframework.ui.feature/3.1.0</module>
		<module>org.wso2.carbon.dashboard.mgt.theme.ui.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.theme.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.theme.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.themepopulator.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.social.ui.feature/3.1.0</module>
		<module>org.wso2.carbon.dashboard.social.server.feature/3.1.0</module>
		<module>org.wso2.carbon.dashboard.social.feature/3.1.0</module>
		<module>org.wso2.carbon.dashboard.mgt.oauth.server.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.oauth.ui.feature/3.1.1</module>
		<module>org.wso2.carbon.dashboard.mgt.oauth.feature/3.1.1</module>
    	</modules>
        </profile>
	<profile>
	    <id>dashboard-3.1.0</id>
	    <activation>
	        <property>
	            <name>dashboard</name>
	            <value>3.1.0</value>
	        </property>
	    	    </activation>	
		    <modules>
			<module>org.wso2.carbon.dashboard.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.users.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.users.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.users.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.gadgetrepopopulator.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.dashboardpopulator.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.gadgetframework.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.theme.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.theme.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.theme.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.themepopulator.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.social.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.social.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.social.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.oauth.server.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.oauth.ui.feature/3.1.0</module>
			<module>org.wso2.carbon.dashboard.mgt.oauth.feature/3.1.0</module>
		    </modules>
	    </profile>
    </profiles>


    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.oauth</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.oauth.ui</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.theme.common</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.themepopulator</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.theme.ui</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.theme</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.common</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard</artifactId>
                <version>3.1.1</version>
            </dependency>
            
            <dependency>
            	<groupId>org.json.wso2</groupId>
            	<artifactId>json</artifactId>
            	<version>1.0.0.wso2v1</version>
        		</dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.ui</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.apache.shindig.wso2</groupId>
                <artifactId>shindig</artifactId>
                <version>1.1.0.wso2v3</version>
            </dependency>

            <dependency>
                <groupId>joda-time.wso2</groupId>
                <artifactId>joda-time</artifactId>
                <version>1.6.0.wso2v1</version>
            </dependency>

            <dependency>
                <groupId>jdom.wso2</groupId>
                <artifactId>jdom</artifactId>
                <version>1.0.0.wso2v1</version>
            </dependency>

            <dependency>
                <groupId>com.google.common.wso2</groupId>
                <artifactId>google-collect</artifactId>
                <version>1.0.0.wso2v2</version>
            </dependency>

            <dependency>
                <groupId>rhino.wso2</groupId>
                <artifactId>js</artifactId>
                <version>1.7.0.R1-wso2v2</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.gadgetrepo.common</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.gadgetrepo</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.gadgetrepo.ui</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.users.common</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.users</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.mgt.users.ui</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.gadgetrepopopulator</artifactId>
                <version>3.1.1</version>
            </dependency>

            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.dashboardpopulator</artifactId>
                <version>3.1.1</version>
            </dependency>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.dashboard.gadgetframework.ui</artifactId>
                <version>3.1.1</version>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <properties>
        <wso2carbon.version.dashboard>3.1.1</wso2carbon.version.dashboard>
        <shindig.version>1.1.0.wso2v3</shindig.version>
        <joda-time.version>1.6.0.wso2v1</joda-time.version>
        <jdom.version>1.0.0.wso2v1</jdom.version>
        <rhino.version>1.7.0.R1-wso2v2</rhino.version>
        <google.collect.osgi.version>1.0.0.wso2v2</google.collect.osgi.version>
	<p2.plugin.version>${carbon.p2.plugin.version}</p2.plugin.version>
    </properties>

</project>

