blob: ea11520d3183d7f7e4fdd43ce6c074deaec25844 [file] [log] [blame]
Guillaume Nodet077bac52009-07-09 08:29:14 +00001<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>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000025 <groupId>org.apache.felix.karaf.shell</groupId>
26 <artifactId>shell</artifactId>
Guillaume Nodetabe56002009-08-25 09:03:55 +000027 <version>0.9.0-SNAPSHOT</version>
Guillaume Nodet077bac52009-07-09 08:29:14 +000028 </parent>
29
Guillaume Nodet91a52c02009-09-18 20:14:54 +000030 <groupId>org.apache.felix.karaf.shell</groupId>
31 <artifactId>org.apache.felix.karaf.shell.console</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000032 <packaging>bundle</packaging>
Guillaume Nodetabe56002009-08-25 09:03:55 +000033 <version>0.9.0-SNAPSHOT</version>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000034 <name>Apache Felix Karaf :: Shell Console</name>
Guillaume Nodet077bac52009-07-09 08:29:14 +000035
36 <description>
Guillaume Nodet91a52c02009-09-18 20:14:54 +000037 Provides the OSGi Shell integration
Guillaume Nodet077bac52009-07-09 08:29:14 +000038 </description>
39
Guillaume Nodetc0d97722009-09-18 20:25:06 +000040 <properties>
41 <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory>
42 </properties>
43
Guillaume Nodet077bac52009-07-09 08:29:14 +000044 <dependencies>
45 <dependency>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +000046 <groupId>jline</groupId>
47 <artifactId>jline</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>org.fusesource.jansi</groupId>
51 <artifactId>jansi</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000052 </dependency>
53 <dependency>
54 <groupId>org.apache.felix</groupId>
55 <artifactId>org.osgi.core</artifactId>
56 <scope>provided</scope>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>org.osgi.compendium</artifactId>
61 <scope>provided</scope>
62 </dependency>
63 <dependency>
Guillaume Nodet76d69022009-09-14 13:13:16 +000064 <groupId>org.apache.geronimo.blueprint</groupId>
65 <artifactId>geronimo-blueprint</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000066 </dependency>
67 <dependency>
68 <groupId>org.apache.felix.gogo</groupId>
69 <artifactId>org.apache.felix.gogo.runtime</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.felix.gogo</groupId>
73 <artifactId>org.apache.felix.gogo.commands</artifactId>
74 </dependency>
75 </dependencies>
76
77 <build>
78 <resources>
79 <resource>
80 <directory>${pom.basedir}/src/main/resources</directory>
81 <includes>
82 <include>**/*</include>
83 </includes>
84 </resource>
85 <resource>
86 <directory>${pom.basedir}/src/main/filtered-resources</directory>
87 <filtering>true</filtering>
88 <includes>
89 <include>**/*</include>
90 </includes>
91 </resource>
92 </resources>
93 <plugins>
94 <plugin>
95 <groupId>org.codehaus.mojo</groupId>
96 <artifactId>exec-maven-plugin</artifactId>
97 <configuration>
98 <mainClass>Main</mainClass>
99 </configuration>
100 </plugin>
101 <plugin>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-bundle-plugin</artifactId>
104 <configuration>
105 <instructions>
106 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
107 <Import-Package>
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000108 !org.apache.felix.karaf.shell.console*,
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000109 !org.apache.felix.gogo.commands*,
Guillaume Nodetc0d97722009-09-18 20:25:06 +0000110 !org.fusesource.jansi*,
111 !javax.swing,
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000112 !jline,
113 com.sun.jna*;resolution:=optional,
Guillaume Nodet0058dc12009-07-27 08:03:39 +0000114 org.apache.felix.karaf.branding;resolution:=optional,
Guillaume Nodet077bac52009-07-09 08:29:14 +0000115 *
116 </Import-Package>
117 <Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000118 org.apache.felix.gogo.commands*;version=${felix.gogo.version},
Guillaume Nodet91a52c02009-09-18 20:14:54 +0000119 org.apache.felix.karaf.shell.console*;version=${pom.version},
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000120 org.fusesource.jansi;version=${jansi.version},
121 jline;version=${jline.version},
122
Guillaume Nodet077bac52009-07-09 08:29:14 +0000123 </Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000124 <Private-Package>
125 org.fusesource.jansi.internal
126 </Private-Package>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000127 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
128 </instructions>
129 <unpackBundle>true</unpackBundle>
130 </configuration>
131 </plugin>
132 </plugins>
133 </build>
134</project>