| <?xml version="1.0" encoding="UTF-8"?> |
| <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/xsd/maven-4.0.0.xsd"> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>jbi</artifactId> |
| <version>1.6.0</version> |
| </parent> |
| |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.deployer</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache ServiceMix :: JBI :: Deployer</name> |
| |
| <description>Deployer for JBI artifacts</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.jbi-api-1.0</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.fileinstall</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-classloader</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.ant</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.fusesource.commonman</groupId> |
| <artifactId>commons-management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack-classes</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-classloader</artifactId> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>unpack-sources</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-classloader</artifactId> |
| <classifier>sources</classifier> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}/sources</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Description>${project.description}</Bundle-Description> |
| <Import-Package> |
| !org.apache.xbean.classloader, |
| javax.transaction, |
| javax.management.loading, |
| org.apache.geronimo.transaction.manager;resolution:=optional, |
| org.springframework.transaction;version="${spring.import.range}";resolution:=optional, |
| org.apache.servicemix.jbi.runtime.impl, |
| org.apache.tools.ant*;resolution:=optional, |
| * |
| </Import-Package> |
| <Include-Resource> |
| {maven-resources}, |
| org/apache/xbean/classloader/MultiParentClassLoader.class=target/classes/org/apache/xbean/classloader/MultiParentClassLoader.class, |
| org/apache/xbean/classloader/NamedClassLoader.class=target/classes/org/apache/xbean/classloader/NamedClassLoader.class, |
| org/apache/xbean/classloader/DestroyableClassLoader.class=target/classes/org/apache/xbean/classloader/DestroyableClassLoader.class |
| </Include-Resource> |
| <Export-Package> |
| ${project.artifactId}*;version="${project.version}";-noimport:=true |
| </Export-Package> |
| <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |