blob: eec4ff2d4c5e9ae8adc762e4066865f90859e215 [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>
25 <groupId>org.apache.felix.karaf.gshell</groupId>
26 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
30 <groupId>org.apache.felix.karaf.gshell</groupId>
31 <artifactId>org.apache.felix.karaf.gshell.console</artifactId>
32 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
34 <name>Apache Felix Karaf :: GShell Console</name>
35
36 <description>
37 Provides the OSGi GShell integration
38 </description>
39
40 <dependencies>
41 <dependency>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +000042 <groupId>jline</groupId>
43 <artifactId>jline</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>org.fusesource.jansi</groupId>
47 <artifactId>jansi</artifactId>
Guillaume Nodet077bac52009-07-09 08:29:14 +000048 </dependency>
49 <dependency>
50 <groupId>org.apache.felix</groupId>
51 <artifactId>org.osgi.core</artifactId>
52 <scope>provided</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.osgi.compendium</artifactId>
57 <scope>provided</scope>
58 </dependency>
59 <dependency>
60 <groupId>org.apache.geronimo</groupId>
61 <artifactId>blueprint-bundle</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.felix.gogo</groupId>
65 <artifactId>org.apache.felix.gogo.runtime</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>org.apache.felix.gogo</groupId>
69 <artifactId>org.apache.felix.gogo.commands</artifactId>
70 </dependency>
71 </dependencies>
72
73 <build>
74 <resources>
75 <resource>
76 <directory>${pom.basedir}/src/main/resources</directory>
77 <includes>
78 <include>**/*</include>
79 </includes>
80 </resource>
81 <resource>
82 <directory>${pom.basedir}/src/main/filtered-resources</directory>
83 <filtering>true</filtering>
84 <includes>
85 <include>**/*</include>
86 </includes>
87 </resource>
88 </resources>
89 <plugins>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>exec-maven-plugin</artifactId>
93 <configuration>
94 <mainClass>Main</mainClass>
95 </configuration>
96 </plugin>
97 <plugin>
98 <groupId>org.apache.felix</groupId>
99 <artifactId>maven-bundle-plugin</artifactId>
100 <configuration>
101 <instructions>
102 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
103 <Import-Package>
104 !javax.swing,
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000105 !org.apache.felix.karaf.gshell.console*,
106 !org.fusesource.jansi*,
107 !org.apache.felix.gogo.commands*,
108 !jline,
109 com.sun.jna*;resolution:=optional,
Guillaume Nodet077bac52009-07-09 08:29:14 +0000110 *
111 </Import-Package>
112 <Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000113 org.apache.felix.gogo.commands*;version=${felix.gogo.version},
114 org.apache.felix.karaf.gshell.console*;version=${pom.version},
115 org.fusesource.jansi;version=${jansi.version},
116 jline;version=${jline.version},
117
Guillaume Nodet077bac52009-07-09 08:29:14 +0000118 </Export-Package>
Guillaume Nodetf9b2bf42009-07-10 06:56:47 +0000119 <Private-Package>
120 org.fusesource.jansi.internal
121 </Private-Package>
Guillaume Nodet077bac52009-07-09 08:29:14 +0000122 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
123 </instructions>
124 <unpackBundle>true</unpackBundle>
125 </configuration>
126 </plugin>
127 </plugins>
128 </build>
129</project>