Guillaume Nodet | 6896d70 | 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 | 05fac96 | 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 | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf</groupId> |
Freeman Yue Fang | fe865a6 | 2009-05-14 06:16:32 +0000 | [diff] [blame] | 25 | <artifactId>karaf</artifactId> |
Guillaume Nodet | 6f17f4f | 2009-09-22 09:15:21 +0000 | [diff] [blame] | 26 | <version>1.1.0-SNAPSHOT</version> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Gert Vanthienen | f54a839 | 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 | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>bundle</packaging> |
Guillaume Nodet | 6f17f4f | 2009-09-22 09:15:21 +0000 | [diff] [blame] | 32 | <version>1.1.0-SNAPSHOT</version> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Client</name> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 35 | <properties> |
| 36 | <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| 37 | </properties> |
| 38 | |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 41 | <groupId>jline</groupId> |
| 42 | <artifactId>jline</artifactId> |
Guillaume Nodet | 129433d | 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 | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.slf4j</groupId> |
| 50 | <artifactId>slf4j-api</artifactId> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.slf4j</groupId> |
| 54 | <artifactId>slf4j-nop</artifactId> |
| 55 | </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 Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 65 | <Main-Class>org.apache.felix.karaf.client.Main</Main-Class> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 66 | <Class-Path> |
Guillaume Nodet | 0525a79 | 2009-05-03 20:01:02 +0000 | [diff] [blame] | 67 | ../system/org/apache/sshd/sshd-core/${sshd.version}/sshd-core-${sshd.version}.jar |
| 68 | ../system/org/apache/mina/mina-core/${mina.version}/mina-core-${mina.version}.jar |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 69 | ../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 | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 70 | </Class-Path> |
Guillaume Nodet | 1becb5b | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 71 | <Bundle-Name>Apache Felix Karaf Shell Client</Bundle-Name> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 72 | <Bundle-Description>Shell client bundle for Apache Felix Karaf.</Bundle-Description> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 73 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 74 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 75 | <Private-Package> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 76 | org.apache.felix.karaf.client;-split-package:=merge-first, |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 77 | org.slf4j;-split-package:=merge-first, |
| 78 | org.slf4j.spi;-split-package:=merge-first, |
| 79 | org.slf4j.helpers;-split-package:=merge-first, |
| 80 | org.slf4j.impl;-split-package:=merge-first, |
| 81 | META-INF;-split-package:=merge-first |
| 82 | </Private-Package> |
| 83 | <Import-Package>!*</Import-Package> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 84 | </instructions> |
| 85 | <unpackBundle>true</unpackBundle> |
| 86 | </configuration> |
| 87 | </plugin> |
| 88 | <plugin> |
| 89 | <groupId>org.apache.maven.plugins</groupId> |
| 90 | <artifactId>maven-shade-plugin</artifactId> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <phase>package</phase> |
| 94 | <goals> |
| 95 | <goal>shade</goal> |
| 96 | </goals> |
| 97 | <configuration> |
| 98 | <artifactSet> |
| 99 | <includes> |
| 100 | <include>${project.groupId}:${project.artifactId}</include> |
| 101 | <include>org.slf4j:slf4j-api</include> |
| 102 | <include>org.slf4j:slf4j-nop</include> |
| 103 | </includes> |
| 104 | </artifactSet> |
| 105 | <filters> |
| 106 | <filter> |
| 107 | <artifact>org.slf4j:slf4j-api</artifact> |
| 108 | <excludes> |
| 109 | <exclude>org/slf4j/**</exclude> |
| 110 | </excludes> |
| 111 | </filter> |
| 112 | <filter> |
| 113 | <artifact>org.slf4j:slf4j-nop</artifact> |
| 114 | <excludes> |
| 115 | <exclude>org/slf4j/**</exclude> |
| 116 | </excludes> |
| 117 | </filter> |
| 118 | </filters> |
| 119 | <createSourcesJar>${createSourcesJar}</createSourcesJar> |
| 120 | <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 121 | <createDependencyReducedPom>true</createDependencyReducedPom> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | </plugins> |
| 127 | <resources> |
| 128 | <resource> |
| 129 | <directory>src/main/resources</directory> |
| 130 | <filtering>true</filtering> |
| 131 | </resource> |
| 132 | </resources> |
| 133 | </build> |
| 134 | |
| 135 | |
| 136 | </project> |