pom.xml revision b93185b577f7150fec37f9999b95b246d73bf63c
<?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</groupId>
<artifactId>openam</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Server</name>
<description>OpenAM Server Component
</description>
<artifactId>openam-server</artifactId>
<version>10.1.0-SNAPSHOT</version>
<packaging>war</packaging>
<organization>
<name>ForgeRock</name>
<url>http://www.forgerock.com</url>
</organization>
<!-- Build -->
<build>
<plugins>
<!-- Pre-Packaging step for WAR elements. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>war-pre-packaging</id>
<phase>validate</phase>
<configuration>
<target>
<property name="openam.version" value="${project.version}"/>
<property name="openam.temp.target" value="${project.build.directory}/openam_TEMP"/>
<property name="build.class.path" refid="maven.compile.classpath"/>
<property name="project.basedir" value="./"/>
<property name="server.resources" value="${project.basedir}/src/main/resources"/>
<property name="amserver.target.resources.dir"
value="${project.build.directory}/classes"/>
<property name="amserver.resources.i18n.dir" value="${server.resources}/locale"/>
<property name="library.resources.i18n.dir"
value="${server.resources}/federation-locale"/>
<property name="openfm.resources.i18n.dir" value="${server.resources}/openfm-locale"/>
<property name="core.xml.dir"
value="${project.basedir}/openam-core/src/main/resources/xml"/>
<property name="library.xml.dir"
value="${project.basedir}/openam-federation/openam-federation-library/src/main/resources/xml"/>
<property name="federation.xml.dir"
value="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml"/>
<ant antfile="${project.basedir}/openam-server-prepare-war.xml">
<target name="openam-server-prepare-war"/>
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExcludes>
WEB-INF/lib/j2ee-2007-18-10.jar,
WEB-INF/lib/el-api-2.2.jar,
WEB-INF/lib/servlet-api.jar,
WEB-INF/lib/jersey-core-1.1.5.2.jar,
WEB-INF/lib/jaxb-api-1.0.6.jar,
WEB-INF/lib/jaxb-impl-1.0.6.jar,
WEB-INF/lib/jaxb-libs-1.0.6.jar,
WEB-INF/lib/jaxb-xjc-1.0.6.jar,
WEB-INF/lib/jdom-2.0.1.jar,
WEB-INF/lib/jaxp-api-1.4.2.jar,
WEB-INF/lib/jaxws-api-2.2.8.jar,
WEB-INF/lib/jaxws-rt-2.2.7-promoted-b73.jar,
WEB-INF/lib/stax-api-1.0-2.jar,
WEB-INF/lib/webservices-api-2.1-b16.jar
</packagingExcludes>
<archive>
<manifestEntries>
<Specification-Title>OpenAM Server</Specification-Title>
<Specification-Version>${project.version} - ${maven.build.timestamp}</Specification-Version>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM Server</Implementation-Title>
<Implementation-Version>${project.version} - ${maven.build.timestamp}
</Implementation-Version>
<Implementation-Vendor>ForgeRock</Implementation-Vendor>
<Build-Time>${maven.build.timestamp}</Build-Time>
</manifestEntries>
</archive>
<webResources>
<webResource>
<directory>${basedir}/src/main/webapp</directory>
<includes>
<include>**/**</include>
</includes>
<excludes>
<exclude>META-INF</exclude>
<exclude>WEB-INF</exclude>
</excludes>
<targetPath></targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/src/main/webapp/META-INF</directory>
<includes>
<include>**/**</include>
</includes>
<targetPath>META-INF</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/src/main/webapp/WEB-INF</directory>
<includes>
<include>**/**</include>
</includes>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<directory>
${project.basedir}/openam-federation/openam-federation-library/src/main/resources/xml
</directory>
<includes>
<include>*.xsl</include>
<include>*.xml</include>
</includes>
<excludes>
<exclude>web.xml</exclude>
</excludes>
<targetPath>WEB-INF/classes</targetPath>
<filtering>false</filtering>
</webResource>
<webResource>
<directory>
${project.basedir}/openam-core/src/main/resources/xml/console
</directory>
<includes>
<include>amAccessControl.xml</include>
<include>amConsoleConfig.xml</include>
</includes>
<targetPath>WEB-INF/classes</targetPath>
<filtering>false</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/openam-federation/OpenFM/src/main/wsdl</directory>
<includes>
<include>*.wsdl</include>
<include>*.xsd</include>
</includes>
<targetPath>WEB-INF/wsdl</targetPath>
<filtering>false</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/openam-schema/openam-idsvcs-schema/src/main/resources/xml
</directory>
<includes>
<include>*.wsdl</include>
</includes>
<targetPath>WEB-INF/wsdl</targetPath>
<filtering>false</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/openam-schema/openam-jaxrpc-schema/target/classes/jaxrpc
</directory>
<includes>
<include>IdentityManagementServices.wsdl</include>
</includes>
<targetPath>WEB-INF/wsdl</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<directory>${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/wss
</directory>
<includes>
<include>sun-jaxws.xml</include>
</includes>
<targetPath>WEB-INF</targetPath>
<filtering>false</filtering>
</webResource>
<webResource>
<!-- This pickup the remaining moved elements build from the
"openam-server-prepare-war"
step from a Temp Area -->
<directory>${project.build.directory}/openam_TEMP
</directory>
<includes>
<include>**/**</include>
</includes>
<targetPath></targetPath>
<filtering>false</filtering>
</webResource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>config/**</exclude>
<exclude>console/**</exclude>
<exclude>distUI/**</exclude>
<exclude>locale/**</exclude>
<exclude>federation-locale/**</exclude>
<exclude>openfm-locale/**</exclude>
<exclude>services/**</exclude>
<exclude>UI/**</exclude>
<exclude>*.conf</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<filtering>true</filtering>
<directory>src/test/resources</directory>
<includes>
<include>**/*</include>
</includes>
</testResource>
</testResources>
</build>
<dependencies>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-installtools</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-core</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-federation-library</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>OpenFM</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-dtd-schema</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-session-ha-core</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-session-ha-ldap</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-session-ha-mq</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-rest</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<!-- Include all Authentication Modules -->
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-ad</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-anonymous</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-adaptive</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-application</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-cert</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-datastore</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-hotp</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-httpbasic</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-jdbc</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-ldap</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-membership</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-msisdn</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-nt</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-oath</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-radius</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-auth-safeword</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>openam-auth-securid</artifactId>
<groupId>org.forgerock</groupId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>openam-auth-windowsdesktopsso</artifactId>
<groupId>org.forgerock</groupId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<!-- Oauth2 dependencies -->
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-restlet-extension</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-openam-extension</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-core-token-service</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.forgerock</groupId>
<artifactId>openam-oauth2-main</artifactId>
<version>10.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.19</version>
</dependency>
</dependencies>
</project>