blob: 59936d3ae0b9854d29fe10b1f27458fb3397c8f0 [file] [log] [blame]
Richard S. Hallbad49dc2007-07-13 16:08:06 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
19<project>
20
21 <parent>
Carsten Ziegelerb7251fa2008-01-16 07:37:24 +000022 <groupId>org.apache.felix</groupId>
23 <artifactId>felix</artifactId>
24 <version>1.0.2</version>
25 <relativePath>../../pom/pom.xml</relativePath>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000026 </parent>
27
28 <modelVersion>4.0.0</modelVersion>
29 <packaging>bundle</packaging>
30 <name>Apache Felix Service-Based Host</name>
31 <description>A simple application that embeds Felix and uses the service model for extensibility.</description>
32 <groupId>org.apache.felix.example</groupId>
33 <artifactId>servicebased.host</artifactId>
34 <version>1.0.0</version>
35 <dependencies>
36 <dependency>
37 <groupId>org.apache.felix</groupId>
Richard S. Hall4ccc6d62008-02-04 16:31:44 +000038 <artifactId>org.apache.felix.main</artifactId>
39 <version>1.0.3</version>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000040 </dependency>
41 </dependencies>
42 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-bundle-plugin</artifactId>
Stuart McCulloch876ca722008-02-26 17:15:42 +000047 <version>1.4.0</version>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000048 <extensions>true</extensions>
49 <configuration>
50 <instructions>
51 <Main-Class>org.apache.felix.example.servicebased.host.Activator</Main-Class>
Richard S. Hallf7cc06c2008-02-15 06:36:06 +000052 <Import-Package>!android.dalvik,javax.microedition.io;resolution:=optional, org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000053 <Export-Package>org.apache.felix.example.servicebased.host.service.*</Export-Package>
Richard S. Hallf7cc06c2008-02-15 06:36:06 +000054 <Private-Package>org.apache.felix.example.servicebased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.apache.felix.main,org.osgi.*</Private-Package>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000055 <Bundle-Activator>org.apache.felix.example.servicebased.host.Activator</Bundle-Activator>
56 </instructions>
57 </configuration>
58 </plugin>
59 </plugins>
60 </build>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000061</project>