pom.xml revision c02c457821d63ab3b46d23ac9abc23d345105c87
<?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 Copyrighted [year] [name of copyright owner]".
*
* Copyright 2015-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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-soap-sts</artifactId>
<version>14.0.0-SNAPSHOT</version>
</parent>
<name>OpenAM SOAP STS Client</name>
<description>OpenAM WS-Trust SecureTokenService Client</description>
<artifactId>openam-soap-sts-client</artifactId>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<!--
Note that instead of explicitly specifying artifactSet and filter elements in the configuration
element below, I could just specify <minimizeJar>true</minimizeJar>, which would include all of
the dependencies (e.g. cxf, wss4j) referenced by the classes in this package. This would
allow users not to explicitly specify additional dependencies, but would bundle all of these
additional dependencies in the single .jar file. I am opting not to do this, but it may
be an option to consider going forward.
-->
<configuration>
<artifactSet>
<includes>
<include>org.forgerock.openam:openam-soap-sts-server</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.forgerock.openam:openam-soap-sts-server</artifact>
<includes>
<include>org/forgerock/openam/sts/soap/policy/am/OpenAMSessionAssertion*</include>
<include>org/forgerock/openam/sts/soap/policy/am/AbstractOpenAMSessionTokenInterceptor*</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-soap-sts-server</artifactId>
<version>${project.version}</version>
<classifier>classes</classifier>
</dependency>
</dependencies>
</project>