<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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>net.shibboleth.oidc</groupId>
		<artifactId>oidc-common-parent</artifactId>
		<version>0.0.2</version>
	</parent>

	<artifactId>oidc-common-attribute-impl</artifactId>
	<packaging>jar</packaging>
	<name>Shibboleth IdP :: Plugins :: OIDC Common :: Attribute Implementation</name>
	<description>Implementation for common OIDC attribute functions/features.</description>

	<properties>
		<checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
		<automatic.module.name>net.shibboleth.oidc.attribute.impl</automatic.module.name>
	</properties>

	<dependencies>
		<dependency>
			<groupId>net.shibboleth.oidc</groupId>
			<artifactId>oidc-common-attribute-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>net.shibboleth.idp</groupId>
			<artifactId>idp-attribute-api</artifactId>
			<scope>provided</scope>
		</dependency>
        <dependency>
            <groupId>net.shibboleth.ext</groupId>
            <artifactId>spring-extensions</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>net.shibboleth.idp</groupId>
            <artifactId>idp-attribute-resolver-spring</artifactId>
            <scope>provided</scope>
        </dependency>

		<!-- Test Dependencies -->
		<dependency>
			<groupId>net.shibboleth.idp</groupId>
			<artifactId>idp-profile-api</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.shibboleth.idp</groupId>
			<artifactId>idp-core</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.shibboleth.idp</groupId>
			<artifactId>idp-attribute-resolver-spring</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
        <dependency>
            <groupId>org.opensaml</groupId>
            <artifactId>opensaml-core</artifactId>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
		<dependency>
			<groupId>net.shibboleth.ext</groupId>
			<artifactId>spring-extensions</artifactId>
			<type>test-jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>${spring.groupId}</groupId>
			<artifactId>spring-test</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>copy-dependencies-test</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<configuration>
							<outputDirectory>${project.target.directory}</outputDirectory>
							<includeScope>runtime</includeScope>
							<excludeTransitive>true</excludeTransitive>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>
