blob: 546145e08f6b91da9af8b3751ef52cfbdbb8d65e [file] [log] [blame]
Guillaume Nodet129433d2009-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>
42 <groupId>org.apache.servicemix.bundles</groupId>
43 <artifactId>org.apache.servicemix.bundles.jline</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>org.apache.felix</groupId>
47 <artifactId>org.osgi.core</artifactId>
48 <scope>provided</scope>
49 </dependency>
50 <dependency>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>org.osgi.compendium</artifactId>
53 <scope>provided</scope>
54 </dependency>
55 <dependency>
56 <groupId>org.apache.geronimo</groupId>
57 <artifactId>blueprint-bundle</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.apache.felix.gogo</groupId>
61 <artifactId>org.apache.felix.gogo.runtime</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.felix.gogo</groupId>
65 <artifactId>org.apache.felix.gogo.commands</artifactId>
66 </dependency>
67 </dependencies>
68
69 <build>
70 <resources>
71 <resource>
72 <directory>${pom.basedir}/src/main/resources</directory>
73 <includes>
74 <include>**/*</include>
75 </includes>
76 </resource>
77 <resource>
78 <directory>${pom.basedir}/src/main/filtered-resources</directory>
79 <filtering>true</filtering>
80 <includes>
81 <include>**/*</include>
82 </includes>
83 </resource>
84 </resources>
85 <plugins>
86 <plugin>
87 <groupId>org.codehaus.mojo</groupId>
88 <artifactId>exec-maven-plugin</artifactId>
89 <configuration>
90 <mainClass>Main</mainClass>
91 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.felix</groupId>
95 <artifactId>maven-bundle-plugin</artifactId>
96 <configuration>
97 <instructions>
98 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
99 <Import-Package>
100 !javax.swing,
101 *
102 </Import-Package>
103 <Export-Package>
104 org.apache.felix.karaf.gshell.console*;version=${pom.version}
105 </Export-Package>
106 <_versionpolicy>${bnd.version.policy}</_versionpolicy>
107 </instructions>
108 <unpackBundle>true</unpackBundle>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113</project>