Author: dkulp
Date: Wed Apr  8 16:14:20 2009
New Revision: 763303

URL: http://svn.apache.org/viewvc?rev=763303&view=rev
Log:
[WSCOMMONS-283] Add proper OSGi stuff (patch from gnodet applied)

Removed:
    
webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/resources/
Modified:
    webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml

Modified: webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml?rev=763303&r1=763302&r2=763303&view=diff
==============================================================================
--- webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml 
(original)
+++ webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml Wed Apr 
 8 16:14:20 2009
@@ -21,6 +21,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.ws.commons.schema</groupId>
   <artifactId>XmlSchema</artifactId>
+  <packaging>bundle</packaging>
   <name>XmlSchema</name>
   <version>1.4-SNAPSHOT</version>
   <description>Commons XMLSchema is a light weight schema object model that 
can be used to manipulate or
@@ -112,6 +113,18 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.0.0</version>
+          <extensions>true</extensions>
+          <configuration>
+              <instructions>
+                  
<Import-Package>org.apache.ws.commons.schema*;version=${pom.version},*</Import-Package>
+                  
<Export-Package>org.apache.ws.commons.schema*;version="${pom.version}"</Export-Package>
+              </instructions>
+          </configuration>
+      </plugin>
     </plugins>
     <defaultGoal>install</defaultGoal>
     <pluginManagement>


Reply via email to