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 | 129433d | 2009-07-09 08:29:14 +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> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 25 | <artifactId>shell</artifactId> |
Guillaume Nodet | e21429b | 2010-05-20 20:08:17 +0000 | [diff] [blame] | 26 | <version>1.7.0-SNAPSHOT</version> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 30 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 31 | <packaging>bundle</packaging> |
Guillaume Nodet | e21429b | 2010-05-20 20:08:17 +0000 | [diff] [blame] | 32 | <version>1.7.0-SNAPSHOT</version> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Shell Console</name> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 34 | |
| 35 | <description> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 36 | Provides the OSGi Shell integration |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 37 | </description> |
| 38 | |
Guillaume Nodet | e73545e | 2009-09-18 20:25:06 +0000 | [diff] [blame] | 39 | <properties> |
| 40 | <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory> |
| 41 | </properties> |
| 42 | |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 43 | <dependencies> |
| 44 | <dependency> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 45 | <groupId>jline</groupId> |
| 46 | <artifactId>jline</artifactId> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.fusesource.jansi</groupId> |
| 50 | <artifactId>jansi</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.apache.felix</groupId> |
| 54 | <artifactId>org.osgi.core</artifactId> |
| 55 | <scope>provided</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.apache.felix</groupId> |
| 59 | <artifactId>org.osgi.compendium</artifactId> |
| 60 | <scope>provided</scope> |
| 61 | </dependency> |
| 62 | <dependency> |
Guillaume Nodet | cf99b61 | 2010-02-20 20:23:14 +0000 | [diff] [blame] | 63 | <groupId>org.apache.aries.blueprint</groupId> |
| 64 | <artifactId>org.apache.aries.blueprint</artifactId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.apache.felix.gogo</groupId> |
| 68 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 69 | </dependency> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 70 | </dependencies> |
| 71 | |
| 72 | <build> |
| 73 | <resources> |
| 74 | <resource> |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 75 | <directory>${project.basedir}/src/main/resources</directory> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 76 | <includes> |
| 77 | <include>**/*</include> |
| 78 | </includes> |
| 79 | </resource> |
| 80 | <resource> |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 81 | <directory>${project.basedir}/src/main/filtered-resources</directory> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 82 | <filtering>true</filtering> |
| 83 | <includes> |
| 84 | <include>**/*</include> |
| 85 | </includes> |
| 86 | </resource> |
| 87 | </resources> |
| 88 | <plugins> |
| 89 | <plugin> |
| 90 | <groupId>org.codehaus.mojo</groupId> |
| 91 | <artifactId>exec-maven-plugin</artifactId> |
| 92 | <configuration> |
| 93 | <mainClass>Main</mainClass> |
| 94 | </configuration> |
| 95 | </plugin> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.felix</groupId> |
| 98 | <artifactId>maven-bundle-plugin</artifactId> |
| 99 | <configuration> |
| 100 | <instructions> |
Chris Custine | 60ecb33 | 2010-05-16 08:50:14 +0000 | [diff] [blame] | 101 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 102 | <Import-Package> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 103 | !org.apache.felix.karaf.shell.console*, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 104 | !org.apache.felix.gogo.commands*, |
Guillaume Nodet | e73545e | 2009-09-18 20:25:06 +0000 | [diff] [blame] | 105 | !org.fusesource.jansi*, |
| 106 | !javax.swing, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 107 | !jline, |
| 108 | com.sun.jna*;resolution:=optional, |
Guillaume Nodet | e668bc3 | 2009-07-27 08:03:39 +0000 | [diff] [blame] | 109 | org.apache.felix.karaf.branding;resolution:=optional, |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 110 | * |
| 111 | </Import-Package> |
| 112 | <Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 113 | org.apache.felix.gogo.commands*;version=${felix.gogo.version}, |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 114 | org.apache.felix.karaf.shell.console*;version=${project.version}, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 115 | org.fusesource.jansi;version=${jansi.version}, |
Chris Custine | 5c5f790 | 2009-11-06 05:14:37 +0000 | [diff] [blame] | 116 | jline;version=${jline.version} |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 117 | </Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 118 | <Private-Package> |
| 119 | org.fusesource.jansi.internal |
| 120 | </Private-Package> |
Chris Custine | 79c7315 | 2010-02-09 20:15:29 +0000 | [diff] [blame] | 121 | <Bundle-NativeCode>jline/jline32.dll; |
| 122 | osname=Win32; |
| 123 | processor=x86, |
| 124 | jline/jline64.dll; |
| 125 | osname=Win32; |
| 126 | processor=x86-64, |
| 127 | * |
| 128 | </Bundle-NativeCode> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 129 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
| 130 | </instructions> |
| 131 | <unpackBundle>true</unpackBundle> |
| 132 | </configuration> |
| 133 | </plugin> |
| 134 | </plugins> |
| 135 | </build> |
| 136 | </project> |