pom.xml revision e25d61070d8aad83f29bea8cbe98d547442f4566
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2011-2013 ForgeRock AS. All Rights Reserved
~
~ The contents of this file are subject to the terms
~ of the Common Development and Distribution License
~ (the License). You may not use this file except in
~ compliance with the License.
~
~ You can obtain a copy of the License at
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ If applicable, add the following below the CDDL Header,
~ with the fields enclosed by brackets [] replaced by
~ your own identifying information:
~ "Portions Copyrighted [year] [name of copyright owner]"
-->
<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>
<artifactId>openidm-project</artifactId>
<version>3.1.0-SNAPSHOT</version>
</parent>
<artifactId>openidm-provisioner-openicf</artifactId>
<packaging>bundle</packaging>
<name>OpenIDM Provisioner System Bundle - OpenICF</name>
<description>This bundle integrates OpenICF under /system</description>
<properties>
<openidm.osgi.import.before.defaults>!org.testng.annotations,!com_cenqua_clover</openidm.osgi.import.before.defaults>
<openicf.framework.version>1.4.0.0-RC2</openicf.framework.version>
</properties>
<dependencies>
<dependency>
<artifactId>openidm-enhanced-config</artifactId>
</dependency>
<dependency>
<artifactId>openidm-provisioner</artifactId>
</dependency>
<dependency>
<artifactId>openidm-smartevent</artifactId>
</dependency>
<dependency>
<artifactId>script-common</artifactId>
</dependency>
<dependency>
<artifactId>json-schema</artifactId>
</dependency>
<dependency>
<artifactId>connector-framework-osgi</artifactId>
<exclusions>
<exclusion>
<artifactId>connector-test-common</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<artifactId>connector-framework</artifactId>
</dependency>
<!-- Provided OSGi Dependencies -->
<dependency>
<scope>provided</scope>
</dependency>
<!-- TODO Remove org.apache.felix.framework when Compendium 4.3 is used -->
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<!-- Provided Dependencies -->
<dependency>
<scope>provided</scope>
</dependency>
<!-- Test Dependencies -->
<dependency>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>fest-assert-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>connector-test-common</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>groovy-all</artifactId>
<version>2.2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>groovy-connector</artifactId>
<version>1.4.0.0-RC2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>i18n-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-messages</goal>
</goals>
<configuration>
<messageFiles>
</messageFiles>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<bundles.configuration.location>${project.build.testOutputDirectory}/connectorServer/</bundles.configuration.location>
<openidm.system.server.root>${project.build.testOutputDirectory}/connectorServer/</openidm.system.server.root>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-scr-plugin</artifactId>
<executions>
<execution>
<id>generate-scr-scrdescriptor</id>
<goals>
<goal>scr</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</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>
<artifactId>xml-connector</artifactId>
<version>1.1.0.1</version>
</artifactItem>
<artifactItem>
<artifactId>csvfile-connector</artifactId>
<version>1.1.0.1</version>
</artifactItem>
<artifactItem>
<artifactId>groovy-connector</artifactId>
<version>1.4.0.0-RC2</version>
</artifactItem>
</artifactItems>
<outputDirectory>
${project.build.testOutputDirectory}/connectors
</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
<!-- Unpack sample scripts -->
<execution>
<id>unpack-connector-samples</id>
<phase>generate-test-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>groovy-connector</artifactId>
<version>1.4.0.0-RC2</version>
<classifier>samples</classifier>
<type>zip</type>
</artifactItem>
</artifactItems>
<outputDirectory>
${project.build.testOutputDirectory}/samples
</outputDirectory>
<outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename>
</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>${openicf.framework.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework-internal</artifactId>
<version>${openicf.framework.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.1.6</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.testOutputDirectory}/connectorServer/lib</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution-->
</executions>
</plugin>
<!-- Remote Connector Server Test -->
<plugin>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>reserve-network-port</id>
<goals>
<goal>reserve-network-port</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<portNames>
</portNames>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>