Modified these pom files to use variable substitution in some of the manifest
headers to simplify their inclusion into OBR.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@392925 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.bundlerepository/pom.xml b/org.apache.felix.bundlerepository/pom.xml
index 5456f18..18198be 100644
--- a/org.apache.felix.bundlerepository/pom.xml
+++ b/org.apache.felix.bundlerepository/pom.xml
@@ -37,12 +37,12 @@
         <configuration>
           <osgiManifest>
             <bundleName>BundleRepository</bundleName>
-            <bundleDescription>Bundle repository service for Felix (or any other OSGi framework).</bundleDescription>
-            <bundleActivator>org.apache.felix.bundlerepository.Activator</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/bundlerepository/</bundleDocUrl>
-            <bundleUrl>http://oscar-osgi.sf.net/obr2/bundlerepository/org.apache.felix.bundlerepository.jar</bundleUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/bundlerepository/org.apache.felix.bundlerepository-src.jar</bundleSource>
-            <bundleSymbolicName>org.apache.felix.bundlerepository</bundleSymbolicName>
+            <bundleDescription>Bundle repository service.</bundleDescription>
+            <bundleActivator>${pom.artifactId}.Activator</bundleActivator>
+            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
+            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
+            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
+            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
             <importPackage>org.osgi.framework</importPackage>
             <dynamicImportPackage>org.apache.felix.shell</dynamicImportPackage>
             <exportPackage>org.osgi.service.obr</exportPackage>
diff --git a/org.apache.felix.shell.tui/pom.xml b/org.apache.felix.shell.tui/pom.xml
index 017e8a3..284034d 100644
--- a/org.apache.felix.shell.tui/pom.xml
+++ b/org.apache.felix.shell.tui/pom.xml
@@ -33,10 +33,11 @@
           <osgiManifest>
             <bundleName>ShellTUI</bundleName>
             <bundleDescription>A simple textual user interface for Felix' shell service.</bundleDescription>
-            <bundleActivator>org.apache.felix.shell.tui.Activator</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/shelltui/</bundleDocUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/shelltui/org.apache.felix.shell.tui-src.jar</bundleSource>
-            <bundleSymbolicName>org.apache.felix.shell.tui</bundleSymbolicName>
+            <bundleActivator>${pom.artifactId}.Activator</bundleActivator>
+            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
+            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
+            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
+            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
             <importPackage>org.osgi.framework, org.apache.felix.shell</importPackage>
             <importService>org.apache.felix.shell.ShellService</importService>
           </osgiManifest>
diff --git a/org.apache.felix.shell/pom.xml b/org.apache.felix.shell/pom.xml
index 384031f..e6786d9 100644
--- a/org.apache.felix.shell/pom.xml
+++ b/org.apache.felix.shell/pom.xml
@@ -26,14 +26,15 @@
         <configuration>
           <osgiManifest>
             <bundleName>ShellService</bundleName>
-            <bundleDescription>A simple command shell service for Felix (or any other OSGi framework).</bundleDescription>
-            <bundleActivator>org.apache.felix.shell.impl.Activator</bundleActivator>
-            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/shell/</bundleDocUrl>
-            <bundleSource>http://oscar-osgi.sf.net/obr2/shell/org.apache.felix.shell.impl-src.jar</bundleSource>
-            <bundleSymbolicName>org.apache.felix.shell.impl</bundleSymbolicName>
+            <bundleDescription>A simple OSGi command shell service.</bundleDescription>
+            <bundleActivator>${pom.artifactId}.impl.Activator</bundleActivator>
+            <bundleDocUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/</bundleDocUrl>
+            <bundleUrl>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}.jar</bundleUrl>
+            <bundleSource>http://oscar-osgi.sf.net/obr2/${pom.artifactId}/${pom.artifactId}-${pom.version}-src.jar</bundleSource>
+            <bundleSymbolicName>${pom.artifactId}</bundleSymbolicName>
             <importPackage>org.osgi.framework, org.osgi.service.startlevel, org.osgi.service.packageadmin</importPackage>
-            <exportPackage>org.apache.felix.shell; specification-version="1.0.0", org.ungoverned.osgi.service.shell; specification-version="1.0.0"</exportPackage>
-            <exportService>org.apache.felix.shell.ShellService, org.ungoverned.osgi.service.shell.ShellService</exportService>
+            <exportPackage>${pom.artifactId}; specification-version="1.0.0", org.ungoverned.osgi.service.shell; specification-version="1.0.0"</exportPackage>
+            <exportService>${pom.artifactId}.ShellService, org.ungoverned.osgi.service.shell.ShellService</exportService>
             <importService>org.osgi.service.startlevel.StartLevel, org.osgi.service.packageadmin.PackageAdmin</importService>
           </osgiManifest>
         </configuration>