pom.xml revision eca8aa7e369a81cf98f136598bc0a428b1eef1f0
0N/A<?xml version="1.0" encoding="UTF-8"?>
1532N/A<!--
0N/A * The contents of this file are subject to the terms of the Common Development and
0N/A * Distribution License (the License). You may not use this file except in compliance with the
0N/A * License.
0N/A *
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * specific language governing permission and limitations under the License.
0N/A *
0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A * information: "Portions copyright [year] [name of copyright owner]".
0N/A *
0N/A * Copyright 2011-2016 ForgeRock AS.
0N/A-->
0N/A<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">
0N/A <modelVersion>4.0.0</modelVersion>
1472N/A
1472N/A <!-- Parent Project -->
1472N/A <parent>
0N/A <groupId>org.forgerock.openam</groupId>
0N/A <artifactId>openam-distribution</artifactId>
0N/A <version>14.0.0-SNAPSHOT</version>
0N/A </parent>
0N/A
0N/A <!-- Component Definition -->
0N/A <name>OpenAM Distribution ssoAdminTools</name>
0N/A <description>OpenAM Distribution SSO Admin Tools Kit.
0N/A </description>
0N/A <artifactId>openam-distribution-ssoadmintools</artifactId>
0N/A <packaging>pom</packaging>
1532N/A <properties>
1532N/A <setupArtifactIDs>
1532N/A opendj-server,forgerock-util,json,xmlsec,openam-core,
0N/A openam-entitlements,openam-shared,openam-dtd-schema,openam-license-manager-cli,openam-license-core,
0N/A openam-audit-context,forgerock-guice-core,forgerock-guava-base,forgerock-guava-collect,
0N/A guice,guice-assistedinject,commons-lang,commons-collections,org.apache.servicemix.bundles.javax-inject,
0N/A slf4j-api,slf4j-nop,opendj-core,opendj-grizzly,i18n-core,openam-ldap-utils,grizzly-framework,
0N/A forgerock-audit-core,openam-audit-configuration,i18n-slf4j,
0N/A opendj-server-legacy,opendj-config,opendj-cli,chf-http-core,joda-time
0N/A </setupArtifactIDs>
0N/A
0N/A <!-- If the binary-licensing profile is activated, we need the ForgeRock license there -->
0N/A <forgerock.license.output.dir>${project.build.directory}/legal-notices</forgerock.license.output.dir>
0N/A </properties>
0N/A
0N/A <!-- Build -->
0N/A <build>
0N/A <finalName>SSOAdminTools-${project.version}</finalName>
0N/A <plugins>
0N/A <!-- Get the relevant license from Artifactory -->
0N/A <plugin>
0N/A <groupId>org.apache.maven.plugins</groupId>
0N/A <artifactId>maven-dependency-plugin</artifactId>
0N/A <version>2.10</version>
0N/A <executions>
0N/A <execution>
0N/A <id>Copy JARs</id>
0N/A <phase>prepare-package</phase>
0N/A <goals>
0N/A <goal>copy-dependencies</goal>
0N/A </goals>
0N/A <configuration>
0N/A <outputDirectory>${project.build.directory}/lib</outputDirectory>
0N/A <overWriteReleases>false</overWriteReleases>
0N/A <overWriteSnapshots>true</overWriteSnapshots>
0N/A <overWriteIfNewer>true</overWriteIfNewer>
0N/A <excludeArtifactIds>${forgerock.license.artifactId},openam-rest,openam-installtools,openam-slf4j</excludeArtifactIds>
0N/A </configuration>
0N/A </execution>
0N/A <execution>
0N/A <id>Unix setup classpath</id>
0N/A <phase>prepare-package</phase>
0N/A <goals>
0N/A <goal>build-classpath</goal>
0N/A </goals>
0N/A <configuration>
0N/A <fileSeparator>/</fileSeparator>
0N/A <pathSeparator>:</pathSeparator>
0N/A <prefix>$TOOLS_HOME/lib</prefix>
0N/A <includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
0N/A <outputProperty>unix.setup.classpath</outputProperty>
0N/A </configuration>
113N/A </execution>
0N/A <execution>
0N/A <id>Windows setup classpath</id>
0N/A <phase>prepare-package</phase>
0N/A <goals>
0N/A <goal>build-classpath</goal>
0N/A </goals>
0N/A <configuration>
0N/A <fileSeparator>\</fileSeparator>
0N/A <pathSeparator>;</pathSeparator>
0N/A <prefix>%TOOLS_HOME%\lib</prefix>
0N/A <includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
0N/A <outputProperty>windows.setup.classpath</outputProperty>
0N/A </configuration>
0N/A </execution>
0N/A </executions>
0N/A </plugin>
0N/A
0N/A <!-- Pre-Packaging step for Zip Elements. -->
0N/A <plugin>
0N/A <groupId>org.apache.maven.plugins</groupId>
0N/A <artifactId>maven-antrun-plugin</artifactId>
0N/A <executions>
0N/A <execution>
0N/A <id>zip-pre-packaging</id>
0N/A <phase>compile</phase>
<configuration>
<target>
<property name="build.class.path" refid="maven.compile.classpath" />
<property name="project.basedir" value="./" />
<property name="target.resources.dir" value="${project.build.directory}/resources" />
<property name="resources.i18n.dir" value="${project.basedir}/openam-locale/src/main/resources/locale" />
<tstamp>
<format property="war.time.stamp" pattern="yyyy-MMMM-dd HH:mm" locale="en,UK" />
</tstamp>
<property name="version.set" value="${project.version}" />
<filter token="DATESTAMP" value="${war.time.stamp}" />
<filter token="VERSION" value="${version.set}" />
<!-- Set our Version Information for the Package -->
<copy todir="${project.build.directory}/resources" overwrite="true" filtering="true" flatten="yes">
<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>
<groupId>org.apache.maven.plugins</groupId>
<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>
<descriptor>src/main/assembly/openAMToolsAssembly_Descriptor.xml</descriptor>
</descriptors>
<escapeString>\</escapeString>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-entitlements</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-installtools</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-cli-definitions</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-cli-impl</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-federation-library</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>OpenFM</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-dtd-schema</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-jaxrpc-schema</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-saml2-schema</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-scripted</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-scripting</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-license-manager-cli</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.http</groupId>
<artifactId>chf-http-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.santuario</groupId>
<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>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-grizzly</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-fr-oath</artifactId>
</dependency>
</dependencies>
</project>