blob: 341e837e5068bbae7e60c8daa4cd9a4bc175e9f8 [file] [log] [blame]
Guillaume Nodet05fac962009-04-27 10:01:58 +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.servicemix.kernel.gshell</groupId>
26 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
30 <groupId>org.apache.servicemix.kernel.gshell</groupId>
31 <artifactId>org.apache.servicemix.kernel.gshell.wrapper</artifactId>
32 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
34 <name>Apache ServiceMix Kernel :: GShell Service Wrapper</name>
35
36 <description>
37 Provides the Service Wrapper GShell integration
38 </description>
39
40 <properties>
41 <gshell.osgi.import>
42 org.apache.servicemix.kernel.main.spi.*;resolution:=optional,
43 org.apache.geronimo.gshell*,
44 </gshell.osgi.import>
45 <gshell.osgi.export>
46 </gshell.osgi.export>
47 <gshell.osgi.private>
48 org.apache.servicemix.kernel.gshell.wrapper.*,
49 </gshell.osgi.private>
50 </properties>
51
52 <dependencies>
53 <dependency>
54 <groupId>org.apache.servicemix.kernel.gshell</groupId>
55 <artifactId>org.apache.servicemix.kernel.gshell.core</artifactId>
56 </dependency>
57
58 <dependency>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>org.osgi.core</artifactId>
61 <scope>provided</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>org.springframework.osgi</groupId>
66 <artifactId>spring-osgi-core</artifactId>
67 </dependency>
68 </dependencies>
69
70 <build>
71 <resources>
72 <resource>
73 <directory>${pom.basedir}/src/main/resources</directory>
74 <includes>
75 <include>**/*</include>
76 </includes>
77 </resource>
78 <resource>
79 <directory>${pom.basedir}/src/main/filtered-resources</directory>
80 <filtering>true</filtering>
81 <includes>
82 <include>**/*</include>
83 </includes>
84 </resource>
85 </resources>
86 <plugins>
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>exec-maven-plugin</artifactId>
90 <configuration>
91 <mainClass>Main</mainClass>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.apache.felix</groupId>
96 <artifactId>maven-bundle-plugin</artifactId>
97 <configuration>
98 <instructions>
99 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
100 <Export-Package>org.apache.servicemix.kernel.gshell.wrapper.*;version=${project.version}
101 </Export-Package>
102 <Import-Package>
103 org.apache.geronimo.gshell.wisdom.command,
104 org.apache.geronimo.gshell.wisdom.registry,
105 org.apache.servicemix.kernel.gshell.core,
106 *
107 </Import-Package>
108 <Private-Package>!*</Private-Package>
109 <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
110 </instructions>
111 </configuration>
112 </plugin>
113 </plugins>
114 </build>
115</project>