pom.template revision bfdc6c9a190b07e323c03570a0b732e30d731d01
0N/A<?xml version="1.0" encoding="UTF-8"?>
0N/A<!--
0N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0N/A
0N/A Copyright (c) 2015 ForgeRock AS. All rights reserved.
0N/A
0N/A The contents of this file are subject to the terms
0N/A of the Common Development and Distribution License
0N/A (the License). You may not use this file except in
0N/A compliance with the License.
0N/A
0N/A You can obtain a copy of the License at
0N/A http://forgerock.org/license/CDDLv1.0.html
0N/A See the License for the specific language governing
0N/A permission and limitations under the License.
0N/A
0N/A When distributing Covered Code, include this CDDL
0N/A Header Notice in each file and include the License file
0N/A at http://forgerock.org/license/CDDLv1.0.html
0N/A If applicable, add the following below the CDDL Header,
0N/A with the fields enclosed by brackets [] replaced by
0N/A your own identifying information:
0N/A "Portions Copyrighted [year] [name of copyright owner]"
0N/A-->
0N/A<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0N/A xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
0N/A <modelVersion>4.0.0</modelVersion>
0N/A <parent>
0N/A <groupId>org.forgerock.openicf.connectors</groupId>
0N/A <artifactId>connectors-parent</artifactId>
0N/A <version>1.5.0.0</version>
0N/A </parent>
0N/A <groupId>org.forgerock.openicf.connectors</groupId>
0N/A <artifactId>{{lower packageName}}-connector</artifactId>
0N/A <version>1.4.{{version}}</version>
0N/A <packaging>bundle</packaging>
0N/A <name>{{name}}</name>
0N/A <description>{{description}}</description>
0N/A <properties>
0N/A <!-- maven-compiler-plugin -->
0N/A <maven.compiler.target>1.6</maven.compiler.target>
0N/A <maven.compiler.source>1.6</maven.compiler.source>
0N/A <connectorPackage>org.forgerock.openicf</connectorPackage>
0N/A <connectorClass>{{packageName}}Connector</connectorClass>
<openicf.osgi.import.defaults>
org.codehaus.groovy*;version="[2.2,3)",
groovy.*;version="[2.2,3)",
groovyjar*;version="[2.2,3)",
groovyx.net.http*;resolution:=optional,
</openicf.osgi.import.defaults>
<openicf.osgi.embed/>
</properties>
<repositories>
<repository>
<id>forgerock-staging-repository</id>
<name>ForgeRock Release Repository</name>
<url>http://maven.forgerock.org/repo/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>forgerock-snapshots-repository</id>
<name>ForgeRock Snapshot Repository</name>
<url>http://maven.forgerock.org/repo/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.forgerock.openicf.connectors</groupId>
<artifactId>groovy-connector</artifactId>
<version>1.4.2.0</version>
</dependency>
<dependency>
<groupId>org.forgerock.openicf.framework</groupId>
<artifactId>connector-framework</artifactId>
<version>1.5.0.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.ivy</groupId>
<artifactId>ivy</artifactId>
<version>2.4.0-rc1</version>
<scope>provided</scope>
</dependency>
<!-- Scripted SQL -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
<version>7.0.53</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!-- Scripted REST -->
<dependency>
<groupId>org.codehaus.groovy.modules.http-builder</groupId>
<artifactId>http-builder</artifactId>
<version>0.7.1</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore-osgi</artifactId>
<version>4.3.2</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient-osgi</artifactId>
<version>4.3.5</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<!-- CREST -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient-osgi</artifactId>
<version>4.0.2</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-resource</artifactId>
<version>2.4.0</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.5</version>
<configuration>
<providerSelection>2.0</providerSelection>
<sourceEncoding>UTF-8</sourceEncoding>
</configuration>
<executions>
<execution>
<goals>
<goal>generateStubs</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.gmaven.runtime</groupId>
<artifactId>gmaven-runtime-2.0</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.2.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Require-Bundle>groovy-all</Require-Bundle>
<Export-Package>org.forgerock.openicf.connectors.{{lower packageName}}.*</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.forgerock.maven.plugins</groupId>
<artifactId>openicf-maven-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<goals>
<goal>reduce-pom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>