pom.xml revision 97d9dc3f5c53b6801baddd5100b9fae431ac7e06
0N/A<?xml version="1.0" encoding="UTF-8"?>
2362N/A<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0N/A 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>
0N/A
0N/A <!--
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0N/A *
0N/A * Copyright (c) 2011 ForgeRock AS. All Rights Reserved
0N/A *
0N/A * The contents of this file are subject to the terms
0N/A * of the Common Development and Distribution License
0N/A * (the License). You may not use this file except in
0N/A * compliance with the License.
0N/A *
0N/A * You can obtain a copy of the License at
0N/A * http://forgerock.org/license/CDDLv1.0.html
0N/A * See the License for the specific language governing
2362N/A * permission and limitations under the License.
2362N/A *
2362N/A * When distributing Covered Code, include this CDDL
0N/A * Header Notice in each file and include the License file
0N/A * at http://forgerock.org/license/CDDLv1.0.html
0N/A * If applicable, add the following below the CDDL Header,
0N/A * with the fields enclosed by brackets [] replaced by
496N/A * your own identifying information:
0N/A * "Portions Copyrighted [year] [name of copyright owner]"
0N/A *
0N/A -->
0N/A
0N/A <!-- Parent Project -->
0N/A <parent>
0N/A <groupId>org.forgerock</groupId>
0N/A <artifactId>openam-distribution</artifactId>
0N/A <version>10.1.0-SNAPSHOT</version>
0N/A </parent>
0N/A
0N/A <!-- Component Definition -->
0N/A <name>OpenAM Distribution ssoConfiguratorTools</name>
496N/A <description>OpenAM Distribution SSO Configurator Tools Kit.
496N/A </description>
496N/A <artifactId>openam-distribution-ssoconfiguratortools</artifactId>
496N/A <version>10.1.0-SNAPSHOT</version>
496N/A <packaging>pom</packaging>
0N/A <organization>
0N/A <name>ForgeRock</name>
0N/A <url>http://www.forgerock.com</url>
0N/A </organization>
0N/A
0N/A
0N/A <!-- Build -->
0N/A <build>
0N/A <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack_1</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock</groupId>
<artifactId>openam-core</artifactId>
<version>10.1.0-SNAPSHOT</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/unpacked_1</outputDirectory>
<includes>com/sun/identity/setup/OpenSSOConfigurator**</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack_2</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.forgerock</groupId>
<artifactId>openam-core</artifactId>
<version>10.1.0-SNAPSHOT</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/unpacked_2</outputDirectory>
<includes>org/forgerock/openam/setup/OpenAMUpgrade**</includes>
</artifactItem>
</artifactItems>
</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>package</phase>
<configuration>
<target>
<!-- OpenSSOConfiguration Properties -->
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="OpenSSOConfigurator.properties"/>
</fileset>
<globmapper from="*.properties" to="*_en.properties"/>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="OpenSSOConfigurator.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/de_DE">
<include name="OpenSSOConfigurator_de.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/es_ES">
<include name="OpenSSOConfigurator_es.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/fr_FR">
<include name="OpenSSOConfigurator_fr.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/ja_JP">
<include name="OpenSSOConfigurator_ja.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/ko_KR">
<include name="OpenSSOConfigurator_ko.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/zh_CN">
<include name="OpenSSOConfigurator_zh.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_1" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/zh_TW">
<include name="OpenSSOConfigurator_zh_TW.properties"/>
</fileset>
</copy>
<!-- OpenSSOConfiguration Properties-->
<copy todir="${project.build.directory}/unpacked_2" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="OpenAMUpgrade.properties"/>
</fileset>
<globmapper from="*.properties" to="*_en.properties"/>
</copy>
<copy todir="${project.build.directory}/unpacked_2" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="OpenAMUpgrade.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_2" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/de_DE">
<include name="OpenAMUpgrade_de.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_2" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/es_ES">
<include name="OpenAMUpgrade_es.properties"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/unpacked_2" filtering="false">
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/fr_FR">
<include name="OpenAMUpgrade_fr.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>openam-configurator</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>openam-distribution-configurator-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>src/main/assembly/openAMConfiguratorAssembly_Descriptor.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>openam-upgrade</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>openam-distribution-upgrade-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>src/main/assembly/openAMUpgradeAssembly_Descriptor.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>openam-ssoconfiguratortools</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>openam-distribution-ssoconfiguratortools-${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</groupId>
<artifactId>openam-core</artifactId>
</dependency>
</dependencies>
</project>