pom.xml revision ec6f3779c641cb13f915072f87a5d11a6b74ba0c
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright © 2012 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
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-core-token-service</artifactId>
<version>10.1.0-SNAPSHOT</version>
<name>OpenAM OAuth2 Core Token Service</name>
<properties>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.source>1.6</maven.compiler.source>
<jackson.version>1.9.3</jackson.version>
<openam.version>10.0.0</openam.version>
<!-- Commons JSON versions -->
<commons.json-fluent.version>1.1.0</commons.json-fluent.version>
<commons.json-resource.version>1.2.2</commons.json-resource.version>
<commons.json-patch.version>1.0.0</commons.json-patch.version>
</properties>
<repositories>
<repository>
<id>forgerock-openam-repository</id>
<name>ForgeRock Release Repository</name>
<url>http://repo.forgerock.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<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>
<!-- OpenAM -->
<dependency>
<groupId>com.forgerock.openam</groupId>
<artifactId>amserver</artifactId>
<version>${openam.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.forgerock.openam</groupId>
<artifactId>sharedlib</artifactId>
<version>${openam.version}</version>
<scope>provided</scope>
</dependency>
<!-- Restlet -->
<!-- TODO reevaluate OAuth2 constants, break out into non-restlet package -->
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-restlet-extension</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<!-- Commons -->
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>org.forgerock.json.resource</artifactId>
<version>${commons.json-resource.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.commons</groupId>
<artifactId>json-patch</artifactId>
<version>${commons.json-patch.version}</version>
</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.4</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://openam.forgerock.org/doc/public-api</link>
</links>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<!--plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
<!- -plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>
org.forgerock.openam.ext.cts*;version="${project.version}"
</Export-Package>
</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>