blob: bca21d1b6f5e5650d8e502520b4a57c3234616c4 [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-->
Richard S. Hall94ccd722012-03-06 19:19:04 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Richard S. Hallbad49dc2007-07-13 16:08:06 +000020
21 <parent>
Carsten Ziegelerb7251fa2008-01-16 07:37:24 +000022 <groupId>org.apache.felix</groupId>
23 <artifactId>felix</artifactId>
Clement Escoffiera3a62042009-04-09 12:09:09 +000024 <version>1.0.4</version>
Carsten Ziegelerb7251fa2008-01-16 07:37:24 +000025 <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>
Richard S. Hall321f3802012-03-13 17:32:01 +000039 <version>4.0.2</version>
40 <type>zip</type>
41 <classifier>source-release</classifier>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000042 </dependency>
43 </dependencies>
44 <build>
45 <plugins>
46 <plugin>
47 <groupId>org.apache.felix</groupId>
48 <artifactId>maven-bundle-plugin</artifactId>
Stuart McCulloch876ca722008-02-26 17:15:42 +000049 <version>1.4.0</version>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000050 <extensions>true</extensions>
51 <configuration>
52 <instructions>
Richard S. Hall9c0e4952009-06-10 19:54:02 +000053 <_donotcopy>(CVS|.svn|config.properties)</_donotcopy>
Richard S. Hall321f3802012-03-13 17:32:01 +000054 <Main-Class>org.apache.felix.example.servicebased.host.launch.Application</Main-Class>
Richard S. Hall9c0e4952009-06-10 19:54:02 +000055 <Import-Package>!android.*,!dalvik.*,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 +000056 <Export-Package>org.apache.felix.example.servicebased.host.service.*</Export-Package>
Richard S. Hall9c0e4952009-06-10 19:54:02 +000057 <Private-Package>org.apache.felix.example.servicebased.host.*</Private-Package>
58 <Embed-Dependency>*;artifactId=org.apache.felix.main;inline=true</Embed-Dependency>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000059 <Bundle-Activator>org.apache.felix.example.servicebased.host.Activator</Bundle-Activator>
Carsten Ziegeler90f0b9f2008-04-17 06:33:59 +000060 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000061 </instructions>
62 </configuration>
63 </plugin>
Richard S. Hall94ccd722012-03-06 19:19:04 +000064 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-compiler-plugin</artifactId>
67 <configuration>
Richard S. Hall321f3802012-03-13 17:32:01 +000068 <source>1.6</source>
69 <target>1.6</target>
Richard S. Hall94ccd722012-03-06 19:19:04 +000070 </configuration>
71 </plugin>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000072 </plugins>
73 </build>
Richard S. Hallbad49dc2007-07-13 16:08:06 +000074</project>