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

139 lines
5.5 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>wsdlextlib-installer</artifactId>
<name>sun-wsdl-ext-library</name>
<version>${wsdlextsl.artifact.version}</version>
<description>Installs the Wsdl Extension SL</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.outputDirectory}</outputDirectory>
<stripVersion>true</stripVersion>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Bundle-SymbolicName>sun-wsdl-ext-library</Bundle-SymbolicName>
<Bundle-Name>Sun Wsdl Extension Library</Bundle-Name>
<Bundle-Description>A collection of wsdl utilities for JBI components.</Bundle-Description>
<Bundle-Version>${OSGI_VERSION}</Bundle-Version>
<_removeheaders>${OSGI_MANIFEST_REMOVE_HEADERS}</_removeheaders>
<Export-Package>
!org.w3c.dom,
!javax.xml.namespace,
*;-noimport:=true;-nouses:=true
</Export-Package>
<Bundle-ClassPath>
wsdl4j.jar,
wsdl4jext.jar,
customized-xmlbeans.jar
</Bundle-ClassPath>
<Import-Package>
org.w3c.dom,
javax.xml.namespace,
!com.sun.javadoc,
!com.sun.tools.javadoc,
!org.apache.tools.ant.*,
!org.apache.xml.resolver.*,
!xmlbean,
!net.sf.saxon.*,
!org.apache.xmlbeans.impl.xpath.*,
!org.apache.xmlbeans.impl.xquery.*,
*;-nouses:=true
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>xml-resolver</groupId>
<artifactId>xml-resolver</artifactId>
</dependency>
<dependency>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>customized-xmlbeans</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>wsdl4jext</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>