<?xml version="1.0"?>
<!--
  ~ Copyright (c) 2010-2013 Evolveum
  ~
  ~ 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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<name>midPoint Provisioning - impl</name>
	<groupId>com.evolveum.midpoint.provisioning</groupId>
	<artifactId>provisioning-impl</artifactId>
	<packaging>jar</packaging>
	<parent>
		<artifactId>provisioning</artifactId>
		<groupId>com.evolveum.midpoint</groupId>
		<version>3.2</version>
	</parent>
    <scm>
        <connection>https://github.com/Evolveum/midpoint.git</connection>
        <developerConnection>git@github.com:Evolveum/midpoint.git</developerConnection>
        <url>https://fisheye.evolveum.com/browse/midPoint</url>
    </scm>
	<dependencies>
		<dependency>
			<groupId>com.evolveum.midpoint.infra</groupId>
			<artifactId>test-util</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.provisioning</groupId>
			<artifactId>provisioning-api</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>repo-api</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>repo-cache</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>system-init</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>task-api</artifactId>
			<version>3.2</version>
		</dependency>
		<dependency>
			<groupId>commons-pool</groupId>
			<artifactId>commons-pool</artifactId>
		</dependency>

		<dependency>
			<groupId>net.tirasa.connid</groupId>
			<artifactId>connector-framework</artifactId>
		</dependency>
		<dependency>
			<groupId>net.tirasa.connid</groupId>
			<artifactId>connector-framework-internal</artifactId>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jul-to-slf4j</artifactId>
		</dependency>
		<dependency>
			<groupId>com.sun.xsom</groupId>
			<artifactId>xsom</artifactId>
		</dependency>

		<!-- Testing dependecies -->
        <dependency>
            <groupId>com.evolveum.midpoint.repo</groupId>
            <artifactId>audit-impl</artifactId>
            <version>3.2</version>
            <scope>test</scope>
        </dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>repo-sql-impl</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>task-quartz-impl</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>security-impl</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.tools</groupId>
			<artifactId>test-ng</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>repo-test-util</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.forgerock.opendj</groupId>
			<artifactId>opendj</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
            <groupId>com.evolveum.polygon</groupId>
            <artifactId>connector-ldap</artifactId>
			<scope>test</scope>
			<exclusions>
				<!-- Needed otherwise the JDK14 SLF4J binding can override the midpoint's logback binding -->
		      <exclusion> 
		        <groupId>org.slf4j</groupId>
  				<artifactId>slf4j-jdk14</artifactId>
		      </exclusion>
		    </exclusions> 
		</dependency>
		<dependency>
        	<groupId>com.evolveum.polygon</groupId>
            <artifactId>connector-databasetable</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
            <groupId>com.evolveum.polygon</groupId>
            <artifactId>connector-csvfile</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>log4j-over-slf4j</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.icf</groupId>
			<artifactId>dummy-connector</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.icf</groupId>
			<artifactId>dummy-resource</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.persistence</groupId>
			<artifactId>persistence-api</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.evolveum.midpoint.repo</groupId>
			<artifactId>system-init</artifactId>
			<version>3.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.derby</groupId>
			<artifactId>derbyclient</artifactId>
			<version>10.8.1.2</version>
			<type>jar</type>
		</dependency>
	</dependencies>
	<profiles>
		<profile>
			<id>aspectj</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>aspectj-maven-plugin</artifactId>
                        <version>1.6</version>
						<configuration>
							<aspectLibraries>
								<aspectLibrary>
									<groupId>com.evolveum.midpoint.infra</groupId>
									<artifactId>util</artifactId>
								</aspectLibrary>
							</aspectLibraries>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>
