blob: b9bc30ceed0d04cb2bdb042798b84ffc6817c0b0 [file] [log] [blame]
Guillaume Nodet91fab3b2009-04-27 10:01:58 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4 <!--
5
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
Gert Vanthienen607b8522009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000026 <artifactId>kernel</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Gert Vanthienen607b8522009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf</groupId>
31 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000032 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: Client</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000035
36 <dependencies>
37 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000038 <groupId>org.apache.felix.karaf.gshell</groupId>
39 <artifactId>org.apache.felix.karaf.gshell.core</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000040 <exclusions>
41 <exclusion>
42 <groupId>org.slf4j</groupId>
43 <artifactId>slf4j-jdk14</artifactId>
44 </exclusion>
45 </exclusions>
46 </dependency>
47 <dependency>
48 <groupId>org.slf4j</groupId>
49 <artifactId>slf4j-api</artifactId>
50 </dependency>
51 <dependency>
52 <groupId>org.slf4j</groupId>
53 <artifactId>slf4j-nop</artifactId>
54 </dependency>
55 </dependencies>
56 <build>
57 <plugins>
58 <plugin>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>maven-bundle-plugin</artifactId>
61 <configuration>
62 <instructions>
63 <_donotcopy>(CVS|.svn|config.properties)</_donotcopy>
Gert Vanthienen607b8522009-05-02 19:57:13 +000064 <Main-Class>org.apache.felix.karaf.client.Main</Main-Class>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000065 <Class-Path>
66 ../system/com/google/code/sshd/sshd/${sshd.version}/sshd-${sshd.version}.jar
Gert Vanthienen607b8522009-05-02 19:57:13 +000067 ../system/org/apache/felix/karaf/gshell/org.apache.felix.karaf.gshell.core/${pom.version}/org.apache.felix.karaf.gshell.core-${pom.version}.jar
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000068 ../system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.mina/${mina.version}/org.apache.servicemix.bundles.mina-${mina.version}.jar
69 ../system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jline/${jline.version}/org.apache.servicemix.bundles.jline-${jline.version}.jar
70 </Class-Path>
71 <Bundle-Name>Apache ServiceMix Shell Client</Bundle-Name>
Gert Vanthienen607b8522009-05-02 19:57:13 +000072 <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000073 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Gert Vanthienen607b8522009-05-02 19:57:13 +000074 <Export-Package>org.apache.felix.karaf.client</Export-Package>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000075 <Private-Package>
Gert Vanthienen607b8522009-05-02 19:57:13 +000076 org.apache.felix.karaf.client;-split-package:=merge-first,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000077 org.slf4j;-split-package:=merge-first,
78 org.slf4j.spi;-split-package:=merge-first,
79 org.slf4j.helpers;-split-package:=merge-first,
80 org.slf4j.impl;-split-package:=merge-first,
81 META-INF;-split-package:=merge-first
82 </Private-Package>
83 <Import-Package>!*</Import-Package>
84 </instructions>
85 <unpackBundle>true</unpackBundle>
86 </configuration>
87 </plugin>
88 <plugin>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-shade-plugin</artifactId>
91 <executions>
92 <execution>
93 <phase>package</phase>
94 <goals>
95 <goal>shade</goal>
96 </goals>
97 <configuration>
98 <artifactSet>
99 <includes>
100 <include>${project.groupId}:${project.artifactId}</include>
101 <include>org.slf4j:slf4j-api</include>
102 <include>org.slf4j:slf4j-nop</include>
103 </includes>
104 </artifactSet>
105 <filters>
106 <filter>
107 <artifact>org.slf4j:slf4j-api</artifact>
108 <excludes>
109 <exclude>org/slf4j/**</exclude>
110 </excludes>
111 </filter>
112 <filter>
113 <artifact>org.slf4j:slf4j-nop</artifact>
114 <excludes>
115 <exclude>org/slf4j/**</exclude>
116 </excludes>
117 </filter>
118 </filters>
119 <createSourcesJar>${createSourcesJar}</createSourcesJar>
120 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
121 <createDependencyReducedPom>true</createDependencyReducedPom>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 <resources>
128 <resource>
129 <directory>src/main/resources</directory>
130 <filtering>true</filtering>
131 </resource>
132 </resources>
133 </build>
134
135
136</project>