<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>identity-provider-feature</artifactId>
		<version>3.0.0</version>
	</parent>

	<modelVersion>4.0.0</modelVersion>
	<artifactId>org.wso2.carbon.identity.provider.server.feature</artifactId>
	<packaging>pom</packaging>
	<name>WSO2 Carbon - Identity Provider Server Feature</name>
	<url>http://wso2.org</url>
	<description>This feature contains the core bundles required for
		Back-end Identity Provider functionality</description>
		
	<dependencies>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.identity.provider</artifactId>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.identity.sts</artifactId>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.identity.sts.mgt</artifactId>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.service.mgt</artifactId>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.reporting.common</artifactId>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.sts</artifactId>
		</dependency>
		<dependency>
			<groupId>org.openid4java.wso2</groupId>
			<artifactId>openid4java-nodeps</artifactId>
		</dependency>
		<dependency>
			<groupId>org.igniterealtime.smack.wso2</groupId>
			<artifactId>smack</artifactId>
		</dependency>
		<!--dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.core.server</artifactId>
			<type>zip</type>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.identity.core.server</artifactId>
			<type>zip</type>
		</dependency -->
	</dependencies>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.wso2.maven</groupId>
				<artifactId>carbon-p2-plugin</artifactId>
				<version>1.1</version>
				<executions>
					<execution>
						<id>4-p2-feature-generation</id>
						<phase>package</phase>
						<goals>
							<goal>p2-feature-gen</goal>
						</goals>
						<configuration>
							<id>org.wso2.carbon.identity.provider.server</id>
							<propertiesFile>../../../../etc/feature.properties</propertiesFile>
                            <adviceFile>
                                <properties>
                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
                                </properties>
                            </adviceFile>
							<bundles>
								<bundleDef>org.wso2.carbon:org.wso2.carbon.identity.provider</bundleDef>
								<bundleDef>org.wso2.carbon:org.wso2.carbon.identity.sts</bundleDef>
								<bundleDef>org.wso2.carbon:org.wso2.carbon.identity.sts.mgt</bundleDef>
								<bundleDef>org.wso2.carbon:org.wso2.carbon.service.mgt</bundleDef>
								<bundleDef>org.wso2.carbon:org.wso2.carbon.sts</bundleDef>
								<bundleDef>org.openid4java.wso2:openid4java-nodeps</bundleDef>
								<bundleDef>org.igniterealtime.smack.wso2:smack</bundleDef>
                                <bundleDef>org.wso2.carbon:org.wso2.carbon.reporting.common</bundleDef>                   
							</bundles>
							<importFeatures>
								<importFeatureDef>org.wso2.carbon.identity.core.server:${identity.core.feature.version}</importFeatureDef>
							</importFeatures>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
