blob: bdf4b2b1af022fed640e8f4bb4aceff9b08ebf37 [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>
Freeman Yue Fang3eb6d292009-05-14 06:16:32 +000026 <artifactId>karaf</artifactId>
Guillaume Nodetabe56002009-08-25 09:03:55 +000027 <version>0.9.0-SNAPSHOT</version>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000028 </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>
Guillaume Nodetabe56002009-08-25 09:03:55 +000033 <version>0.9.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>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +000038 <groupId>jline</groupId>
39 <artifactId>jline</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000040 </dependency>
41 <dependency>
42 <groupId>org.apache.sshd</groupId>
43 <artifactId>sshd-core</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000044 </dependency>
45 <dependency>
46 <groupId>org.slf4j</groupId>
47 <artifactId>slf4j-api</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.slf4j</groupId>
51 <artifactId>slf4j-nop</artifactId>
52 </dependency>
53 </dependencies>
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>maven-bundle-plugin</artifactId>
59 <configuration>
60 <instructions>
61 <_donotcopy>(CVS|.svn|config.properties)</_donotcopy>
Gert Vanthienen607b8522009-05-02 19:57:13 +000062 <Main-Class>org.apache.felix.karaf.client.Main</Main-Class>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000063 <Class-Path>
Guillaume Nodet6902c052009-05-03 20:01:02 +000064 ../system/org/apache/sshd/sshd-core/${sshd.version}/sshd-core-${sshd.version}.jar
65 ../system/org/apache/mina/mina-core/${mina.version}/mina-core-${mina.version}.jar
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +000066 ../system/org/apache/felix/karaf/gshell/org.apache.felix.karaf.gshell.console/${pom.version}/org.apache.felix.karaf.gshell.console-${pom.version}.jar
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000067 </Class-Path>
Guillaume Nodet874ecc82009-05-04 07:56:47 +000068 <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name>
Gert Vanthienen607b8522009-05-02 19:57:13 +000069 <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000070 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Guillaume Nodet3e9a4282009-05-04 16:30:02 +000071 <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000072 <Private-Package>
Gert Vanthienen607b8522009-05-02 19:57:13 +000073 org.apache.felix.karaf.client;-split-package:=merge-first,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000074 org.slf4j;-split-package:=merge-first,
75 org.slf4j.spi;-split-package:=merge-first,
76 org.slf4j.helpers;-split-package:=merge-first,
77 org.slf4j.impl;-split-package:=merge-first,
78 META-INF;-split-package:=merge-first
79 </Private-Package>
80 <Import-Package>!*</Import-Package>
81 </instructions>
82 <unpackBundle>true</unpackBundle>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-shade-plugin</artifactId>
88 <executions>
89 <execution>
90 <phase>package</phase>
91 <goals>
92 <goal>shade</goal>
93 </goals>
94 <configuration>
95 <artifactSet>
96 <includes>
97 <include>${project.groupId}:${project.artifactId}</include>
98 <include>org.slf4j:slf4j-api</include>
99 <include>org.slf4j:slf4j-nop</include>
100 </includes>
101 </artifactSet>
102 <filters>
103 <filter>
104 <artifact>org.slf4j:slf4j-api</artifact>
105 <excludes>
106 <exclude>org/slf4j/**</exclude>
107 </excludes>
108 </filter>
109 <filter>
110 <artifact>org.slf4j:slf4j-nop</artifact>
111 <excludes>
112 <exclude>org/slf4j/**</exclude>
113 </excludes>
114 </filter>
115 </filters>
116 <createSourcesJar>${createSourcesJar}</createSourcesJar>
117 <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
118 <createDependencyReducedPom>true</createDependencyReducedPom>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
123 </plugins>
124 <resources>
125 <resource>
126 <directory>src/main/resources</directory>
127 <filtering>true</filtering>
128 </resource>
129 </resources>
130 </build>
131
132
133</project>