pom.xml revision f572d33ed141953335fe796ca36d818146af68ef
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>openidm-project</artifactId>
<groupId>org.forgerock.openidm</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-provisioner-openicf</artifactId>
<packaging>bundle</packaging>
<name>OpenIDM provisioner using OpenICF</name>
<dependencies>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-provisioner</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework-internal</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-test-common</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-schema</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-fluent</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>compile</scope>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-test-common</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<bundles.configuration.location>${project.build.testOutputDirectory}/connectorServer/</bundles.configuration.location>
<openicfServerPort>${openicf.port}</openicfServerPort>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<goals>
<goal>scr</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<!--Embed-Dependency>orientdb*;orient*;persistence-api;scope=compile</Embed-Dependency>
<<Export-Package>org.forgerock.openidm.provisioner.openicf</Export-Package>-->
<Import-Package>!org.testng.annotations,!com_cenqua_clover,*</Import-Package>
<Private-Package>org.forgerock.openidm.provisioner.openicf.impl.*</Private-Package>
<!--Bundle-Activator>org.forgerock.openidm.provisioner.openicf.impl.Activator</Bundle-Activator-->
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- Copy bundle JARs -->
<execution>
<id>copy-connectorbundles</id>
<phase>generate-test-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.openicf.connectors.file</groupId>
<artifactId>xml</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
<type>bundle</type>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.testOutputDirectory}/connectorServer/connectors
</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
<execution>
<id>copy-connectorServer</id>
<phase>generate-test-sources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework-internal</artifactId>
<version>1.1.0.0-SNAPSHOT</version>
</artifactItem>
<artifactItem>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.7.10</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.testOutputDirectory}/connectorServer/lib</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<!-- Remote Connector Sertver Test -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>reserve-network-port</id>
<goals>
<goal>reserve-network-port</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<portNames>
<portName>openicf.port</portName>
</portNames>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>