pom.xml revision ff7252b3a370936a8cedb1b88ffcf0679a4f7199
<?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
* 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
* 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>
<artifactId>openam-distribution</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Distribution ADM Setup</name>
<description>OpenAM Distribution ADM Setup.
</description>
<artifactId>openam-distribution-amadmsetup</artifactId>
<version>10.1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<organization>
<name>ForgeRock</name>
</organization>
<!-- Build -->
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>openam-core</artifactId>
<version>10.1.0-SNAPSHOT</version>
<type>jar</type>
<overWrite>false</overWrite>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- Pre-Packaging step for Zip Elements. -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>zip-pre-packaging</id>
<phase>package</phase>
<configuration>
<target>
<tstamp>
</tstamp>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="amadmtoolssetup.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale">
<include name="amadmtoolssetup.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/de_DE">
<include name="amadmtoolssetup_de.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/es_ES">
<include name="amadmtoolssetup_es.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/fr_FR">
<include name="amadmtoolssetup_fr.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/ja_JP">
<include name="amadmtoolssetup_ja.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/ko_KR">
<include name="amadmtoolssetup_ko.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/zh_CN">
<include name="amadmtoolssetup_zh.properties"/>
</fileset>
</copy>
<fileset dir="${project.basedir}/openam-server/src/main/resources/locale/zh_TW">
<include name="amadmtoolssetup_zh_TW.properties"/>
</fileset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>openam-amadmsetup</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>openam-core</artifactId>
</dependency>
</dependencies>
</project>