You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by sa...@apache.org on 2012/06/27 13:12:58 UTC

svn commit: r1354423 - in /webservices/woden/trunk/java: pom.xml woden-core/pom.xml

Author: sagara
Date: Wed Jun 27 11:12:57 2012
New Revision: 1354423

URL: http://svn.apache.org/viewvc?rev=1354423&view=rev
Log:
Start adding proper OSGi meta data. 

Modified:
    webservices/woden/trunk/java/pom.xml
    webservices/woden/trunk/java/woden-core/pom.xml

Modified: webservices/woden/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/pom.xml?rev=1354423&r1=1354422&r2=1354423&view=diff
==============================================================================
--- webservices/woden/trunk/java/pom.xml (original)
+++ webservices/woden/trunk/java/pom.xml Wed Jun 27 11:12:57 2012
@@ -307,8 +307,7 @@
 	
 
  <properties>
-		<woden.osgi.version>1.0.0</woden.osgi.version>
-		<bundle.plugin.version>1.4.0</bundle.plugin.version>
+		<bundle.plugin.version>2.3.7</bundle.plugin.version>
 		<apache.xmlSchema.version>1.4.8-SNAPSHOT</apache.xmlSchema.version>
 		<apache.ant.version>1.7.1</apache.ant.version>
 		<wsdl4j.version>1.6.2</wsdl4j.version>

Modified: webservices/woden/trunk/java/woden-core/pom.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-core/pom.xml?rev=1354423&r1=1354422&r2=1354423&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-core/pom.xml (original)
+++ webservices/woden/trunk/java/woden-core/pom.xml Wed Jun 27 11:12:57 2012
@@ -26,6 +26,7 @@
 	
 	<artifactId>woden-core</artifactId>
 	<name>Woden - Core</name>
+	<packaging>bundle</packaging>
 	
 	<build>
 		<resources>
@@ -48,20 +49,28 @@
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
 				<version>${bundle.plugin.version}</version>
+				<extensions>true</extensions>
 				<configuration>
-					<instructions>
-						<Bundle-Version>${woden.osgi.version}</Bundle-Version>
-					</instructions>
-				</configuration>
-				<executions>
-					<execution>
-						<id>bundle-manifest</id>
-						<phase>process-classes</phase>
-						<goals>
-							<goal>manifest</goal>
-						</goals>
-					</execution>
-				</executions>
+                    <instructions>
+                        <Implementation-Title>Apache Woden</Implementation-Title>
+                        <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+                        <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+                        <Implementation-Version>${project.version}</Implementation-Version>
+                        <Specification-Title>Apache Woden</Specification-Title>
+                        <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+                        <Specification-Version>${project.version}</Specification-Version>
+                        <Private-Package>org.apache.woden.internal.*</Private-Package>
+                        <Export-Package>!org.apache.woden.internal.*, org.apache.woden.*"</Export-Package>
+                        <Import-Package>
+                              !org.apache.woden.*,
+                              org.apache.commons.logging.*;resolution:=optional,
+                              *
+                        </Import-Package>
+                        <_removeheaders>Ignore-Package, Private-Package, Include-Resource</_removeheaders>                         
+                        <_nouses>true</_nouses>
+                        <_nodefaultversion>true</_nodefaultversion>
+                    </instructions>
+                </configuration>				
 			</plugin>		
 		</plugins>
 	</build>