pom.xml revision 79943d71bcf8d4933e74f29a1b0e87f8898508cb
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2012 ForgeRock Inc. 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
~ http://forgerock.org/license/CDDLv1.0.html
~ 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
~ at http://forgerock.org/license/CDDLv1.0.html
~ 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>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-restlet-extension</artifactId>
<packaging>jar</packaging>
<name>OpenAM OAuth2 Restlet Extensions</name>
<properties>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.source>1.6</maven.compiler.source>
</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>
<repository>
<id>maven-restlet</id>
<name>Public online Restlet repository</name>
<url>http://maven.restlet.org</url>
</repository>
</repositories>
<dependencies>
<!-- mvn versions:display-plugin-updates
mvn versions:display-dependency-updates
mvn versions:use-latest-versions
-->
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-common</artifactId>
</dependency>
<!-- Restlet -->
<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet</artifactId>
</dependency>
<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet.ext.jackson</artifactId>
</dependency>
<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet.ext.freemarker</artifactId>
<version>${restlet.version}</version>
<exclusions>
<exclusion>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</exclusion>
</exclusions>
<!--scope>provided</scope-->
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.19</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>http://docs.oracle.com/javase/6/docs/api</link>
<link>http://www.restlet.org/documentation/2.1/jse/api</link>
<link>http://www.restlet.org/documentation/2.1/jse/ext</link>
<link>http://www.restlet.org/documentation/2.1/jse/engine</link>
</links>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Private-Package>org.forgerock.restlet.ext.oauth2.internalll.*</Private-Package>
<Export-Package>
org.forgerock.restlet.ext.oauth2*;version="${project.version}",
freemarker.template;version=2.3.19,
freemarker.cache;version=2.3.19
</Export-Package>
<Import-Package>
!com.sun*,!javax.servlet*,!org.apache*,!org.dom4j*,
!org.jaxen*,!org.jdom*,!org.python*,!javax.el,
!org.w3c.dom.traversal,!org.zeroturnaround.*,*
</Import-Package>
<Embed-Dependency>freemarker</Embed-Dependency>
<_failok>true</_failok>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jrebel</id>
<build>
<plugins>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Include-Resource>{maven-resources},target/classes/rebel.xml</Include-Resource>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>