servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r669531 - /servicemix/components/components-pom/trunk/pom.xml
Date Thu, 19 Jun 2008 16:27:03 GMT
Author: gnodet
Date: Thu Jun 19 09:27:03 2008
New Revision: 669531

URL: http://svn.apache.org/viewvc?rev=669531&view=rev
Log:
Add osgi stuff everywhere

Modified:
    servicemix/components/components-pom/trunk/pom.xml

Modified: servicemix/components/components-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/components/components-pom/trunk/pom.xml?rev=669531&r1=669530&r2=669531&view=diff
==============================================================================
--- servicemix/components/components-pom/trunk/pom.xml (original)
+++ servicemix/components/components-pom/trunk/pom.xml Thu Jun 19 09:27:03 2008
@@ -105,6 +105,12 @@
     <derby-version>10.2.2.0</derby-version>
     <saxon-version>8.9</saxon-version>
     -->
+
+    <servicemix.osgi.export>${servicemix.osgi.export.pkg}*;version=${project.version}</servicemix.osgi.export>
+    <servicemix.osgi.export.pkg>org.apache.servicemix</servicemix.osgi.export.pkg>
+    <servicemix.osgi.import>*</servicemix.osgi.import>
+    <servicemix.osgi.private />
+
   </properties>
   
   <dependencyManagement>
@@ -1626,10 +1632,11 @@
         <version>1.4.1</version>
         <configuration>
           <instructions>
-            <Bundle-Name>${project.name}</Bundle-Name>
-            <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
-            <Export-Package>org.apache.servicemix*</Export-Package>
-            <Import-Package>*</Import-Package>
+	        <Bundle-Name>${project.name}</Bundle-Name>
+            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+            <Export-Package>${servicemix.osgi.export}</Export-Package>
+            <Import-Package>${servicemix.osgi.import}</Import-Package>
+            <Private-Package>${servicemix.osgi.private}</Private-Package>
             <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
           </instructions>
           <supportedProjectTypes>
@@ -1637,6 +1644,7 @@
             <supportedProjectType>bundle</supportedProjectType>
             <supportedProjectType>jbi-component</supportedProjectType>
           </supportedProjectTypes>
+          <unpackBundle>true</unpackBundle>
         </configuration>
         <executions>
           <execution>
@@ -1648,6 +1656,16 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.1</version>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <reporting>



Mime
View raw message