You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2008/03/04 16:11:23 UTC

svn commit: r633507 - /commons/proper/commons-parent/trunk/pom.xml

Author: niallp
Date: Tue Mar  4 07:11:22 2008
New Revision: 633507

URL: http://svn.apache.org/viewvc?rev=633507&view=rev
Log:
Make all the instructions for the (OSGi)maven-bundle-plugin configurable and default the docURL default to the project url

Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=633507&r1=633506&r2=633507&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Tue Mar  4 07:11:22 2008
@@ -242,8 +242,12 @@
           <instructions>
             <!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
             <_nouses>true</_nouses>
-            <Bundle-SymbolicName>${commons.osgibundle}</Bundle-SymbolicName>
-            <Export-Package>org.apache.commons.*;version=${pom.version}</Export-Package>
+            <Bundle-SymbolicName>${commons.osgi.symbolicName}</Bundle-SymbolicName>
+            <Export-Package>${commons.osgi.export}</Export-Package>
+            <Private-Package>${commons.osgi.private}</Private-Package>
+            <Import-Package>${commons.osgi.import}</Import-Package>
+            <DynamicImport-Package>${commons.osgi.dynamicImport}</DynamicImport-Package>
+            <Bundle-DocURL>${project.url}</Bundle-DocURL>
           </instructions>
         </configuration>
       </plugin>
@@ -513,8 +517,12 @@
     <!-- Commons Component Id -->
     <commons.componentid>${project.artifactId}</commons.componentid>
 
-    <!-- OSGi Bundle Symbolic Name -->
-    <commons.osgibundle>org.apache.commons.${commons.componentid}</commons.osgibundle>
+    <!-- Configuration properties for the OSGi maven-bundle-plugin -->
+    <commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName>
+    <commons.osgi.export>org.apache.commons.*;version=${pom.version}</commons.osgi.export>
+    <commons.osgi.import>*</commons.osgi.import>
+    <commons.osgi.dynamicImport></commons.osgi.dynamicImport>
+    <commons.osgi.private></commons.osgi.private>
 
     <!--
       Make the deployment protocol pluggable. This allows to switch to