blob: 1e1b7d1bd8fd1ecc6a855df49282c7b8ee226fb0 [file] [log] [blame]
Guillaume Nodet916f28a2009-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 Nodet077bac52009-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 Nodet91a52c02009-09-18 20:14:54 +000024 <groupId>org.apache.felix.karaf.shell</groupId>
25 <artifactId>shell</artifactId>
Guillaume Nodet3e933802010-05-20 16:41:24 +000026 <version>1.6.0</version>
Guillaume Nodet077bac52009-07-09 08:29:14 +000027 </parent>
28
Guillaume Nodet91a52c02009-09-18 20:14:54 +000029 <groupId>org.apache.felix.karaf.shell</groupId>
30 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000031 <packaging>bundle</packaging>
Guillaume Nodet3e933802010-05-20 16:41:24 +000032 <version>1.6.0</version>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000033 <name>Apache Felix Karaf :: Shell Console</name>
Guillaume Nodet077bac52009-07-09 08:29:14 +000034
35 <description>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000036 Provides the OSGi Shell integration
Guillaume Nodet077bac52009-07-09 08:29:14 +000037 </description>
38
Guillaume Nodetc0d97722009-09-18 20:25:06 +000039 <properties>
40 <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
41 </properties>
42
Guillaume Nodet077bac52009-07-09 08:29:14 +000043 <dependencies>
44 <dependency>
Guillaume Nodetf9b2bf42009-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 Nodet077bac52009-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 Nodetc7f649d2010-02-20 20:23:14 +000063 <groupId>org.apache.aries.blueprint</groupId>
64 <artifactId>org.apache.aries.blueprint</artifactId>
Guillaume Nodet077bac52009-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>
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 Custine8764d8f2010-05-16 08:24:14 +000079 <directory>${project.basedir}/src/main/resources</directory>
Guillaume Nodet077bac52009-07-09 08:29:14 +000080 <includes>
81 <include>**/*</include>
82 </includes>
83 </resource>
84 <resource>
Chris Custine8764d8f2010-05-16 08:24:14 +000085 <directory>${project.basedir}/src/main/filtered-resources</directory>
Guillaume Nodet077bac52009-07-09 08:29:14 +000086 <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 Custine3a6c68e2010-05-16 08:50:14 +0000105 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000106 <Import-Package>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000107 !org.apache.felix.karaf.shell.console*,
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000108 !org.apache.felix.gogo.commands*,
Guillaume Nodetc0d97722009-09-18 20:25:06 +0000109 !org.fusesource.jansi*,
110 !javax.swing,
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000111 !jline,
112 com.sun.jna*;resolution:=optional,
Guillaume Nodet0058dc12009-07-27 08:03:39 +0000113 org.apache.felix.karaf.branding;resolution:=optional,
Guillaume Nodet077bac52009-07-09 08:29:14 +0000114 *
115 </Import-Package>
116 <Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000117 org.apache.felix.gogo.commands*;version=${felix.gogo.version},
Chris Custine8764d8f2010-05-16 08:24:14 +0000118 org.apache.felix.karaf.shell.console*;version=${project.version},
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000119 org.fusesource.jansi;version=${jansi.version},
Chris Custine560eb862009-11-06 05:14:37 +0000120 jline;version=${jline.version}
Guillaume Nodet077bac52009-07-09 08:29:14 +0000121 </Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000122 <Private-Package>
123 org.fusesource.jansi.internal
124 </Private-Package>
Chris Custineb8712852010-02-09 20:15:29 +0000125 <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 Nodet077bac52009-07-09 08:29:14 +0000133 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
134 </instructions>
135 <unpackBundle>true</unpackBundle>
136 </configuration>
137 </plugin>
138 </plugins>
139 </build>
140</project>