Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 1 | <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 Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 2 | |
| 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 Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf</groupId> |
Freeman Yue Fang | 3eb6d29 | 2009-05-14 06:16:32 +0000 | [diff] [blame] | 25 | <artifactId>karaf</artifactId> |
Guillaume Nodet | 6f49a40 | 2009-11-27 12:27:23 +0000 | [diff] [blame^] | 26 | <version>1.2.0</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf</groupId> |
| 30 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>bundle</packaging> |
Guillaume Nodet | 6f49a40 | 2009-11-27 12:27:23 +0000 | [diff] [blame^] | 32 | <version>1.2.0</version> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Client</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 35 | <properties> |
| 36 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 37 | </properties> |
| 38 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Guillaume Nodet | f9b2bf4 | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 41 | <groupId>jline</groupId> |
| 42 | <artifactId>jline</artifactId> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.apache.sshd</groupId> |
| 46 | <artifactId>sshd-core</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 47 | </dependency> |
| 48 | <dependency> |
Guillaume Nodet | 3263146 | 2009-10-28 18:59:18 +0000 | [diff] [blame] | 49 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 50 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
| 51 | </dependency> |
| 52 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 53 | <groupId>org.slf4j</groupId> |
| 54 | <artifactId>slf4j-api</artifactId> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.slf4j</groupId> |
Guillaume Nodet | 36ac3a4 | 2009-10-30 11:41:19 +0000 | [diff] [blame] | 58 | <artifactId>slf4j-simple</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 59 | </dependency> |
| 60 | </dependencies> |
| 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.felix</groupId> |
| 65 | <artifactId>maven-bundle-plugin</artifactId> |
| 66 | <configuration> |
| 67 | <instructions> |
| 68 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 69 | <Main-Class>org.apache.felix.karaf.client.Main</Main-Class> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 70 | <Class-Path> |
Guillaume Nodet | 6902c05 | 2009-05-03 20:01:02 +0000 | [diff] [blame] | 71 | ../system/org/apache/sshd/sshd-core/${sshd.version}/sshd-core-${sshd.version}.jar |
| 72 | ../system/org/apache/mina/mina-core/${mina.version}/mina-core-${mina.version}.jar |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 73 | ../system/org/apache/felix/karaf/shell/org.apache.felix.karaf.shell.console/${pom.version}/org.apache.felix.karaf.shell.console-${pom.version}.jar |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 74 | </Class-Path> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 75 | <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 76 | <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 77 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 78 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 79 | <Private-Package> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 80 | org.apache.felix.karaf.client;-split-package:=merge-first, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 81 | org.slf4j;-split-package:=merge-first, |
| 82 | org.slf4j.spi;-split-package:=merge-first, |
| 83 | org.slf4j.helpers;-split-package:=merge-first, |
| 84 | org.slf4j.impl;-split-package:=merge-first, |
| 85 | META-INF;-split-package:=merge-first |
| 86 | </Private-Package> |
| 87 | <Import-Package>!*</Import-Package> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 88 | </instructions> |
| 89 | <unpackBundle>true</unpackBundle> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | <plugin> |
| 93 | <groupId>org.apache.maven.plugins</groupId> |
| 94 | <artifactId>maven-shade-plugin</artifactId> |
| 95 | <executions> |
| 96 | <execution> |
| 97 | <phase>package</phase> |
| 98 | <goals> |
| 99 | <goal>shade</goal> |
| 100 | </goals> |
| 101 | <configuration> |
| 102 | <artifactSet> |
| 103 | <includes> |
| 104 | <include>${project.groupId}:${project.artifactId}</include> |
| 105 | <include>org.slf4j:slf4j-api</include> |
| 106 | <include>org.slf4j:slf4j-nop</include> |
| 107 | </includes> |
| 108 | </artifactSet> |
| 109 | <filters> |
| 110 | <filter> |
| 111 | <artifact>org.slf4j:slf4j-api</artifact> |
| 112 | <excludes> |
| 113 | <exclude>org/slf4j/**</exclude> |
| 114 | </excludes> |
| 115 | </filter> |
| 116 | <filter> |
| 117 | <artifact>org.slf4j:slf4j-nop</artifact> |
| 118 | <excludes> |
| 119 | <exclude>org/slf4j/**</exclude> |
| 120 | </excludes> |
| 121 | </filter> |
| 122 | </filters> |
| 123 | <createSourcesJar>${createSourcesJar}</createSourcesJar> |
| 124 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 125 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | </plugins> |
| 131 | <resources> |
| 132 | <resource> |
| 133 | <directory>src/main/resources</directory> |
| 134 | <filtering>true</filtering> |
| 135 | </resource> |
| 136 | </resources> |
| 137 | </build> |
| 138 | |
| 139 | |
| 140 | </project> |