Author: ruwan
Date: Tue Oct  7 01:28:23 2008
New Revision: 702385

URL: http://svn.apache.org/viewvc?rev=702385&view=rev
Log:
Converting the mail transport to a bundle

Modified:
    webservices/commons/trunk/modules/transport/modules/base/pom.xml
    webservices/commons/trunk/modules/transport/modules/mail/pom.xml

Modified: webservices/commons/trunk/modules/transport/modules/base/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/base/pom.xml?rev=702385&r1=702384&r2=702385&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/base/pom.xml (original)
+++ webservices/commons/trunk/modules/transport/modules/base/pom.xml Tue Oct  7 
01:28:23 2008
@@ -32,7 +32,7 @@
 
     <groupId>org.apache.axis2</groupId>
     <artifactId>axis2-transport-base</artifactId>
-    <name> Apache Axis2 - Transport - Base</name>
+    <name>Apache Axis2 - Transport - Base</name>
     <description>Apache Axis2 - Base Transport</description>
     <packaging>bundle</packaging>
 

Modified: webservices/commons/trunk/modules/transport/modules/mail/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/mail/pom.xml?rev=702385&r1=702384&r2=702385&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/mail/pom.xml (original)
+++ webservices/commons/trunk/modules/transport/modules/mail/pom.xml Tue Oct  7 
01:28:23 2008
@@ -34,7 +34,30 @@
     <artifactId>axis2-transport-mail</artifactId>
     <name>Apache Axis2 - Transport - Mail</name>
     <description>Apache Axis2 - Mail Transport</description>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Version>1.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Software 
Foundation</Bundle-Vendor>
+                        
<Bundle-Description>${pom.description}</Bundle-Description>
+                        
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            
org.apache.axis2.transport.mail.*;-split-package:=merge-last,
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <dependencies>
         <dependency>


Reply via email to