pom.xml revision 1a14164f86e24531eae1bf21e492e7bce721ad1c
2N/A<?xml version="1.0" encoding="UTF-8"?>
2N/A<!--
2N/A* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2N/A*
2N/A* Copyright (c) 2011-2016 ForgeRock AS.
2N/A*
2N/A* The contents of this file are subject to the terms
2N/A* of the Common Development and Distribution License
2N/A* (the License). You may not use this file except in
2N/A* compliance with the License.
2N/A*
2N/A* You can obtain a copy of the License at
2N/A* http://forgerock.org/license/CDDLv1.0.html
2N/A* See the License for the specific language governing
2N/A* permission and limitations under the License.
2N/A*
2N/A* When distributing Covered Code, include this CDDL
2N/A* Header Notice in each file and include the License file
2N/A* at http://forgerock.org/license/CDDLv1.0.html
2N/A* If applicable, add the following below the CDDL Header,
2N/A* with the fields enclosed by brackets [] replaced by
2N/A* your own identifying information:
2N/A* "Portions Copyrighted [year] [name of copyright owner]"
2N/A*
2N/A-->
2N/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">
2N/A <modelVersion>4.0.0</modelVersion>
2N/A
2N/A <!-- Parent Project -->
2N/A <parent>
2N/A <groupId>org.forgerock.openam</groupId>
2N/A <artifactId>openam-distribution</artifactId>
2N/A <version>14.0.0-SNAPSHOT</version>
2N/A </parent>
2N/A
2N/A <!-- Component Definition -->
2N/A <name>OpenAM Distribution ssoAdminTools</name>
2N/A <description>OpenAM Distribution SSO Admin Tools Kit.
2N/A </description>
2N/A <artifactId>openam-distribution-ssoadmintools</artifactId>
2N/A <packaging>pom</packaging>
2N/A <properties>
2N/A <setupArtifactIDs>
2N/A opendj-server,forgerock-util,json,xmlsec,openam-core,
2N/A openam-entitlements,openam-shared,openam-dtd-schema,openam-license-manager-cli,openam-license-core,
2N/A openam-audit-context,forgerock-guice-core,forgerock-guava-base,forgerock-guava-collect,
2N/A guice,guice-assistedinject,commons-lang,commons-collections,org.apache.servicemix.bundles.javax-inject,
2N/A slf4j-api,slf4j-nop,opendj-core,opendj-grizzly,i18n-core,openam-ldap-utils,grizzly-framework,
2N/A forgerock-audit-core,openam-audit-configuration,i18n-slf4j,
2N/A opendj-server-legacy,opendj-config,opendj-cli,chf-http-core,joda-time
2N/A </setupArtifactIDs>
2N/A </properties>
2N/A
2N/A
2N/A <!-- Build -->
2N/A <build>
2N/A <finalName>SSOAdminTools-${project.version}</finalName>
2N/A <plugins>
2N/A <!-- Get the relevant license from Artifactory -->
2N/A <plugin>
2N/A <groupId>org.apache.maven.plugins</groupId>
2N/A <artifactId>maven-dependency-plugin</artifactId>
2N/A <version>2.10</version>
2N/A <executions>
2N/A <execution>
2N/A <id>Copy license</id>
2N/A <phase>prepare-package</phase>
2N/A <goals>
2N/A <goal>copy</goal>
2N/A </goals>
2N/A <configuration>
2N/A <artifactItems>
2N/A <artifactItem>
2N/A <groupId>${forgerock.license.groupId}</groupId>
2N/A <artifactId>${forgerock.license.artifactId}</artifactId>
2N/A <version>${forgerock.license.version}</version>
2N/A <type>txt</type>
2N/A <overWrite>true</overWrite>
2N/A <outputDirectory>${project.build.directory}/legal-notices</outputDirectory>
2N/A <destFileName>license.txt</destFileName>
2N/A </artifactItem>
2N/A </artifactItems>
2N/A </configuration>
2N/A </execution>
2N/A <execution>
2N/A <id>Copy JARs</id>
2N/A <phase>prepare-package</phase>
2N/A <goals>
2N/A <goal>copy-dependencies</goal>
2N/A </goals>
2N/A <configuration>
2N/A <outputDirectory>${project.build.directory}/lib</outputDirectory>
2N/A <overWriteReleases>false</overWriteReleases>
2N/A <overWriteSnapshots>true</overWriteSnapshots>
2N/A <overWriteIfNewer>true</overWriteIfNewer>
2N/A <excludeArtifactIds>${forgerock.license.artifactId},openam-rest,openam-installtools,openam-slf4j</excludeArtifactIds>
2N/A </configuration>
2N/A </execution>
2N/A <execution>
2N/A <id>Unix setup classpath</id>
2N/A <phase>prepare-package</phase>
2N/A <goals>
2N/A <goal>build-classpath</goal>
2N/A </goals>
2N/A <configuration>
2N/A <fileSeparator>/</fileSeparator>
2N/A <pathSeparator>:</pathSeparator>
2N/A <prefix>$TOOLS_HOME/lib</prefix>
2N/A <includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
2N/A <outputProperty>unix.setup.classpath</outputProperty>
2N/A </configuration>
2N/A </execution>
2N/A <execution>
2N/A <id>Windows setup classpath</id>
2N/A <phase>prepare-package</phase>
2N/A <goals>
2N/A <goal>build-classpath</goal>
2N/A </goals>
2N/A <configuration>
2N/A <fileSeparator>\</fileSeparator>
2N/A <pathSeparator>;</pathSeparator>
2N/A <prefix>%TOOLS_HOME%\lib</prefix>
<includeArtifactIds>${setupArtifactIDs}</includeArtifactIds>
<outputProperty>windows.setup.classpath</outputProperty>
</configuration>
</execution>
</executions>
</plugin>
<!-- Pre-Packaging step for Zip Elements. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>zip-pre-packaging</id>
<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>
</dependencies>
</project>