<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you 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-products</artifactId>
        <version>3.2.0</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.wso2.identity</groupId>
    <artifactId>identity-server-parent</artifactId>
    <packaging>pom</packaging>
    <description>WSO2 Identity Server</description>
    <version>3.2.2</version>
    <name>WSO2 Identity Server</name>
    <url>http://wso2.org/projects/identity</url>

    <modules>
        <module>modules/features</module>
        <!--module>modules/p2-profile-gen</module>
        <module>modules/distribution</module-->
        <module>modules/styles</module>
        <module>modules/login</module>
        <module>modules/dashboard</module>
        <module>modules/stratos-sso-mgt</module>
        <!--module>modules/integration</module-->
    </modules>

    <licenses>
        <license>
            <name>Apache License Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
        </license>
    </licenses>

    <organization>
        <name>WSO2</name>
        <url>http://www.wso2.org</url>
    </organization>

    <issueManagement>
        <system>JIRA</system>
        <url>http://www.wso2.org/jira/browse/IDENTITY</url>
    </issueManagement>
    <mailingLists>
        <mailingList>
            <name>Identity Server Developers</name>
            <subscribe>identity-dev-subscribe@wso2.org</subscribe>
            <unsubscribe>identity-dev-unsubscribe@wso2.org</unsubscribe>
            <post>identity-dev@wso2.org</post>
            <archive>http://wso2.org/mailarchive/identity-dev/</archive>
        </mailingList>
    </mailingLists>

    <inceptionYear>2007</inceptionYear>

    <developers>
        <developer>
            <name>Ruchith Fernando</name>
            <id>ruchith</id>
            <email>ruchith AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Dimuthu Leelaratne</name>
            <id>dimuthul</id>
            <email>dimuthul AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Dumindu Perera</name>
            <id>dumindu</id>
            <email>dumindu AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Saminda Abeyruwan</name>
            <id>saminda</id>
            <email>saminda AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Nandana Mihindukulasooriya</name>
            <id>nandana</id>
            <email>nandana AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Prabath Siriwardena</name>
            <id>prabath</id>
            <email>prabath AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Thilina Buddhika</name>
            <id>thilinab</id>
            <email>thilinab AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Amila Jayasekara</name>
            <id>amilaj</id>
            <email>amilaj AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Asela Pathberiya</name>
            <id>asela</id>
            <email>asela AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
        <developer>
            <name>Hasini Gunasinghe</name>
            <id>hasini</id>
            <email>hasini AT wso2.com</email>
            <organization>WSO2</organization>
        </developer>
    </developers>

    <scm>
        <connection>scm:svn:https://wso2.org/repos/wso2/trunk/solutions/identity</connection>
        <developerConnection>
            scm:svn:https://wso2.org/repos/wso2/trunk/solutions/identity
        </developerConnection>
        <url>https://wso2.org/repos/wso2/trunk/solutions/identity</url>
    </scm>


    <repositories>
        <repository>
            <id>wso2-nexus</id>
            <name>WSO2 internal Repository</name>
            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
                <checksumPolicy>fail</checksumPolicy>
            </releases>
        </repository>
    </repositories>


    <pluginRepositories>
        <pluginRepository>
            <id>snapshot-apache</id>
            <name>Apache Snapshot repository</name>
            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </pluginRepository>

        <pluginRepository>
            <id>snapshot</id>
            <name>Snapshot repository</name>
            <url>http://snapshots.maven.codehaus.org/maven2</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </pluginRepository>

        <pluginRepository>
            <id>wso2-maven2-repository</id>
            <url>http://dist.wso2.org/maven2</url>
        </pluginRepository>

        <pluginRepository>
            <id>tlc</id>
            <name>TLC Repository</name>
            <url>http://commons.ucalgary.ca/pub/m2</url>
        </pluginRepository>

    </pluginRepositories>

    <build>
        <plugins>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.2</version>
            </plugin>
            <plugin>
                <inherited>false</inherited>
                <artifactId>maven-clean-plugin</artifactId>
                <version>2.1</version>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.wso2.carbon</groupId>
                <artifactId>org.wso2.carbon.ui</artifactId>
                <version>${wso2carbon.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.apache.felix.framework</artifactId>
                <version>1.0.3</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.apache.felix.main</artifactId>
                <version>1.0.3</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.compendium</artifactId>
                <version>1.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.equinox</groupId>
                <artifactId>org.eclipse.equinox.http.servlet</artifactId>
                <version>2.2.2</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.equinox</groupId>
                <artifactId>org.eclipse.equinox.http.helper</artifactId>
                <version>1.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.equinox</groupId>
                <artifactId>org.eclipse.equinox.jsp.jasper</artifactId>
                <version>1.0.1.R33x_v20070816</version>
            </dependency>
            <dependency>
                <groupId>org.eclipse.equinox</groupId>
                <artifactId>javax.servlet.jsp</artifactId>
                <version>2.0.0.v200706191603</version>
            </dependency>

	    <!-- For identity util -->
		<dependency>
				<groupId>org.apache.derby.wso2</groupId>
				<artifactId>derby</artifactId>
				<version>${apache.derby.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>org.hibernate.wso2</groupId>
				<artifactId>hibernate</artifactId>
				<version>${hibernate.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.bcel.wso2</groupId>
				<artifactId>bcel</artifactId>
				<version>${bcel.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>asm.wso2</groupId>
				<artifactId>asm</artifactId>
				<version>${asm.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>cglib.wso2</groupId>
				<artifactId>cglib</artifactId>
				<version>${cglib.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>org.apache.axis2.wso2</groupId>
				<artifactId>axis2-jibx</artifactId>
				<version>${axis2.jibx.wso2.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jibx.wso2</groupId>
				<artifactId>jibx</artifactId>
				<version>${jibx.wso2.version}</version>
			</dependency>
			<dependency>
                <groupId>org.apache.axis2.wso2</groupId>
                <artifactId>axis2-jaxbri</artifactId>
                <version>${axis2.jaxb.wso2.version}</version>
            </dependency>
            <dependency>
                <groupId>com.sun.xml.bind.wso2</groupId>
                <artifactId>jaxb</artifactId>
                <version>${jaxb.wso2.version}</version>
            </dependency>


	<!-- Dependancies for sso -->
	<dependency>
		<groupId>org.wso2.carbon</groupId>
		<artifactId>org.wso2.carbon.core</artifactId>
		<version>${carbon.version}</version>
	</dependency>
	<dependency>
		<groupId>org.apache.axis2.wso2</groupId>
		<artifactId>axis2</artifactId>
		<version>${axis2.wso2.version}</version>
	</dependency>
	<dependency>
		<groupId>org.apache.ws.commons.axiom.wso2</groupId>
		<artifactId>axiom</artifactId>
		<version>${axiom.wso2.version}</version>
	</dependency>
	<dependency>
		<groupId>org.wso2.carbon</groupId>
		<artifactId>org.wso2.carbon.identity.core</artifactId>
		<version>${carbon.version}</version>
	</dependency>
	<dependency>
		<groupId>org.wso2.carbon</groupId>
		<artifactId>org.wso2.carbon.identity.sso.saml</artifactId>
		<version>${carbon.platform.patch.version.322}</version>
	</dependency>
	<dependency>
		<groupId>org.wso2.carbon</groupId>
		<artifactId>org.wso2.carbon.identity.sso.saml.ui</artifactId>
		<version>${carbon.platform.patch.version.322}</version>
	</dependency>
        </dependencies>
    </dependencyManagement>

    <profiles>
        <profile>
            <id>jdk14</id>
            <activation>
                <activeByDefault>true</activeByDefault>
                <jdk>1.4</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcprov-jdk13</artifactId>
                    <version>${bcprov.jdk13.version}</version>
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>jdk15</id>
            <activation>
                <jdk>1.5</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcprov-jdk15</artifactId>
                    <version>${bcprov.jdk15.version}</version>
                </dependency>
            </dependencies>
        </profile>

        <profile>
            <id>Sign-Artifacts</id>
            <activation>
                <property>
                    <name>sign</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.0-alpha-3</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

    </profiles>


    <distributionManagement>
        <repository>
            <id>wso2-maven2-repository</id>
            <name>WSO2 Maven2 Repository</name>
            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
        </repository>
        <snapshotRepository>
            <id>wso2-maven2-snapshot-repository</id>
            <name>WSO2 Maven2 Repository</name>
            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
        </snapshotRepository>
    </distributionManagement>

    <properties>
        <stratos.identity.version>${stratos.patch.version.152}</stratos.identity.version>
        <identity.version>3.2.2</identity.version>
        <bcprov.jdk13.version>132</bcprov.jdk13.version>
        <bcprov.jdk15.version>132</bcprov.jdk15.version>
        <axis2.wso2.version>${orbit.version.axis2}</axis2.wso2.version>
        <axiom.wso2.version>${orbit.version.axiom}</axiom.wso2.version>
        <carbon.version>${wso2carbon.version}</carbon.version>
        <carbon.platform.patch.version.321>3.2.1</carbon.platform.patch.version.321>
        <carbon.platform.patch.version.322>3.2.2</carbon.platform.patch.version.322>
        <stratos.patch.version.151>1.5.1</stratos.patch.version.151>
        <stratos.patch.version.152>1.5.2</stratos.patch.version.152>
    </properties>

</project>
