| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix</artifactId> |
| <version>1.0.4</version> |
| <relativePath>../../pom/pom.xml</relativePath> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix Service-Based Host</name> |
| <description>A simple application that embeds Felix and uses the service model for extensibility.</description> |
| <groupId>org.apache.felix.example</groupId> |
| <artifactId>servicebased.host</artifactId> |
| <version>1.0.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.main</artifactId> |
| <version>4.0.2</version> |
| <type>zip</type> |
| <classifier>source-release</classifier> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>1.4.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
| <Main-Class>org.apache.felix.example.servicebased.host.launch.Application</Main-Class> |
| <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> |
| <Export-Package>org.apache.felix.example.servicebased.host.service.*</Export-Package> |
| <Private-Package>org.apache.felix.example.servicebased.host.*</Private-Package> |
| <Embed-Dependency>*;artifactId=org.apache.felix.main;inline=true</Embed-Dependency> |
| <Bundle-Activator>org.apache.felix.example.servicebased.host.Activator</Bundle-Activator> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |