<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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]".
*
* Copyright 2011-2016 ForgeRock AS.
-->
<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>openam</artifactId>
<version>14.0.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Client SDK</name>
<description>OpenAM Java Client SDK</description>
<artifactId>openam-clientsdk</artifactId>
<packaging>jar</packaging>
<properties>
</properties>
<!-- Build -->
<build>
<resources>
<resource>
<includes>
<include>META-INF/**</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<!--
Anything you can find here is just a replication attempt of the ant ClientSDK build system.
In future versions of OpenAM we need to enhance this generation process by simply separating
-->
<artifactSet>
<includes>
<include>joda-time:joda-time</include>
<include>external:jdmkrt</include>
</includes>
</artifactSet>
<filters>
<filter>
<includes>
<!-- TODO do we really need all the authentication module's principals here? -->
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
</includes>
</filter>
<filter>
<includes>
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
<excludes>
</excludes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<includes>
</includes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<includes>
<include>**/*</include>
</includes>
</filter>
<filter>
<includes>
<include>**/*</include>
</includes>
</filter>
<filter>
<includes>
<include>**/**</include>
</includes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<manifestEntries>
<Specification-Title>OpenAM Java CLient SDK</Specification-Title>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM Java Client SDK</Implementation-Title>
<Implementation-Vendor>ForgeRock</Implementation-Vendor>
<!-- TODO Add License to Manifest -->
</manifestEntries>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
<relocations>
<relocation>
<pattern>org/</pattern>
<excludes>
</excludes>
</relocation>
<relocation>
<pattern>com/</pattern>
<excludes>
</excludes>
</relocation>
<relocation>
</relocation>
<relocation>
</relocation>
<relocation>
</relocation>
</relocations>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createDependencyReducedPom>true</createDependencyReducedPom>
<shadeSourcesContent>true</shadeSourcesContent>
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>openam-jaxrpc-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-dtd-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-xacml3-schema</artifactId>
</dependency>
<dependency>
<artifactId>OpenFM</artifactId>
</dependency>
<dependency>
<artifactId>openam-entitlements</artifactId>
</dependency>
<dependency>
<artifactId>openam-client-sts</artifactId>
</dependency>
<dependency>
<artifactId>opendj-core</artifactId>
</dependency>
<dependency>
<artifactId>opendj-grizzly</artifactId>
</dependency>
<dependency>
<artifactId>forgerock-guava-collect</artifactId>
</dependency>
<dependency>
<artifactId>forgerock-guava-base</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
<artifactId>chf-http-core</artifactId>
</dependency>
<dependency>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
</project>