130 lines
5.2 KiB
XML
Executable File
130 lines
5.2 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
# BEGIN_HEADER - DO NOT EDIT
|
|
#
|
|
# 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
|
|
# https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
|
|
# See the License for the specific language governing
|
|
# permissions and limitations under the License.
|
|
#
|
|
# When distributing Covered Code, include this CDDL
|
|
# HEADER in each file and include the License file at
|
|
# https://open-jbi-components.dev.java.net/public/CDDLv1.0.html.
|
|
# If applicable add the following below this CDDL HEADER,
|
|
# with the fields enclosed by brackets "[]" replaced with
|
|
# your own identifying information: Portions Copyright
|
|
# [year] [name of copyright owner]
|
|
-->
|
|
|
|
<!--
|
|
# @(#)pom.xml
|
|
# Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.
|
|
#
|
|
# END_HEADER - DO NOT EDIT
|
|
-->
|
|
<project>
|
|
<parent>
|
|
<artifactId>build-common</artifactId>
|
|
<groupId>open-jbi-components</groupId>
|
|
<version>1.1</version>
|
|
<relativePath>../../build-common</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>open-jbi-components</groupId>
|
|
<artifactId>wfse_def</artifactId>
|
|
<name>wfse</name>
|
|
<version>${wfse.artifact.version}</version>
|
|
<description>work flow service engine definitions</description>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>${project.artifactId}-fetch-deps</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/xmlbean-task</outputDirectory>
|
|
<stripVersion>true</stripVersion>
|
|
<excludeTransitive>true</excludeTransitive>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>${project.artifactId}-xmlbean</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<copy todir="${project.build.directory}/lib">
|
|
<fileset dir="${project.build.sourceDirectory}" />
|
|
</copy>
|
|
<taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean">
|
|
<classpath>
|
|
<pathelement path="${project.build.directory}/xmlbean-task/jsr173_api.jar"/>
|
|
<pathelement path="${project.build.directory}/xmlbean-task/xbean.jar"/>
|
|
</classpath>
|
|
</taskdef>
|
|
|
|
<xmlbean schema="${project.build.directory}/lib"
|
|
classgendir="${project.build.outputDirectory}/xmlbean"
|
|
destfile="${project.build.directory}/lib/wfse_def.jar"
|
|
srcgendir="${project.build.directory}/lib/java"
|
|
classpathref="maven.compile.classpath"
|
|
javasource="1.5"
|
|
source="1.5"
|
|
/>
|
|
<unjar src="${project.build.directory}/lib/wfse_def.jar"
|
|
dest="${project.build.outputDirectory}" />
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>xmlbeans</groupId>
|
|
<artifactId>jsr173_api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xmlbeans</groupId>
|
|
<artifactId>xbean</artifactId>
|
|
<!-- <version>2.0.0</version>-->
|
|
</dependency>
|
|
|
|
<!-- <dependency>
|
|
<groupId>sun</groupId>
|
|
<artifactId>tools</artifactId>
|
|
<scope>system</scope>
|
|
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
|
</dependency>
|
|
-->
|
|
</dependencies>
|
|
</project>
|