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