pom.xml revision 2d8eba3efb0ced5c2ab004e5b3e949094747aeb3
<?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-distribution</artifactId>
<version>14.0.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Distribution ssoAdminTools</name>
<description>OpenAM Distribution SSO Admin Tools Kit.
</description>
<artifactId>openam-distribution-ssoadmintools</artifactId>
<packaging>pom</packaging>
<properties>
<setupArtifactIDs>
opendj-server,forgerock-util,json,xmlsec,openam-core,
openam-entitlements,openam-shared,openam-dtd-schema,openam-license-manager-cli,openam-license-core,
openam-audit-context,forgerock-guice-core,forgerock-guava-base,forgerock-guava-collect,
guice,guice-assistedinject,commons-lang,commons-collections,org.apache.servicemix.bundles.javax-inject,
slf4j-api,slf4j-nop,opendj-core,opendj-grizzly,i18n-core,openam-ldap-utils,grizzly-framework,
forgerock-audit-core,openam-audit-configuration,i18n-slf4j,
opendj-server-legacy,opendj-config,opendj-cli,chf-http-core,joda-time,
jackson-core,jackson-databind,jackson-annotations
</setupArtifactIDs>
</properties>
<!-- Build -->
<build>
<plugins>
<!-- Get the relevant license from Artifactory -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>Copy license</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<type>txt</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>Copy JARs</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeArtifactIds>${forgerock.license.artifactId},openam-rest,openam-installtools,openam-slf4j</excludeArtifactIds>
</configuration>
</execution>
<execution>
<id>Unix setup classpath</id>
<phase>prepare-package</phase>
<goals>
<goal>build-classpath</goal>
</goals>
<configuration>
<fileSeparator>/</fileSeparator>
<pathSeparator>:</pathSeparator>
<includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
</configuration>
</execution>
<execution>
<id>Windows setup classpath</id>
<phase>prepare-package</phase>
<goals>
<goal>build-classpath</goal>
</goals>
<configuration>
<fileSeparator>\</fileSeparator>
<pathSeparator>;</pathSeparator>
<prefix>%TOOLS_HOME%\lib</prefix>
<includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
<!-- Pre-Packaging step for Zip Elements. -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>zip-pre-packaging</id>
<phase>compile</phase>
<configuration>
<target>
<property name="resources.i18n.dir" value="${project.basedir}/openam-locale/src/main/resources/locale" />
<tstamp>
</tstamp>
<!-- Set our Version Information for the Package -->
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/config">
<include name="serviceDefaultValues.properties" />
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>admintools-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
</descriptors>
<escapeString>\</escapeString>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>openam-entitlements</artifactId>
</dependency>
<dependency>
<artifactId>openam-installtools</artifactId>
</dependency>
<dependency>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<artifactId>openam-cli-definitions</artifactId>
</dependency>
<dependency>
<artifactId>openam-cli-impl</artifactId>
</dependency>
<dependency>
<artifactId>openam-federation-library</artifactId>
</dependency>
<dependency>
<artifactId>OpenFM</artifactId>
</dependency>
<dependency>
<artifactId>openam-dtd-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-jaxrpc-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-saml2-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-scripted</artifactId>
</dependency>
<dependency>
<artifactId>openam-scripting</artifactId>
</dependency>
<dependency>
<scope>provided</scope>
</dependency>
<dependency>
<artifactId>openam-license-manager-cli</artifactId>
</dependency>
<dependency>
<artifactId>chf-http-core</artifactId>
</dependency>
<dependency>
<artifactId>xmlsec</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging-api</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
<artifactId>openam-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<artifactId>opendj-core</artifactId>
</dependency>
<dependency>
</dependency>
<dependency>
<artifactId>opendj-grizzly</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-fr-oath</artifactId>
</dependency>
<dependency>
<artifactId>slf4j-nop</artifactId>
</dependency>
</dependencies>
</project>