pom.xml revision 237b2a073637e0888ee11f7fb061325f0dca9806
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder<?xml version="1.0" encoding="UTF-8"?>
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens Elkner<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
cb1afff56e051605acc301f23246126a9dc4a3a6Christian Maeder xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <modelVersion>4.0.0</modelVersion>
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu <parent>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <artifactId>openidm-project</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openidm</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>2.0.0-SNAPSHOT</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </parent>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <groupId>org.forgerock.openidm</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>openidm-provisioner-openicf</artifactId>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <packaging>bundle</packaging>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <name>OpenIDM provisioner using OpenICF</name>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <dependencies>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openidm</groupId>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <artifactId>openidm-enhanced-config</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>${openidm.version}</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openidm</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>openidm-core</artifactId>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <version>${openidm.version}</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea <groupId>org.forgerock.openidm</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>openidm-config</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>${openidm.version}</version>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openidm</groupId>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <artifactId>openidm-provisioner</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>${openidm.version}</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openicf.framework</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>connector-framework</artifactId>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <version>1.1.0.0-EA</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <groupId>org.forgerock.openicf.framework</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>connector-framework-internal</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>1.1.0.0-EA</version>
6a73412ec0da0b155b3fdce757d5699c34c37cc9Codruta Girlea <exclusions>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <exclusion>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openicf.framework</groupId>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea <artifactId>connector-test-common</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </exclusion>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </exclusions>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.openicf.framework</groupId>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea <artifactId>connector-framework-osgi</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <version>1.1.0.0-EA</version>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <optional>true</optional>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <groupId>org.forgerock.commons</groupId>
f5efb18d22fd7691109bd62426531dd8fe18064eCodruta Girlea <artifactId>json-schema</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <dependency>
6679bc09e14a9495e9096fd26ada812b2f92ee63Codruta Girlea <groupId>org.forgerock.commons</groupId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder <artifactId>json-fluent</artifactId>
f588d2cfbdd1e6d4855df164fce25cf7db1a8e2dChristian Maeder </dependency>
814905815d4957db557b6132d188f45222e8b873Christian Maeder
814905815d4957db557b6132d188f45222e8b873Christian Maeder <dependency>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <groupId>org.osgi</groupId>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <artifactId>org.osgi.core</artifactId>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <scope>provided</scope>
814905815d4957db557b6132d188f45222e8b873Christian Maeder </dependency>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <dependency>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <groupId>org.apache.felix</groupId>
814905815d4957db557b6132d188f45222e8b873Christian Maeder <artifactId>org.apache.felix.scr.annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</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-EA</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>
<Import-Package>!org.testng.annotations,!com_cenqua_clover,*</Import-Package>
<Private-Package>org.forgerock.openidm.provisioner.openicf.impl.*</Private-Package>
<Export-Package>!org.forgerock.openidm.provisioner.openicf.impl.*,
org.forgerock.openidm.provisioner.openicf;version=${openidm.version},
org.forgerock.openidm.provisioner.openicf.commons;version=${openidm.version},
org.forgerock.openidm.provisioner.openicf.query;version=${openidm.version},
org.forgerock.openidm.provisioner.openicf.query.operators;version=${openidm.version}
</Export-Package>
</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>openicf-xml-connector</artifactId>
<version>1.1.0.0-EA</version>
<type>bundle</type>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.connectors.ldap</groupId>
<artifactId>openicf-ldap-connector</artifactId>
<version>1.1.0.0-EA</version>
<type>bundle</type>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.connectors.os</groupId>
<artifactId>openicf-solaris-connector</artifactId>
<version>1.1.0.0-EA</version>
<type>bundle</type>
</artifactItem>
<!--artifactItem>
<groupId>org.forgerock.openicf.connectors.os</groupId>
<artifactId>openicf-vms-connector</artifactId>
<version>1.1.0.0-EA</version>
<type>bundle</type>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.connectors.db</groupId>
<artifactId>openicf-databasetable-connector</artifactId>
<version>1.1.0.0-EA</version>
<type>bundle</type>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.connectors.db</groupId>
<artifactId>openicf-mysqluser-connector</artifactId>
<version>1.1.0.0-EA</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-EA</version>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework-internal</artifactId>
<version>1.1.0.0-EA</version>
</artifactItem>
<artifactItem>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.8.3</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.testOutputDirectory}/connectorServer/lib</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<!-- Remote Connector Server Test -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</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>