pom.xml revision c476d0144b07268059f25c23b3a9f8dd448abc9f
<?xml version="1.0" encoding="UTF-8"?>
<!--
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2011-2012 ForgeRock Inc. 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]"
*
-->
<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>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-schema</artifactId>
<version>10.1.0-SNAPSHOT</version>
</parent>
<!-- Component Definition -->
<name>OpenAM Identity Services Schema</name>
<description>OpenAM Identity Services Schema Components</description>
<artifactId>openam-idsvcs-schema</artifactId>
<packaging>jar</packaging>
<!-- Build -->
<build>
<plugins>
<!-- Generate Identity Services Source Files to prepare for Compilation -->
<!-- see http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.5/jaxrpc/jaxrpc-tools.html
for Documentation on the wscompile tool. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-idsvcs-source</id>
<phase>compile</phase>
<configuration>
<failOnError>true</failOnError>
<target name="idsvcs">
<property name="build.class.path" refid="maven.compile.classpath"/>
<copy file="${project.basedir}/src/main/resources/xml/IdentityServices.wsdl"
tofile="${project.build.directory}/classes/IdentityServices.wsdl"/>
<java classname="com.sun.xml.rpc.tools.wscompile.Main" fork="true"
classpath="${build.class.path}" failonerror="true">
<arg value="-g"/>
<arg value="-gen:server"/>
<arg value="-d"/>
<arg value="${project.build.directory}/classes"/>
<arg value="${project.basedir}/src/main/resources/xml/IdentityServicesConfig.xml"/>
</java>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<index>true</index>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Specification-Title>OpenAM Identity Services</Specification-Title>
<Specification-Version>${project.version} - ${maven.build.timestamp}</Specification-Version>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM Identity Services</Implementation-Title>
<Implementation-Version>${project.version} - ${maven.build.timestamp}
</Implementation-Version>
<Implementation-Vendor>ForgeRock</Implementation-Vendor>
<Built-By>${user.name}</Built-By>
<Build-Jdk>${java.version}</Build-Jdk>
<Build-Time>${maven.build.timestamp}</Build-Time>
<Version>${project.version}</Version>
<Create-On>${maven.build.timestamp}</Create-On>
<SVN-Revision>R${svn-revision.revision}</SVN-Revision>
<!-- TODO Add License to Manifest -->
<License></License>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-libs</artifactId>
</dependency>
<dependency>
<groupId>javax.xml</groupId>
<artifactId>jaxrpc-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.rpc</groupId>
<artifactId>jaxrpc-spi</artifactId>
</dependency>
<dependency>
<groupId>external</groupId>
<artifactId>jaxrpc-impl</artifactId>
</dependency>
<dependency>
<groupId>external</groupId>
<artifactId>webservices-api</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</dependency>
</dependencies>
</project>