blob: 60bb571024be8b9866b9dcd12e8de0fe7f226cc6 [file] [log] [blame]
Guillaume Nodet6896d702009-09-22 09:11:12 +00001<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 Nodet129433d2009-07-09 08:29:14 +00002
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 Nodet23a0f3d2009-09-18 20:14:54 +000024 <groupId>org.apache.felix.karaf.shell</groupId>
25 <artifactId>shell</artifactId>
Guillaume Nodet7196f712010-06-18 12:11:48 +000026 <version>1.7.0-SNAPSHOT</version>
Guillaume Nodet129433d2009-07-09 08:29:14 +000027 </parent>
28
Guillaume Nodet23a0f3d2009-09-18 20:14:54 +000029 <groupId>org.apache.felix.karaf.shell</groupId>
30 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
Guillaume Nodet129433d2009-07-09 08:29:14 +000031 <packaging>bundle</packaging>
Guillaume Nodet7196f712010-06-18 12:11:48 +000032 <version>1.7.0-SNAPSHOT</version>
Guillaume Nodet23a0f3d2009-09-18 20:14:54 +000033 <name>Apache Felix Karaf :: Shell Console</name>
Guillaume Nodet129433d2009-07-09 08:29:14 +000034
35 <description>
Guillaume Nodet23a0f3d2009-09-18 20:14:54 +000036 Provides the OSGi Shell integration
Guillaume Nodet129433d2009-07-09 08:29:14 +000037 </description>
38
Guillaume Nodete73545e2009-09-18 20:25:06 +000039 <properties>
40 <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
41 </properties>
42
Guillaume Nodet129433d2009-07-09 08:29:14 +000043 <dependencies>
44 <dependency>
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +000045 <groupId>jline</groupId>
46 <artifactId>jline</artifactId>
47 </dependency>
48 <dependency>
49 <groupId>org.fusesource.jansi</groupId>
50 <artifactId>jansi</artifactId>
Guillaume Nodet129433d2009-07-09 08:29:14 +000051 </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 Nodetcf99b612010-02-20 20:23:14 +000063 <groupId>org.apache.aries.blueprint</groupId>
64 <artifactId>org.apache.aries.blueprint</artifactId>
Guillaume Nodet129433d2009-07-09 08:29:14 +000065 </dependency>
66 <dependency>
67 <groupId>org.apache.felix.gogo</groupId>
68 <artifactId>org.apache.felix.gogo.runtime</artifactId>
69 </dependency>
Guillaume Nodet129433d2009-07-09 08:29:14 +000070 </dependencies>
71
72 <build>
73 <resources>
74 <resource>
Chris Custine80977a92010-05-16 08:24:14 +000075 <directory>${project.basedir}/src/main/resources</directory>
Guillaume Nodet129433d2009-07-09 08:29:14 +000076 <includes>
77 <include>**/*</include>
78 </includes>
79 </resource>
80 <resource>
Chris Custine80977a92010-05-16 08:24:14 +000081 <directory>${project.basedir}/src/main/filtered-resources</directory>
Guillaume Nodet129433d2009-07-09 08:29:14 +000082 <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 Custine60ecb332010-05-16 08:50:14 +0000101 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Guillaume Nodet129433d2009-07-09 08:29:14 +0000102 <Import-Package>
Guillaume Nodet23a0f3d2009-09-18 20:14:54 +0000103 !org.apache.felix.karaf.shell.console*,
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +0000104 !org.apache.felix.gogo.commands*,
Guillaume Nodete73545e2009-09-18 20:25:06 +0000105 !org.fusesource.jansi*,
106 !javax.swing,
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +0000107 !jline,
108 com.sun.jna*;resolution:=optional,
Guillaume Nodete668bc32009-07-27 08:03:39 +0000109 org.apache.felix.karaf.branding;resolution:=optional,
Guillaume Nodet129433d2009-07-09 08:29:14 +0000110 *
111 </Import-Package>
112 <Export-Package>
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +0000113 org.apache.felix.gogo.commands*;version=${felix.gogo.version},
Chris Custine80977a92010-05-16 08:24:14 +0000114 org.apache.felix.karaf.shell.console*;version=${project.version},
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +0000115 org.fusesource.jansi;version=${jansi.version},
Chris Custine5c5f7902009-11-06 05:14:37 +0000116 jline;version=${jline.version}
Guillaume Nodet129433d2009-07-09 08:29:14 +0000117 </Export-Package>
Guillaume Nodetcb2db1b2009-07-10 06:56:47 +0000118 <Private-Package>
119 org.fusesource.jansi.internal
120 </Private-Package>
Chris Custine79c73152010-02-09 20:15:29 +0000121 <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 Nodet129433d2009-07-09 08:29:14 +0000129 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
130 </instructions>
131 <unpackBundle>true</unpackBundle>
132 </configuration>
133 </plugin>
134 </plugins>
135 </build>
136</project>