pom.xml revision 80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91
<?xml version="1.0" encoding="UTF-8"?>
<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>
<!--
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2011 ForgeRock AS. All Rights Reserved
*
* 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
* http://forgerock.org/license/CDDLv1.0.html
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at http://forgerock.org/license/CDDLv1.0.html
* 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]"
*
-->
<!-- Parent Project -->
<parent>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Distribution ssoAdminTools</name>
<description>OpenAM Distribution SSO Admin Tools Kit.
</description>
<artifactId>openam-distribution-ssoadmintools</artifactId>
<version>10.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<organization>
<name>ForgeRock</name>
<url>http://www.forgerock.com</url>
</organization>
<!-- Build -->
<build>
<plugins>
<!-- 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-server-only/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}"/>
<concat destfile="${target.resources.dir}/amSDK.properties">
<fileset dir="${resources.i18n.dir}">
<include name="Services.properties"/>
<include name="DSConfig.properties"/>
<include name="ums.properties"/>
<include name="sso.properties"/>
<include name="SMS.properties"/>
<include name="authentication_util.properties"/>
</fileset>
</concat>
<java classname="com.sun.identity.tools.nightly.MergeSDKProperties"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${resources.i18n.dir}"/>
<arg value="${target.resources.dir}"/>
</java>
<copy file="${target.resources.dir}/amSDK.properties"
tofile="${target.resources.dir}/amSDK_en.properties"/>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/federation-locale">
<include name="*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
<globmapper from="*.properties" to="*_en.properties"/>
</copy>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true" flatten="yes">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/locale">
<include name="*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
<globmapper from="*.properties" to="*_en.properties"/>
</copy>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true" flatten="yes">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/openfm-locale">
<include name="*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
<globmapper from="*.properties" to="*_en.properties"/>
</copy>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true" flatten="yes">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/federation-locale">
<include name="**/*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true" flatten="yes">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/locale">
<include name="**/*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/resources" overwrite="false" filtering="true" flatten="yes">
<fileset dir="${project.basedir}/openam-server-only/src/main/resources/openfm-locale">
<include name="**/*.properties"/>
<exclude name="Services.properties"/>
<exclude name="ums.properties"/>
<exclude name="sso.properties"/>
<exclude name="SMS.properties"/>
<exclude name="authentication_util.properties"/>
</fileset>
</copy>
<!-- 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>
<finalName>openam-distribution-ssoAdminTools-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>src/main/assembly/openAMToolsAssembly_Descriptor.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-amadmsetup</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<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>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-cli-impl</artifactId>
<version>${project.version}</version>
</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-oauth</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-rest</artifactId>
</dependency>
<!-- Include all Authentication Modules -->
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-ad</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-anonymous</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-adaptive</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-application</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-cert</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-datastore</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-hotp</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-httpbasic</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-ldap</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-membership</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-msisdn</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-nt</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-oath</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-oauth2</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-radius</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-auth-safeword</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-securid</artifactId>
<groupId>org.forgerock.openam</groupId>
</dependency>
<dependency>
<artifactId>openam-auth-windowsdesktopsso</artifactId>
<groupId>org.forgerock.openam</groupId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<!-- Oauth2 dependencies -->
<!--<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-restlet-extension</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-openam-extension</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-core-token-service</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-oauth2-main</artifactId>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>-->
</dependencies>
</project>