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

227 lines
8.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>hl7bc-installer</artifactId>
<name>sun-hl7-binding</name>
<version>${hl7bc.artifact.version}</version>
<description>hl7 packaging description</description>
<build>
<resources>
<resource>
<targetPath>META-INF</targetPath>
<directory>src</directory>
<filtering>true</filtering>
<includes>
<include>*.xml</include>
<include>*.xsd</include>
</includes>
</resource>
</resources>
<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}/lib</outputDirectory>
<stripVersion>true</stripVersion>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</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-hl7-binding</Bundle-SymbolicName>
<Bundle-Name>Sun HL7 Binding</Bundle-Name>
<Bundle-Description>HL7 binding</Bundle-Description>
<Bundle-Version>${OSGI_VERSION}</Bundle-Version>
<_removeheaders>${OSGI_MANIFEST_REMOVE_HEADERS}, Export-Package</_removeheaders>
<Export-Package>
*;-noimport:=true
</Export-Package>
<Bundle-ClassPath>
lib/hl7bcimpl.jar,
lib/wsdl4j.jar,
lib/resolver.jar,
lib/componentsl.jar,
lib/mina-core.jar,
lib/slf4j-api.jar,
lib/slf4j-simple.jar,
lib/common-util.jar,
lib/qos.jar,
lib/axiondb.jar,
lib/net.sf.hulp.meas.itf.jar,
lib/net.sf.hulp.meas.impl.jar
</Bundle-ClassPath>
<Import-Package>
!com.sun.sbmeapi.*,
!com.sun.sbme.api.*,
!com.sun.rowset.*,
!org.jdom.*,
!com.sun.codemodel,
!com.sun.tools.xjc.*,
!org.slf4j,
!org.slf4j.spi,
!org.slf4j.helpers,
!org.apache.mina.filter.codec,
!org.apache.mina.common,
javax.xml.namespace,
*;-nouses:=true
</Import-Package>
<!-- HL7 BC loads JNDI provider classes, JAXB classes -->
<!--<DynamicImport-Package>
com.sun.xml.bind.v2,
org.osjava.sj ,
org.osjava.sj.memory,
javax.sql,
org.apache.derby.jdbc
</DynamicImport-Package>-->
<DynamicImport-Package>
*
</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>hl7bcimpl</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>wsdl4j</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>componentsl</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>resolver</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>mina-core</artifactId>
<optional>true</optional>
<version>OJC-${jbicomps.currentVersion}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>qos</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>common-util</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>open-jbi-components</groupId>
<artifactId>axiondb</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.hulp.meas</groupId>
<artifactId>net.sf.hulp.meas.itf</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.hulp.meas</groupId>
<artifactId>net.sf.hulp.meas.impl</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>