You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2007/05/01 18:11:07 UTC
svn commit: r534144 - /incubator/felix/trunk/examples/spellcheckscr/pom.xml
Author: rickhall
Date: Tue May 1 09:11:06 2007
New Revision: 534144
URL: http://svn.apache.org/viewvc?view=rev&rev=534144
Log:
Updated the pom file for the SCR example.
Modified:
incubator/felix/trunk/examples/spellcheckscr/pom.xml
Modified: incubator/felix/trunk/examples/spellcheckscr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/examples/spellcheckscr/pom.xml?view=diff&rev=534144&r1=534143&r2=534144
==============================================================================
--- incubator/felix/trunk/examples/spellcheckscr/pom.xml (original)
+++ incubator/felix/trunk/examples/spellcheckscr/pom.xml Tue May 1 09:11:06 2007
@@ -1,13 +1,38 @@
+<!--
+ 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>
+ <properties>
+ <description>A bundle that registers a spell checking service based on Service Component Runtime.</description>
+ </properties>
+
<parent>
<groupId>org.apache.felix</groupId>
<artifactId>felix</artifactId>
<version>0.9.0-incubator-SNAPSHOT</version>
</parent>
+
<modelVersion>4.0.0</modelVersion>
- <packaging>osgi-bundle</packaging>
+ <packaging>bundle</packaging>
<name>Apache Felix Examples: Spell Check w/ SCR</name>
<artifactId>org.apache.felix.examples.spellcheckscr</artifactId>
+ <description>${description}</description>
+
<dependencies>
<dependency>
<groupId>${pom.groupId}</groupId>
@@ -28,33 +53,23 @@
<scope>provided</scope>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
- <groupId>org.apache.felix.plugins</groupId>
- <artifactId>maven-osgi-plugin</artifactId>
- <version>${pom.version}</version>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
- <osgiManifest>
- <entries>
- <property>
- <name>Service-Component</name>
- <value>OSGI-INF/component.xml</value>
- </property>
- </entries>
- <bundleName>Spell Check w/ SCR Example</bundleName>
- <bundleVendor>Apache Software Foundation</bundleVendor>
- <bundleDescription>
- A bundle that registers a spell checking service based on Service Component Runtime.
- </bundleDescription>
- <bundleActivator>
- org.apache.felix.examples.spellcheckscr.Activator
- </bundleActivator>
- <importPackage>
- org.osgi.framework, org.apache.felix.examples.dictionaryservice, org.apache.felix.examples.spellcheckservice
- </importPackage>
- </osgiManifest>
+ <instructions>
+ <!-- docs in http://cwiki.apache.org/FELIX/bundle-plugin-for-maven-bnd.html and http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html -->
+ <Private-Package>${pom.artifactId}.*</Private-Package>
+ <Import-Package>*</Import-Package>
+ <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+ <Bundle-Description>${description}</Bundle-Description>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Service-Component>OSGI-INF/component.xml</Service-Component>
+ </instructions>
</configuration>
</plugin>
</plugins>