pom.xml revision 693464dd5be3a2ddb6c14b434beb63448e251db7
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major<?xml version="1.0" encoding="UTF-8"?>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major<!--
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major*
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* Copyright (c) 2011-2014 ForgeRock AS. All Rights Reserved
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major*
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* The contents of this file are subject to the terms
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* of the Common Development and Distribution License
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* (the License). You may not use this file except in
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* compliance with the License.
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major*
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* You can obtain a copy of the License at
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* http://forgerock.org/license/CDDLv1.0.html
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* See the License for the specific language governing
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* permission and limitations under the License.
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major*
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* When distributing Covered Code, include this CDDL
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* Header Notice in each file and include the License file
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* at http://forgerock.org/license/CDDLv1.0.html
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* If applicable, add the following below the CDDL Header,
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* with the fields enclosed by brackets [] replaced by
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* your own identifying information:
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major* "Portions Copyrighted [year] [name of copyright owner]"
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major*
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major-->
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major<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">
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <modelVersion>4.0.0</modelVersion>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <!-- Parent Project -->
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <parent>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <groupId>org.forgerock.openam</groupId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactId>openam-distribution</artifactId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <version>13.0.0-SNAPSHOT</version>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </parent>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <!-- Component Definition -->
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <name>OpenAM Distribution Kit</name>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <description>OpenAM Distribution Kit, containing all distributable artifacts.</description>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactId>openam-distribution-kit</artifactId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <packaging>pom</packaging>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <!-- Build -->
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <build>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <plugins>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <plugin>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <groupId>org.apache.maven.plugins</groupId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactId>maven-dependency-plugin</artifactId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <executions>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <execution>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <id>Copy license</id>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <phase>prepare-package</phase>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <goals>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <goal>copy</goal>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </goals>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <configuration>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactItems>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactItem>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <groupId>${forgerock.license.groupId}</groupId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <artifactId>${forgerock.license.artifactId}</artifactId>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <version>${forgerock.license.version}</version>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <type>txt</type>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <overWrite>true</overWrite>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <outputDirectory>${project.build.directory}/legal-notices</outputDirectory>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <destFileName>license.txt</destFileName>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </artifactItem>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </artifactItems>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </configuration>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </execution>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </executions>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major </plugin>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <plugin>
80ca0b9f5ad61b2335af25d4dcf25a04ebfcbc91Peter Major <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-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>src/main/assembly/openAM_KitAssembly_Descriptor.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<!-- Post-Packaging step for preparing Artifacts for Upload to Nightly Download Area -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>post-packaging</id>
<phase>package</phase>
<configuration>
<target>
<property name="distribution.target.dir" value="${project.build.directory}" />
<tstamp>
<format property="time.stamp" pattern="yyyyMMdd" />
</tstamp>
<property name="zipname.set" value="nightly_${time.stamp}" />
<filter token="ZIPNAME" value="${zipname.set}" />
<filter token="BUILD_DATE" value="${time.stamp}" />
<filter token="BUILD_VERSION" value="${project.version}" />
<copy file="/src/main/jenkins/openam_link.js.template" tofile="${distribution.target.dir}/openam_link.js" filtering="true" />
<copy file="/src/main/jenkins/build_date.js.template" tofile="${distribution.target.dir}/build_date.js" filtering="true" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-server</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-server-only</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-clientsdk</artifactId>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-fedlet-unconfigured</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-ssoadmintools</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-example-clientsdk-cli</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-example-clientsdk-war</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-idpdiscovery-war</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-ssoconfiguratortools</artifactId>
<type>zip</type>
</dependency>
</dependencies>
</project>