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 | b21cadf | 2010-05-18 15:47:08 +0000 | [diff] [blame^] | 26 | <version>1.6.0</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 | b21cadf | 2010-05-18 15:47:08 +0000 | [diff] [blame^] | 32 | <version>1.6.0</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> |
| 70 | <dependency> |
| 71 | <groupId>org.apache.felix.gogo</groupId> |
| 72 | <artifactId>org.apache.felix.gogo.commands</artifactId> |
| 73 | </dependency> |
| 74 | </dependencies> |
| 75 | |
| 76 | <build> |
| 77 | <resources> |
| 78 | <resource> |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 79 | <directory>${project.basedir}/src/main/resources</directory> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 80 | <includes> |
| 81 | <include>**/*</include> |
| 82 | </includes> |
| 83 | </resource> |
| 84 | <resource> |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 85 | <directory>${project.basedir}/src/main/filtered-resources</directory> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 86 | <filtering>true</filtering> |
| 87 | <includes> |
| 88 | <include>**/*</include> |
| 89 | </includes> |
| 90 | </resource> |
| 91 | </resources> |
| 92 | <plugins> |
| 93 | <plugin> |
| 94 | <groupId>org.codehaus.mojo</groupId> |
| 95 | <artifactId>exec-maven-plugin</artifactId> |
| 96 | <configuration> |
| 97 | <mainClass>Main</mainClass> |
| 98 | </configuration> |
| 99 | </plugin> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.felix</groupId> |
| 102 | <artifactId>maven-bundle-plugin</artifactId> |
| 103 | <configuration> |
| 104 | <instructions> |
Chris Custine | 60ecb33 | 2010-05-16 08:50:14 +0000 | [diff] [blame] | 105 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 106 | <Import-Package> |
Guillaume Nodet | 23a0f3d | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 107 | !org.apache.felix.karaf.shell.console*, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 108 | !org.apache.felix.gogo.commands*, |
Guillaume Nodet | e73545e | 2009-09-18 20:25:06 +0000 | [diff] [blame] | 109 | !org.fusesource.jansi*, |
| 110 | !javax.swing, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 111 | !jline, |
| 112 | com.sun.jna*;resolution:=optional, |
Guillaume Nodet | e668bc3 | 2009-07-27 08:03:39 +0000 | [diff] [blame] | 113 | org.apache.felix.karaf.branding;resolution:=optional, |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 114 | * |
| 115 | </Import-Package> |
| 116 | <Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 117 | org.apache.felix.gogo.commands*;version=${felix.gogo.version}, |
Chris Custine | 80977a9 | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 118 | org.apache.felix.karaf.shell.console*;version=${project.version}, |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 119 | org.fusesource.jansi;version=${jansi.version}, |
Chris Custine | 5c5f790 | 2009-11-06 05:14:37 +0000 | [diff] [blame] | 120 | jline;version=${jline.version} |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 121 | </Export-Package> |
Guillaume Nodet | cb2db1b | 2009-07-10 06:56:47 +0000 | [diff] [blame] | 122 | <Private-Package> |
| 123 | org.fusesource.jansi.internal |
| 124 | </Private-Package> |
Chris Custine | 79c7315 | 2010-02-09 20:15:29 +0000 | [diff] [blame] | 125 | <Bundle-NativeCode>jline/jline32.dll; |
| 126 | osname=Win32; |
| 127 | processor=x86, |
| 128 | jline/jline64.dll; |
| 129 | osname=Win32; |
| 130 | processor=x86-64, |
| 131 | * |
| 132 | </Bundle-NativeCode> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 133 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
| 134 | </instructions> |
| 135 | <unpackBundle>true</unpackBundle> |
| 136 | </configuration> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
| 140 | </project> |