pom.xml revision 2b11d8d728e8ddfca05e353580c7426c699d3dc7
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley<?xml version="1.0" encoding="UTF-8"?>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley<!--
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley*
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* Copyright 2011-2015 ForgeRock AS.
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley*
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* The contents of this file are subject to the terms
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* of the Common Development and Distribution License
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* (the License). You may not use this file except in
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* compliance with the License.
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley*
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* You can obtain a copy of the License at
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* http://forgerock.org/license/CDDLv1.0.html
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* See the License for the specific language governing
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* permission and limitations under the License.
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley*
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* When distributing Covered Code, include this CDDL
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* Header Notice in each file and include the License file
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* at http://forgerock.org/license/CDDLv1.0.html
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* If applicable, add the following below the CDDL Header,
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* with the fields enclosed by brackets [] replaced by
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* your own identifying information:
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley* "Portions Copyrighted [year] [name of copyright owner]"
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley*
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley-->
0cad79befcd11f6a648bd669193aeb58f465377fBob Halley<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">
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <modelVersion>4.0.0</modelVersion>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
d54184ee4c0d32768b686fa7ec743487c8e36814Bob Halley <!-- Parent Project -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <parent>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <groupId>org.forgerock.openam</groupId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <artifactId>openam-schema</artifactId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <version>13.0.0-SNAPSHOT</version>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </parent>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <!-- Component Definition -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <name>OpenAM JAXRPC Schema</name>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <description>OpenAM JAXRPC Schema Components</description>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <artifactId>openam-jaxrpc-schema</artifactId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <packaging>jar</packaging>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <!-- Build -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <build>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <plugins>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <!-- Generate jaxrpc WSDL -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <!-- see http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.5/jaxrpc/jaxrpc-tools.html
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley for Documentation on the wscompile tool. -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <plugin>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <groupId>org.apache.maven.plugins</groupId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <artifactId>maven-antrun-plugin</artifactId>
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley <executions>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <execution>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <id>generate-jaxrpc-wsdl</id>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <phase>generate-sources</phase>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <configuration>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <target name="jaxrpc">
d54184ee4c0d32768b686fa7ec743487c8e36814Bob Halley <property name="build.class.path" refid="maven.compile.classpath" />
d54184ee4c0d32768b686fa7ec743487c8e36814Bob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <mkdir dir="${project.build.directory}/classes" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <mkdir dir="${project.build.directory}/generated-sources/wscompile" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <mkdir dir="${project.build.directory}/unwanted" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
0cad79befcd11f6a648bd669193aeb58f465377fBob Halley <java classname="com.sun.xml.rpc.tools.wscompile.Main" fork="true" classpath="${build.class.path}" failonerror="true">
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="-g" />
d54184ee4c0d32768b686fa7ec743487c8e36814Bob Halley <arg value="-gen:server" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="-keep" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="-d" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="${project.build.directory}/unwanted" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="-s" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="${project.build.directory}/generated-sources/wscompile" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <arg value="${project.basedir}/src/main/resources/xml/jaxrpc/config.xml" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </java>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <move file="${project.build.directory}/unwanted/IdentityManagementServices.wsdl" tofile="${project.build.directory}/classes/jaxrpc/IdentityManagementServices.wsdl" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <!-- Clean-up duplicate generated WSDL and Classes -->
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <delete file="${project.basedir}/IdentityManagementServices.wsdl" />
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </target>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </configuration>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <goals>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <goal>run</goal>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </goals>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </execution>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </executions>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </plugin>
5245f4c5f9edaf37a6513c4a636b193b6077de91Bob Halley
5245f4c5f9edaf37a6513c4a636b193b6077de91Bob Halley <plugin>
5245f4c5f9edaf37a6513c4a636b193b6077de91Bob Halley <groupId>org.codehaus.mojo</groupId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <artifactId>build-helper-maven-plugin</artifactId>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <executions>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <execution>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <id>add-source</id>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <phase>generate-sources</phase>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <goals>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <goal>add-source</goal>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </goals>
d54184ee4c0d32768b686fa7ec743487c8e36814Bob Halley <configuration>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <sources>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <source>${project.build.directory}/generated-sources/wscompile</source>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </sources>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </configuration>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </execution>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </executions>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley </plugin>
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley
ab2981e3798a9045598bc96e6a427ad954699b9bBob Halley <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<forceCreation>true</forceCreation>
<archive>
<index>true</index>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Specification-Title>OpenAM JAXRPC Schema</Specification-Title>
<Specification-Version>${project.version} - ${maven.build.timestamp}</Specification-Version>
<Specification-Vendor>ForgeRock</Specification-Vendor>
<Implementation-Title>OpenAM JAXRPC Schema</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>
<Revision>${git.short.sha1}</Revision>
<!-- TODO Add License to Manifest -->
<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>org.forgerock.openam</groupId>
<artifactId>openam-federation-library</artifactId>
</dependency>
<dependency>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-core</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb1-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>external</groupId>
<artifactId>jaxrpc-impl</artifactId>
</dependency>
<dependency>
<groupId>external</groupId>
<artifactId>webservices-api</artifactId>
</dependency>
</dependencies>
</project>