Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 1 | <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 Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix.karaf</groupId> |
Freeman Yue Fang | 3eb6d29 | 2009-05-14 06:16:32 +0000 | [diff] [blame] | 26 | <artifactId>karaf</artifactId> |
Guillaume Nodet | abe5600 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 27 | <version>0.9.0-SNAPSHOT</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 28 | </parent> |
| 29 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 30 | <groupId>org.apache.felix.karaf</groupId> |
| 31 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 32 | <packaging>bundle</packaging> |
Guillaume Nodet | abe5600 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 33 | <version>0.9.0-SNAPSHOT</version> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 34 | <name>Apache Felix Karaf :: Client</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 35 | |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 36 | <properties> |
| 37 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 38 | </properties> |
| 39 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 40 | <dependencies> |
| 41 | <dependency> |
Guillaume Nodet | f9b2bf4 | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 42 | <groupId>jline</groupId> |
| 43 | <artifactId>jline</artifactId> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.apache.sshd</groupId> |
| 47 | <artifactId>sshd-core</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 48 | </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 Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 66 | <Main-Class>org.apache.felix.karaf.client.Main</Main-Class> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 67 | <Class-Path> |
Guillaume Nodet | 6902c05 | 2009-05-03 20:01:02 +0000 | [diff] [blame] | 68 | ../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 Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 70 | ../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] | 71 | </Class-Path> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 72 | <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 73 | <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 74 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 75 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 76 | <Private-Package> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 77 | org.apache.felix.karaf.client;-split-package:=merge-first, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 78 | 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 Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 85 | </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> |