openesb-components/ojc-core/bpelmonitortool/packaging/pom.xml

140 lines
5.4 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>package-common</artifactId>
<groupId>open-jbi-components</groupId>
<version>1.1</version>
<relativePath>../../build-common/package-common</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>open-jbi-components</groupId>
<artifactId>bpelsemonitor</artifactId>
<name>bpelmonitor-zip</name>
<version>${bpelmonitortool.artifact.version}</version>
<description>bpel monitor zip</description>
<build>
<resources>
<resource>
<directory>src</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<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.outputDirectory}</outputDirectory>
<stripVersion>true</stripVersion>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>${project.artifactId}-rename-jars</id>
<phase>process-classes</phase>
<goals><goal>run</goal></goals>
<configuration>
<tasks>
<move
file="${project.build.outputDirectory}/jbi-admin-common.jar"
tofile="${project.build.outputDirectory}/lib/jbi-admin-common.jar" />
<move
file="${project.build.outputDirectory}/common-util.jar"
tofile="${project.build.outputDirectory}/lib/common-util.jar" />
<move
file="${project.build.outputDirectory}/jbi.jar"
tofile="${project.build.outputDirectory}/lib/jbi.jar" />
</tasks>
</configuration>
</execution>
<execution>
<!-- when parent pom is run, it generates javadoc to this projects *src* dir. PLEASE FIX THIS!! RT 5/14/08 -->
<id>${project.artifactId}-remove-javadoc</id>
<phase>process-classes</phase>
<goals><goal>run</goal></goals>
<configuration>
<tasks>
<delete dir="${project.build.sourceDirectory}/docs/javadoc" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>bpelmonitor-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>bpelmonitor-tool</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.open-esb.core</groupId>
<artifactId>jbi-admin-common</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>common-util</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-esb</groupId>
<artifactId>jbi</artifactId>
<optional>true</optional>
<version>1.1</version>
</dependency>
</dependencies>
</project>