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