| <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/maven-v4_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.kernel</groupId> | |
| <artifactId>kernel</artifactId> | |
| <version>1.2.0-SNAPSHOT</version> | |
| </parent> | |
| <groupId>org.apache.servicemix.kernel</groupId> | |
| <artifactId>org.apache.servicemix.kernel.client</artifactId> | |
| <packaging>bundle</packaging> | |
| <version>1.2.0-SNAPSHOT</version> | |
| <name>Apache ServiceMix Kernel :: Client</name> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.servicemix.kernel.gshell</groupId> | |
| <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-jdk14</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-nop</artifactId> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <configuration> | |
| <instructions> | |
| <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> | |
| <Main-Class>org.apache.servicemix.kernel.client.Main</Main-Class> | |
| <Class-Path> | |
| ../system/com/google/code/sshd/sshd/${sshd.version}/sshd-${sshd.version}.jar | |
| ../system/org/apache/servicemix/kernel/gshell/org.apache.servicemix.kernel.gshell.core/${pom.version}/org.apache.servicemix.kernel.gshell.core-${pom.version}.jar | |
| ../system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.mina/${mina.version}/org.apache.servicemix.bundles.mina-${mina.version}.jar | |
| ../system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jline/${jline.version}/org.apache.servicemix.bundles.jline-${jline.version}.jar | |
| </Class-Path> | |
| <Bundle-Name>Apache ServiceMix Shell Client</Bundle-Name> | |
| <Bundle-Description>Shell client bundle for Apache ServiceMix Kernel.</Bundle-Description> | |
| <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> | |
| <Export-Package>org.apache.servicemix.kernel.client</Export-Package> | |
| <Private-Package> | |
| org.apache.servicemix.kernel.client;-split-package:=merge-first, | |
| org.slf4j;-split-package:=merge-first, | |
| org.slf4j.spi;-split-package:=merge-first, | |
| org.slf4j.helpers;-split-package:=merge-first, | |
| org.slf4j.impl;-split-package:=merge-first, | |
| META-INF;-split-package:=merge-first | |
| </Private-Package> | |
| <Import-Package>!*</Import-Package> | |
| </instructions> | |
| <unpackBundle>true</unpackBundle> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <artifactSet> | |
| <includes> | |
| <include>${project.groupId}:${project.artifactId}</include> | |
| <include>org.slf4j:slf4j-api</include> | |
| <include>org.slf4j:slf4j-nop</include> | |
| </includes> | |
| </artifactSet> | |
| <filters> | |
| <filter> | |
| <artifact>org.slf4j:slf4j-api</artifact> | |
| <excludes> | |
| <exclude>org/slf4j/**</exclude> | |
| </excludes> | |
| </filter> | |
| <filter> | |
| <artifact>org.slf4j:slf4j-nop</artifact> | |
| <excludes> | |
| <exclude>org/slf4j/**</exclude> | |
| </excludes> | |
| </filter> | |
| </filters> | |
| <createSourcesJar>${createSourcesJar}</createSourcesJar> | |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> | |
| <createDependencyReducedPom>true</createDependencyReducedPom> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| <resources> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <filtering>true</filtering> | |
| </resource> | |
| </resources> | |
| </build> | |
| </project> |