pom.xml revision 12e4614e16f3922c088a689a0c7a2288dd15657b
<?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</groupId>
<artifactId>openam-oauth2</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-openam-extension</artifactId>
<version>10.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>OpenAM OAuth2 OpenAM Extensions</name>
<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://openam.forgerock.org/doc/public-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>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Private-Package>org.forgerock.restlet.ext.openam.internal.*</Private-Package>
<Export-Package>
org.forgerock.restlet.ext.openam*;version="${project.version}"
</Export-Package>
<Import-Package>*</Import-Package>
<!--Embed-Dependency>amserver,sharedlib</Embed-Dependency>
<_failok>true</_failok-->
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-restlet-extension</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<!-- OpenAM -->
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-rest</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-session-ha-core</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet</artifactId>
</dependency>
<dependency>
<groupId>org.restlet.osgi</groupId>
<artifactId>org.restlet.ext.servlet</artifactId>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
</dependency>
</dependencies>
<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>