blob: bcaacba0d51cf054cb030036a48f072dcaa93120 [file] [log] [blame]
Guillaume Nodet6896d702009-09-22 09:11:12 +00001<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">
Guillaume Nodet05fac962009-04-27 10:01:58 +00002
3 <!--
4
5 Licensed to the Apache Software Foundation (ASF) under one or more
6 contributor license agreements. See the NOTICE file distributed with
7 this work for additional information regarding copyright ownership.
8 The ASF licenses this file to You under the Apache License, Version 2.0
9 (the "License"); you may not use this file except in compliance with
10 the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 -->
20
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000024 <groupId>org.apache.felix.karaf</groupId>
Freeman Yue Fangfe865a62009-05-14 06:16:32 +000025 <artifactId>karaf</artifactId>
Guillaume Nodet7196f712010-06-18 12:11:48 +000026 <version>1.7.0-SNAPSHOT</version>
Guillaume Nodet05fac962009-04-27 10:01:58 +000027 </parent>
28
Gert Vanthienenf54a8392009-05-02 19:57:13 +000029 <groupId>org.apache.felix.karaf</groupId>
30 <artifactId>org.apache.felix.karaf.client</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000031 <packaging>bundle</packaging>
Guillaume Nodet7196f712010-06-18 12:11:48 +000032 <version>1.7.0-SNAPSHOT</version>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000033 <name>Apache Felix Karaf :: Client</name>
Guillaume Nodet05fac962009-04-27 10:01:58 +000034
Guillaume Nodet23a0f3d2009-09-18 20:14:54 +000035 <properties>
36 <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
37 </properties>
38
Guillaume Nodet05fac962009-04-27 10:01:58 +000039 <dependencies>
40 <dependency>
Guillaume Nodet129433d2009-07-09 08:29:14 +000041 <groupId>org.apache.sshd</groupId>
42 <artifactId>sshd-core</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000043 </dependency>
44 <dependency>
Guillaume Nodetf529de32009-10-28 18:59:18 +000045 <groupId>org.apache.felix.karaf.shell</groupId>
46 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
47 </dependency>
48 <dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +000049 <groupId>org.slf4j</groupId>
50 <artifactId>slf4j-api</artifactId>
51 </dependency>
52 <dependency>
53 <groupId>org.slf4j</groupId>
Guillaume Nodet3daf0b52009-10-30 11:41:19 +000054 <artifactId>slf4j-simple</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000055 </dependency>
56 </dependencies>
57 <build>
58 <plugins>
59 <plugin>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
62 <configuration>
63 <instructions>
64 <_donotcopy>(CVS|.svn|config.properties)</_donotcopy>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000065 <Main-Class>org.apache.felix.karaf.client.Main</Main-Class>
Guillaume Nodetb59922a2010-06-08 11:18:31 +000066 <!-- Do not use \r\n in the Class-Path header because the maven-bundle-plugin remove those -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000067 <Class-Path>
Guillaume Nodetb59922a2010-06-08 11:18:31 +000068 ../system/org/apache/sshd/sshd-core/${sshd.version}/sshd-core-${sshd.version}.jar ../system/org/apache/mina/mina-core/${mina.version}/mina-core-${mina.version}.jar ../system/org/apache/felix/karaf/shell/org.apache.felix.karaf.shell.console/${project.version}/org.apache.felix.karaf.shell.console-${project.version}.jar
Guillaume Nodet05fac962009-04-27 10:01:58 +000069 </Class-Path>
Guillaume Nodet1becb5b2009-05-04 07:56:47 +000070 <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000071 <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description>
Chris Custine80977a92010-05-16 08:24:14 +000072 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
73 <Export-Package>${project.artifactId}*;version=${project.version}</Export-Package>
Guillaume Nodet05fac962009-04-27 10:01:58 +000074 <Private-Package>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000075 org.apache.felix.karaf.client;-split-package:=merge-first,
Guillaume Nodet05fac962009-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>
Guillaume Nodet05fac962009-04-27 10:01:58 +000083 </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>