Richard S. Hall | bad49dc | 2007-07-13 16:08:06 +0000 | [diff] [blame] | 1 | <!-- |
| 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> |
| 22 | <groupId>org.apache</groupId> |
| 23 | <artifactId>apache</artifactId> |
| 24 | <version>4</version> |
| 25 | </parent> |
| 26 | |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <packaging>bundle</packaging> |
| 29 | <name>Apache Felix Service-Based Host</name> |
| 30 | <description>A simple application that embeds Felix and uses the service model for extensibility.</description> |
| 31 | <groupId>org.apache.felix.example</groupId> |
| 32 | <artifactId>servicebased.host</artifactId> |
| 33 | <version>1.0.0</version> |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.apache.felix</groupId> |
| 37 | <artifactId>org.apache.felix.framework</artifactId> |
Richard S. Hall | 154466d | 2007-07-13 23:08:04 +0000 | [diff] [blame] | 38 | <version>0.9.0-SNAPSHOT</version> |
Richard S. Hall | bad49dc | 2007-07-13 16:08:06 +0000 | [diff] [blame] | 39 | </dependency> |
| 40 | </dependencies> |
| 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.felix</groupId> |
| 45 | <artifactId>maven-bundle-plugin</artifactId> |
Karl Pauls | 0a3858c | 2007-07-13 22:03:31 +0000 | [diff] [blame] | 46 | <version>1.1.0-SNAPSHOT</version> |
Richard S. Hall | bad49dc | 2007-07-13 16:08:06 +0000 | [diff] [blame] | 47 | <extensions>true</extensions> |
| 48 | <configuration> |
| 49 | <instructions> |
| 50 | <Main-Class>org.apache.felix.example.servicebased.host.Activator</Main-Class> |
| 51 | <Import-Package>org.osgi.framework,org.osgi.service.packageadmin,org.osgi.service.url,org.osgi.service.startlevel,org.osgi.util.tracker,*</Import-Package> |
| 52 | <Export-Package>org.apache.felix.example.servicebased.host.service.*</Export-Package> |
| 53 | <Private-Package>org.apache.felix.example.servicebased.host.*,org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.osgi.*</Private-Package> |
| 54 | <Bundle-Activator>org.apache.felix.example.servicebased.host.Activator</Bundle-Activator> |
| 55 | </instructions> |
| 56 | </configuration> |
| 57 | </plugin> |
| 58 | </plugins> |
| 59 | </build> |
| 60 | <pluginRepositories> |
| 61 | <pluginRepository> |
| 62 | <id>apache.snapshots</id> |
| 63 | <name>snapshot plugins</name> |
| 64 | <url> |
| 65 | http://people.apache.org/repo/m2-snapshot-repository |
| 66 | </url> |
| 67 | <releases> |
| 68 | <enabled>false</enabled> |
| 69 | </releases> |
| 70 | <snapshots> |
| 71 | <enabled>true</enabled> |
| 72 | </snapshots> |
| 73 | </pluginRepository> |
| 74 | </pluginRepositories> |
| 75 | </project> |