<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* Copyright 2013-2015 ForgeRock AS.
*
* 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 legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions copyright [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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Parent Project -->
<parent>
<artifactId>jee-agents</artifactId>
<version>3.5.0</version>
</parent>
<!-- Component Definition -->
<name>OpenAM JavaEE Policy Agents AgentSDK</name>
<description>OpenAM JavaEE Policy Agents AgentSDK</description>
<artifactId>jee-agents-sdk</artifactId>
<packaging>jar</packaging>
<properties>
<version.template.file>src/main/java/org/forgerock/openam/util/Version.java.template</version.template.file>
</properties>
<!-- Build -->
<build>
<plugins>
<plugin>
<artifactId>groovy-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-replacer-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<replacements>
<replacement>
<token>@BUILD_REVISION@</token>
</replacement>
<replacement>
<token>@BUILD_DATE@</token>
</replacement>
<replacement>
<token>@BUILD_VERSION@</token>
</replacement>
<replacement>
<token>@BUILD_MACHINE@</token>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<index>true</index>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
<manifestEntries>
<Specification-Title>OpenAM JavaEE Policy Agents AgentSDK</Specification-Title>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM JavaEE Policy Agents AgentSDK</Implementation-Title>
</Implementation-Version>
<Implementation-Vendor>ForgeRock</Implementation-Vendor>
<!-- TODO Add License to Manifest -->
<License/>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>javaee</groupId>
<artifactId>javaee-api</artifactId>
</dependency>
<dependency>
<groupId>external</groupId>
<artifactId>esapiport</artifactId>
</dependency>
<!-- OpenAM project dependencies -->
<dependency>
<artifactId>openam-clientsdk</artifactId>
</dependency>
<dependency>
<artifactId>openam-installtools</artifactId>
</dependency>
</dependencies>
</project>