blob: 283e47bbf48cf7a104ef84c4b45f401047de1336 [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>
Guillaume Nodet6902c052009-05-03 20:01:02 +000066 ../system/org/apache/sshd/sshd-core/${sshd.version}/sshd-core-${sshd.version}.jar
67 ../system/org/apache/mina/mina-core/${mina.version}/mina-core-${mina.version}.jar
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000068 ../system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jline/${jline.version}/org.apache.servicemix.bundles.jline-${jline.version}.jar
69 </Class-Path>
Guillaume Nodet874ecc82009-05-04 07:56:47 +000070 <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name>
Gert Vanthienen607b8522009-05-02 19:57:13 +000071 <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000072 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Gert Vanthienen607b8522009-05-02 19:57:13 +000073 <Export-Package>org.apache.felix.karaf.client</Export-Package>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000074 <Private-Package>
Gert Vanthienen607b8522009-05-02 19:57:13 +000075 org.apache.felix.karaf.client;-split-package:=merge-first,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000076 org.slf4j;-split-package:=merge-first,
77 org.slf4j.spi;-split-package:=merge-first,
78 org.slf4j.helpers;-split-package:=merge-first,
79 org.slf4j.impl;-split-package:=merge-first,
80 META-INF;-split-package:=merge-first
81 </Private-Package>
82 <Import-Package>!*</Import-Package>
83 </instructions>
84 <unpackBundle>true</unpackBundle>
85 </configuration>
86 </plugin>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-shade-plugin</artifactId>
90 <executions>
91 <execution>
92 <phase>package</phase>
93 <goals>
94 <goal>shade</goal>
95 </goals>
96 <configuration>
97 <artifactSet>
98 <includes>
99 <include>${project.groupId}:${project.artifactId}</include>
100 <include>org.slf4j:slf4j-api</include>
101 <include>org.slf4j:slf4j-nop</include>
102 </includes>
103 </artifactSet>
104 <filters>
105 <filter>
106 <artifact>org.slf4j:slf4j-api</artifact>
107 <excludes>
108 <exclude>org/slf4j/**</exclude>
109 </excludes>
110 </filter>
111 <filter>
112 <artifact>org.slf4j:slf4j-nop</artifact>
113 <excludes>
114 <exclude>org/slf4j/**</exclude>
115 </excludes>
116 </filter>
117 </filters>
118 <createSourcesJar>${createSourcesJar}</createSourcesJar>
119 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
120 <createDependencyReducedPom>true</createDependencyReducedPom>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 <resources>
127 <resource>
128 <directory>src/main/resources</directory>
129 <filtering>true</filtering>
130 </resource>
131 </resources>
132 </build>
133
134
135</project>