pom.xml revision 17a67d5ff81084942c27addb98bfd4d8d7337118
<?xml version="1.0" encoding="UTF-8"?>
<!--
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2011-2015 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]"
*
-->
<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>
<!-- Parent Project -->
<parent>
<artifactId>openam</artifactId>
<version>13.0.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Server Only</name>
<description>OpenAM Server Only Component</description>
<artifactId>openam-server-only</artifactId>
<packaging>war</packaging>
<!-- Build -->
<build>
<plugins>
<!-- Pre-Packaging step for WAR elements. -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>war-pre-packaging</id>
<phase>validate</phase>
<configuration>
<target>
<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>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>validate</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<artifactId>openam-jaxrpc-schema</artifactId>
<type>jar</type>
<overWrite>false</overWrite>
</artifactItem>
<artifactItem>
<artifactId>openam-ui-ria</artifactId>
<classifier>www</classifier>
<type>zip</type>
<overWrite>false</overWrite>
<includes>**/*</includes>
</artifactItem>
<artifactItem>
<artifactId>openam-ui-policy</artifactId>
<classifier>www</classifier>
<type>zip</type>
<overWrite>false</overWrite>
<includes>**/*</includes>
</artifactItem>
<artifactItem>
<artifactId>openam-ui-scripts</artifactId>
<classifier>www</classifier>
<type>zip</type>
<overWrite>false</overWrite>
<includes>**/*</includes>
</artifactItem>
<artifactItem>
<artifactId>openam-auth-deviceprint-scripts</artifactId>
<type>zip</type>
<overWrite>false</overWrite>
<includes>**/*.js</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>Copy license</id>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<type>txt</type>
<overWrite>true</overWrite>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExcludes>
</packagingExcludes>
<archive>
<manifestEntries>
<Specification-Title>OpenAM Server</Specification-Title>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM Server</Implementation-Title>
</Implementation-Version>
<Implementation-Vendor>ForgeRock</Implementation-Vendor>
</manifestEntries>
</archive>
<nonFilteredFileExtensions>
<!-- Exclude any binary files based upon File Types. -->
<nonFilteredFileExtension>bin</nonFilteredFileExtension>
<nonFilteredFileExtension>bkf</nonFilteredFileExtension>
<nonFilteredFileExtension>bmp</nonFilteredFileExtension>
<nonFilteredFileExtension>bz2</nonFilteredFileExtension>
<nonFilteredFileExtension>deb</nonFilteredFileExtension>
<nonFilteredFileExtension>dll</nonFilteredFileExtension>
<nonFilteredFileExtension>dmg</nonFilteredFileExtension>
<nonFilteredFileExtension>ear</nonFilteredFileExtension>
<nonFilteredFileExtension>exe</nonFilteredFileExtension>
<nonFilteredFileExtension>gif</nonFilteredFileExtension>
<nonFilteredFileExtension>gz</nonFilteredFileExtension>
<nonFilteredFileExtension>gzip</nonFilteredFileExtension>
<nonFilteredFileExtension>ico</nonFilteredFileExtension>
<nonFilteredFileExtension>jar</nonFilteredFileExtension>
<nonFilteredFileExtension>jks</nonFilteredFileExtension>
<nonFilteredFileExtension>jpg</nonFilteredFileExtension>
<nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
<nonFilteredFileExtension>lz</nonFilteredFileExtension>
<nonFilteredFileExtension>png</nonFilteredFileExtension>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
<nonFilteredFileExtension>rar</nonFilteredFileExtension>
<nonFilteredFileExtension>rpm</nonFilteredFileExtension>
<nonFilteredFileExtension>tar</nonFilteredFileExtension>
<nonFilteredFileExtension>tgz</nonFilteredFileExtension>
<nonFilteredFileExtension>war</nonFilteredFileExtension>
<nonFilteredFileExtension>zip</nonFilteredFileExtension>
<nonFilteredFileExtension>7z</nonFilteredFileExtension>
<nonFilteredFileExtension>woff2</nonFilteredFileExtension>
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
<!-- See: http://en.wikipedia.org/wiki/List_of_file_formats -->
</nonFilteredFileExtensions>
<webResources>
<webResource>
<includes>
<include>**/**</include>
</includes>
<targetPath>XUI</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<includes>
<include>**/**</include>
</includes>
<targetPath>policyEditor</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<includes>
<include>**/**</include>
</includes>
<targetPath>scripts</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<includes>
<include>**/**</include>
</includes>
<excludes>
<exclude>META-INF</exclude>
<exclude>WEB-INF</exclude>
</excludes>
<targetPath />
<filtering>true</filtering>
</webResource>
<webResource>
<includes>
<include>**/**</include>
</includes>
<filtering>false</filtering>
</webResource>
<webResource>
<includes>
<include>**/**</include>
</includes>
<targetPath>WEB-INF</targetPath>
<filtering>true</filtering>
</webResource>
<webResource>
<!-- Copy all licenses into the legal-notices directory. -->
<includes>
<include>**/**</include>
</includes>
<targetPath>legal-notices</targetPath>
</webResource>
<webResource>
<!-- Copy all third-party licences too. -->
<includes>
<include>**/**</include>
</includes>
<targetPath>legal-notices</targetPath>
</webResource>
<webResource>
<!-- More third party licenses... -->
<includes>
<include>**/**</include>
</includes>
<targetPath>legal-notices</targetPath>
</webResource>
<webResource>
<includes>
<include>*.wsdl</include>
<include>*.xsd</include>
</includes>
<filtering>false</filtering>
</webResource>
<webResource>
</directory>
<includes>
<include>*.wsdl</include>
</includes>
<filtering>false</filtering>
</webResource>
<webResource>
</directory>
<includes>
</includes>
<filtering>true</filtering>
</webResource>
<webResource>
</directory>
<includes>
</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 />
<filtering>false</filtering>
</webResource>
<webResource>
</directory>
<includes>
</includes>
<filtering>false</filtering>
</webResource>
</webResources>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<resources>
<resource>
<includes>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>config/**</exclude>
<exclude>locale/**</exclude>
<exclude>federation-locale/**</exclude>
<exclude>openfm-locale/**</exclude>
<exclude>services/**</exclude>
<exclude>UI/**</exclude>
<exclude>*.conf</exclude>
</excludes>
</resource>
<resource>
<filtering>true</filtering>
<includes>
</includes>
</resource>
</resources>
</build>
<profiles>
<profile>
<id>release</id>
<dependencies>
<dependency>
<artifactId>openam-auth-securid</artifactId>
</dependency>
</dependencies>
<properties>
</properties>
<build>
<plugins>
<!-- Transform the 'amAuth.xml' to add the SecurID auth module -->
<plugin>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<catalogs>
</catalogs>
<transformationSets>
<transformationSet>
<includes>
</includes>
</transformationSet>
</transformationSets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>development</id>
<dependencies>
<dependency>
<artifactId>openam-auth-securid</artifactId>
</dependency>
</dependencies>
<properties>
</properties>
<build>
<plugins>
<!-- Transform the 'amAuth.xml' to add the SecurID auth module -->
<plugin>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<catalogs>
</catalogs>
<transformationSets>
<transformationSet>
<includes>
</includes>
</transformationSet>
</transformationSets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<!-- By default this property is empty so as not to include the SecurID auth module -->
<auth.securID.xml />
</properties>
<dependencies>
<dependency>
<artifactId>openam-ui-ria</artifactId>
<type>zip</type>
<classifier>www</classifier>
</dependency>
<dependency>
<artifactId>openam-ui-policy</artifactId>
<type>zip</type>
<classifier>www</classifier>
</dependency>
<dependency>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<artifactId>forgerock-guice-servlet</artifactId>
</dependency>
<dependency>
<artifactId>openam-authn-filter-config</artifactId>
</dependency>
<dependency>
<artifactId>openam-authn-filter-modules</artifactId>
</dependency>
<dependency>
<artifactId>openam-cli-definitions</artifactId>
</dependency>
<dependency>
<artifactId>openam-cli-impl</artifactId>
</dependency>
<dependency>
<artifactId>openam-server-auth-ui</artifactId>
</dependency>
<dependency>
<artifactId>openam-federation-library</artifactId>
</dependency>
<dependency>
<artifactId>OpenFM</artifactId>
</dependency>
<dependency>
<artifactId>openam-oauth</artifactId>
</dependency>
<dependency>
<artifactId>openam-uma</artifactId>
</dependency>
<dependency>
<artifactId>openam-dtd-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-jaxrpc-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-saml2-schema</artifactId>
</dependency>
<dependency>
<artifactId>openam-rest</artifactId>
</dependency>
<dependency>
<artifactId>openam-dashboard</artifactId>
</dependency>
<dependency>
<artifactId>openam-datastore</artifactId>
</dependency>
<!-- Include all Authentication Modules -->
<dependency>
<artifactId>openam-auth-ad</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-anonymous</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-adaptive</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-application</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-cert</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-datastore</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-persistentcookie</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-deviceprint-module</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-hotp</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-scripted</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-device-id</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-httpbasic</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-jdbc</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-ldap</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-membership</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-msisdn</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-nt</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-oath</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-oauth2</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-radius</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-windowsdesktopsso</artifactId>
</dependency>
<dependency>
<artifactId>openam-auth-oidc</artifactId>
</dependency>
<dependency>
<artifactId>json-resource</artifactId>
</dependency>
<dependency>
<artifactId>json-resource-servlet</artifactId>
</dependency>
<!-- Oauth2 dependencies -->
<dependency>
<artifactId>oauth2-core</artifactId>
</dependency>
<dependency>
<artifactId>oauth2-restlet</artifactId>
</dependency>
<dependency>
<artifactId>openid-connect-restlet</artifactId>
</dependency>
<dependency>
<artifactId>openam-oauth2</artifactId>
</dependency>
<dependency>
<artifactId>openam-rest-sts</artifactId>
</dependency>
<dependency>
<artifactId>openam-common-sts</artifactId>
</dependency>
<dependency>
<artifactId>openam-client-sts</artifactId>
</dependency>
<dependency>
<artifactId>openam-token-service-sts</artifactId>
</dependency>
<dependency>
<artifactId>openam-publish-sts</artifactId>
</dependency>
<dependency>
<artifactId>openam-slf4j</artifactId>
</dependency>
<dependency>
<artifactId>freemarker</artifactId>
</dependency>
<dependency>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<artifactId>jsp-api</artifactId>
</dependency>
<!-- XML -->
<!-- Xerces-J Required for fedlet -->
<dependency>
<groupId>xerces-J</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>xerces-J</groupId>
<artifactId>xml-apis</artifactId>
</dependency>
<dependency>
<groupId>xerces-J</groupId>
<artifactId>xml-resolver</artifactId>
</dependency>
<dependency>
<groupId>xerces-J</groupId>
<artifactId>xml-serializer</artifactId>
</dependency>
</dependencies>
</project>