You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2008/06/21 16:24:15 UTC

svn commit: r670204 - in /webservices/axis2/scratch/java/saminda/osgi_test: ./ 3rd.bundles/ 3rd.bundles/annogen/ 3rd.bundles/ant/ 3rd.bundles/axiom/ 3rd.bundles/commons.codec/ 3rd.bundles/commons.fileupload/ 3rd.bundles/commons.httpclient/ 3rd.bundles/...

Author: saminda
Date: Sat Jun 21 07:24:13 2008
New Revision: 670204

URL: http://svn.apache.org/viewvc?rev=670204&view=rev
Log:
added the test project 

Added:
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/
    webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/distribution/
    webservices/axis2/scratch/java/saminda/osgi_test/distribution/bin.xml
    webservices/axis2/scratch/java/saminda/osgi_test/distribution/lib/
    webservices/axis2/scratch/java/saminda/osgi_test/distribution/lib/org.apache.axis2.osgi-SNAPSHOT.jar   (with props)
    webservices/axis2/scratch/java/saminda/osgi_test/distribution/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler1.java
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler2.java
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/SimpleModule.java
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/
    webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/module.xml
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/pom.xml
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/Version.java
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/
    webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/services.xml

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/annogen/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,60 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>annogen</artifactId>
+    <packaging>bundle</packaging>
+    <name>annogen</name>
+    <version>0.1.0</version>
+    <description>
+        This bundle will export packages from annogen.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>annogen</groupId>
+            <artifactId>annogen</artifactId>
+            <version>0.1.0</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.codehaus.annogen.*,
+                            org.codehaus.jam.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !org.codehaus.annogen.*,
+                            !org.codehaus.jam.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <DynamicImport-Package>*</DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/ant/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,64 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+   <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>ant</artifactId>
+    <packaging>bundle</packaging>
+    <name>ant</name>
+    <version>1.7.0</version>
+    <description>
+        This bundle will represent Ant
+    </description>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.apache.ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.7.0</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.ant</groupId>
+                    <artifactId>ant-launcher</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <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.7.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Aapche Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.tools.*;-split-package:=merge-first
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.tools.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/axiom/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,134 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>axiom</artifactId>
+    <packaging>bundle</packaging>
+    <name>axiom</name>
+    <version>SNAPSHOT</version>
+    <description>
+        This bundle will contain all axiom
+        trunk packages. This also include xml-apis, xml-resolver,
+    </description>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>javax.mail</groupId>
+            <artifactId>mail</artifactId>
+            <version>1.4</version>
+        </dependency>
+
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>activation</artifactId>
+            <version>1.1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-impl</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-dom</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>dom4j</groupId>
+            <artifactId>dom4j</artifactId>
+            <version>1.6.1</version>
+        </dependency>
+
+    </dependencies>
+
+    <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.0.${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>OSGi Bundle for Axiom</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            !javax.xml.namespace,
+                            org.apache.axiom.*;-split-package:=merge-first,
+                            org.jaxen.*,
+                            javax.activation;version=1.1;-split-package:=merge-first,
+                            javax.mail;version=1.4;-split-package:=merge-first,
+                            javax.mail.event;version=1.4;-split-package:=merge-first,
+                            javax.mail.internet;version=1.4;-split-package:=merge-first,
+                            javax.mail.search;version=1.4;-split-package:=merge-first,
+                            javax.mail.util;version=1.4;-split-package:=merge-first,
+                            com.sun.mail.imap;version=1.4,
+                            com.sun.mail.pop3;version=1.4,
+                            com.sun.mail.smtp;version=1.4,
+                            org.dom4j.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.axiom.*,
+                            !org.jaxen.*,
+                            !javax.activation;version=1.1,
+                            !javax.mail;version=1.4,
+                            !javax.mail.event;version=1.4,
+                            !javax.mail.internet;version=1.4,
+                            !javax.mail.search;version=1.4,
+                            !javax.mail.util;version=1.4,
+                            !com.sun.mail.imap;version=1.4,
+                            !com.sun.mail.pop3;version=1.4,
+                            !com.sun.mail.smtp;version=1.4,
+                            !org.dom4j.*,
+                            org.xml.sax.*,
+                            org.w3c.dom.*,
+                            javax.xml.stream,
+                            javax.xml.stream.events,
+                            javax.xml.stream.util,
+                            javax.xml.datatype,
+                            javax.xml.parsers,
+                            javax.xml.transform.*,
+                            javax.xml.validation,
+                            javax.xml.xpath,
+                            javax.xml,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <Private-Package>
+                            com.sun.activation.registries,
+                            com.sun.activation.viewers,
+                            com.sun.mail.handlers,
+                            com.sun.mail.iap,
+                            com.sun.mail.imap.protocol,
+                            com.sun.mail.util
+                        </Private-Package>
+                        <Include-Resource>
+                            @activation-1.1.jar!/META-INF/mailcap.default,
+                            @activation-1.1.jar!/META-INF/mimetypes.default,
+                            @mail-1.4.jar!/META-INF/javamail.charset.map,
+                            @mail-1.4.jar!/META-INF/javamail.default.address.map,
+                            @mail-1.4.jar!/META-INF/javamail.default.providers,
+                            @mail-1.4.jar!/META-INF/mailcap,
+                        </Include-Resource>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.codec/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+   <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>commons.codec</artifactId>
+    <packaging>bundle</packaging>
+    <name>commons.codec</name>
+    <version>1.3</version>
+    <description>
+        This bundle will export packages from commons-codec.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+                <groupId>commons-codec</groupId>
+                <artifactId>commons-codec</artifactId>
+                <version>1.3</version>
+            </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.commons.codec.*
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.commons.codec.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.fileupload/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,66 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>commons.fileupload</artifactId>
+    <packaging>bundle</packaging>
+    <name>commons.fileupload</name>
+    <version>1.2</version>
+    <description>
+        This bundle will export packages from
+        commons-fileupload.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>commons-fileupload</groupId>
+            <artifactId>commons-fileupload</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>WSO2 Inc</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.commons.fileupload.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.commons.fileupload.*,
+                            javax.servlet; version=2.4,
+                            javax.servlet.http;version=2.4,
+                            org.apache.commons.io,
+                            org.apache.commons.io.output,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <DynamicImport-Package>
+                            javax.portlet
+                        </DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.httpclient/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,56 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>commons.httpclient</artifactId>
+    <packaging>bundle</packaging>
+    <name>commons.httpclient</name>
+    <version>3.1</version>
+    <description>
+        This bundle will export packages from commons-httpclient.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>commons-httpclient</groupId>
+            <artifactId>commons-httpclient</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.commons.httpclient.*,
+                        </Export-Package>
+                        <Import-Package>
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/commons.io/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>commons.io</artifactId>
+    <packaging>bundle</packaging>
+    <name>commons.io</name>
+    <version>1.4</version>
+    <description>
+        This bundle will export packages from commons-io.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.commons.io.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.commons.io.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/httpcore/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+     <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>httpcore</artifactId>
+    <packaging>bundle</packaging>
+    <name>httpcore</name>
+    <version>4.0-beta1</version>
+    <description>
+        This bundle will export packages from httpcore.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpcore</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.http.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !org.apache.http.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.axis2.3rd.bundles</groupId>
+    <artifactId>3rd.bundles</artifactId>
+    <version>1.0.0</version>
+    <packaging>pom</packaging>
+    <name>parent pom</name>
+    <description>parent pom</description>
+
+    <modules>
+        <module>annogen</module>
+        <module>ant</module>
+        <module>commons.codec</module>
+        <module>commons.fileupload</module>
+        <module>commons.httpclient</module>
+        <module>commons.io</module>
+        <module>httpcore</module>
+        <module>wsdl4j</module>
+        <module>wstx-asl</module>
+        <module>xml-apis</module>
+        <module>woden</module>
+        <module>axiom</module>
+    </modules>
+
+
+
+</project>
+

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/woden/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,78 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>woden</artifactId>
+    <packaging>bundle</packaging>
+    <name>woden</name>
+    <version>1.0M8</version>
+    <description>
+         This bundle will represent Woden
+    </description>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.apache.woden</groupId>
+            <artifactId>woden-api</artifactId>
+            <version>1.0M8</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.codehaus.woodstox</groupId>
+                    <artifactId>wstx-asl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.woden</groupId>
+            <artifactId>woden-impl-dom</artifactId>
+            <version>1.0M8</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.codehaus.woodstox</groupId>
+                    <artifactId>wstx-asl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+    </dependencies>
+
+    <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.M8</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>OSGi Bundle for Woden</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.woden.*;-split-package:=merge-first
+                        </Export-Package>
+                        <Import-Package>
+                            !javax.xml.namespace,
+                            !org.apache.woden.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wsdl4j/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,59 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wsdl4j</artifactId>
+    <packaging>bundle</packaging>
+    <name>wsdl4j</name>
+    <version>1.6.2</version>
+    <description>
+        This bundle will export packages from wsdl4j.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>wsdl4j</groupId>
+            <artifactId>wsdl4j</artifactId>
+            <version>1.6.2</version>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-Description>OSGi Bundle for WSDL4J</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            javax.wsdl.*,
+                            com.ibm.wsdl.*,
+                        </Export-Package>
+                        <Import-Package>
+                            !javax.wsdl.*,
+                            !com.ibm.wsdl.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/wstx-asl/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,58 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wstx-asl</artifactId>
+    <packaging>bundle</packaging>
+    <name>wstx-asl</name>
+    <version>3.2.4</version>
+    <description>
+        This bundle will export packages from wstx-asl.jar
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>${pom.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>stax</groupId>
+                    <artifactId>stax-api</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Org</Bundle-Vendor>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Fragment-Host>org.apache.geronimo.specs.geronimo-stax-api_1.0_spec</Fragment-Host>
+                        <Import-Package>*;resolution:=optional</Import-Package>
+                        <Embed-Dependency>wstx-asl;scope=compile|runtime;inline=true;</Embed-Dependency>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/3rd.bundles/xml-apis/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,73 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.3rd.bundles</groupId>
+        <artifactId>3rd.bundles</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>xml-apis</artifactId>
+    <packaging>bundle</packaging>
+    <name>xml-apis</name>
+    <version>1.0.0</version>
+    <description>
+        This bundle will represent xml apis
+    </description>
+
+    <dependencies>
+
+
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>2.8.1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.bcel</groupId>
+            <artifactId>bcel</artifactId>
+            <version>5.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>xml-resolver</groupId>
+            <artifactId>xml-resolver</artifactId>
+            <version>1.2</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>
+                            ${pom.artifactId}
+                        </Bundle-SymbolicName>
+                        <Import-Package>
+                            !org.apache.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                        <Export-Package>
+                            org.apache.*;-split-package:=merge-first,
+                        </Export-Package>
+                        <Include-Resource>
+                            @xercesImpl-2.8.1.jar!/META-INF/services/**,
+                        </Include-Resource>
+                        <DynamicImport-Package>javax.naming</DynamicImport-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: webservices/axis2/scratch/java/saminda/osgi_test/distribution/bin.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/distribution/bin.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/distribution/bin.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/distribution/bin.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,46 @@
+<assembly>
+    <!--<id>bin</id>-->
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>true</includeBaseDirectory>
+
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>plugins</outputDirectory>
+            <outputFileNameMapping>
+                ${artifact.artifactId}_${artifact.version}${dashClassifier?}.${artifact.extension}
+            </outputFileNameMapping>
+            <includes>
+                <include>org.apache.axis2.osgi.test:simple.module:jar</include>
+                <include>org.apache.axis2.osgi.test:simple.version:jar</include>
+                <include>org.apache.axis2.3rd.bundles:annogen:jar</include>
+                <include>org.apache.axis2.3rd.bundles:ant:jar</include>
+                <include>org.apache.axis2.3rd.bundles:axiom:jar</include>
+                <include>org.apache.axis2.3rd.bundles:commons.io:jar</include>
+                <include>org.apache.axis2.3rd.bundles:commons.codec:jar</include>
+                <include>org.apache.axis2.3rd.bundles:commons.fileupload:jar</include>
+                <include>org.apache.axis2.3rd.bundles:commons.httpclient:jar</include>
+                <include>org.apache.axis2.3rd.bundles:httpcore:jar</include>
+                <include>org.apache.axis2.3rd.bundles:wsdl4j:jar</include>
+                <include>org.apache.axis2.3rd.bundles:wstx-asl:jar</include>
+                <include>org.apache.axis2.3rd.bundles:xml-apis:jar</include>
+                <include>org.apache.axis2.3rd.bundles:woden:jar</include>
+                <!--others-->
+                <include>org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar</include>
+                <include>org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar</include>
+                <include>org.apache.woden:woden-api:jar</include>
+                <include>org.apache.woden:woden-impl-dom:jar</include>
+                <include>org.apache.ws.commons.schema:XmlSchema:jar</include>
+                <include>org.apache.neethi:neethi:jar</include>
+            </includes>
+        </dependencySet>
+    </dependencySets>
+
+    <files>
+        <file>
+            <source>lib/org.apache.axis2.osgi-SNAPSHOT.jar</source>
+            <outputDirectory>plugins</outputDirectory>
+        </file>
+    </files>
+</assembly>
\ No newline at end of file

Added: webservices/axis2/scratch/java/saminda/osgi_test/distribution/lib/org.apache.axis2.osgi-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/distribution/lib/org.apache.axis2.osgi-SNAPSHOT.jar?rev=670204&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/axis2/scratch/java/saminda/osgi_test/distribution/lib/org.apache.axis2.osgi-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis2/scratch/java/saminda/osgi_test/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/distribution/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/distribution/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/distribution/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+
+    <parent>
+        <groupId>org.apache.axis2.osgi.test</groupId>
+        <artifactId>test-parent</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>distribution</artifactId>
+    <packaging>pom</packaging>
+    <name>distribution pom</name>
+    <description>distribution pom</description>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.apache.axis2.osgi.test</groupId>
+            <artifactId>simple.module</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.osgi.test</groupId>
+            <artifactId>simple.version</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>annogen</artifactId>
+            <version>0.1.0</version>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.7.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>axiom</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>commons.io</artifactId>
+            <version>1.4</version>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>commons.codec</artifactId>
+            <version>1.3</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>commons.fileupload</artifactId>
+            <version>1.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>commons.httpclient</artifactId>
+            <version>3.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>commons.io</artifactId>
+            <version>1.4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>httpcore</artifactId>
+            <version>4.0-beta1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>wsdl4j</artifactId>
+            <version>1.6.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.4</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>xml-apis</artifactId>
+            <version>1.0.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2.3rd.bundles</groupId>
+            <artifactId>woden</artifactId>
+            <version>1.0M8</version>
+        </dependency>
+
+        <!-- others -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
+            <version>1.1.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.woden</groupId>
+            <artifactId>woden-api</artifactId>
+            <version>1.0M8</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.woden</groupId>
+            <artifactId>woden-impl-dom</artifactId>
+            <version>1.0M8</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.ws.commons.schema</groupId>
+            <artifactId>XmlSchema</artifactId>
+            <version>1.4.2</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.neethi</groupId>
+            <artifactId>neethi</artifactId>
+            <version>2.0.4</version>
+        </dependency>
+
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.2-beta-2</version>
+                <executions>
+                    <execution>
+                        <id>dist</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>bin.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>
+

Added: webservices/axis2/scratch/java/saminda/osgi_test/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.axis2.osgi.test</groupId>
+    <artifactId>test-parent</artifactId>
+    <version>1.0.0</version>
+    <packaging>pom</packaging>
+    <name>parent pom</name>
+    <description>parent pom</description>
+
+    <modules>
+        <module>3rd.bundles</module>
+        <module>version.service</module>
+        <module>simple.module</module>
+        <module>distribution</module>
+    </modules>
+
+    
+
+
+</project>
+

Added: webservices/axis2/scratch/java/saminda/osgi_test/simple.module/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/simple.module/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/simple.module/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/simple.module/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.apache.axis2.osgi.test</groupId>
+        <artifactId>test-parent</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>simple.module</artifactId>
+    <packaging>bundle</packaging>
+    <name>simple.module bundle</name>
+    <description>simple.module bundle</description>
+
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Axis2, 2008</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Require-Bundle>org.apache.axis2.osgi;visibility:=reexport</Require-Bundle>
+                        <Private-Package>org.apache.axis2.osgi.module</Private-Package>
+                        <Bundle-RequiredExecutionEnvironment>
+                            J2SE-1.5
+                        </Bundle-RequiredExecutionEnvironment>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+
+
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>org.apache.axis2.osgi</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+
+    </dependencies>
+
+
+</project>
+

Added: webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler1.java
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler1.java?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler1.java (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler1.java Sat Jun 21 07:24:13 2008
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.osgi.module;
+
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.handlers.AbstractHandler;
+
+/**
+ *
+ */
+public class Handler1 extends AbstractHandler {
+
+    public InvocationResponse invoke(MessageContext messageContext) throws AxisFault {
+        System.out.println("Handler1 invoked");
+        return InvocationResponse.CONTINUE;
+    }
+}

Added: webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler2.java
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler2.java?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler2.java (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/Handler2.java Sat Jun 21 07:24:13 2008
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.osgi.module;
+
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.handlers.AbstractHandler;
+
+/*
+* 
+*/
+public class Handler2 extends AbstractHandler{
+
+    public InvocationResponse invoke(MessageContext messageContext) throws AxisFault {
+        System.out.println("Handler2 invoked");
+        return InvocationResponse.CONTINUE;
+    }
+}

Added: webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/SimpleModule.java
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/SimpleModule.java?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/SimpleModule.java (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/java/org/apache/axis2/osgi/module/SimpleModule.java Sat Jun 21 07:24:13 2008
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.osgi.module;
+
+import org.apache.axis2.modules.Module;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.description.AxisModule;
+import org.apache.axis2.description.AxisDescription;
+import org.apache.axis2.AxisFault;
+import org.apache.neethi.Assertion;
+import org.apache.neethi.Policy;
+
+/**
+* 
+*/
+public class SimpleModule implements Module{
+
+    public void init(ConfigurationContext configurationContext, AxisModule axisModule)
+            throws AxisFault {
+        System.out.println("Simple module init");
+    }
+
+    public void engageNotify(AxisDescription axisDescription) throws AxisFault {
+        System.out.println("Simple module engage notify");
+    }
+
+    public boolean canSupportAssertion(Assertion assertion) {
+        return false;
+    }
+
+    public void applyPolicy(Policy policy, AxisDescription axisDescription) throws AxisFault {
+        System.out.println("Simple module apply policy");
+    }
+
+    public void shutdown(ConfigurationContext configurationContext) throws AxisFault {
+        System.out.println("Simple module shutdown");
+    }
+}

Added: webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/module.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/module.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/module.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/simple.module/src/main/resources/META-INF/module.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,18 @@
+
+<module name="simpleModule">
+    <Description>Sample Module for demo purpose only</Description>
+    <InFlow>
+        <handler name="Handler1" class="org.apache.axis2.osgi.module.Handler1">
+            <order phase="OperationInPhase" />
+        </handler>
+    </InFlow>
+
+    <OutFlow>
+        <!-- We don't need to have two handlers to handle these two version. So lets handle both of them in one. -->
+        <handler name="Handler2" class="org.apache.axis2.osgi.module.Handler2">
+            <order phase="MessageOut"/>
+        </handler>
+    </OutFlow>
+
+
+</module>

Added: webservices/axis2/scratch/java/saminda/osgi_test/version.service/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/version.service/pom.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/version.service/pom.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/version.service/pom.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.apache.axis2.osgi.test</groupId>
+        <artifactId>test-parent</artifactId>
+        <version>1.0.0</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>simple.version</artifactId>
+    <packaging>bundle</packaging>
+    <name>version bundle</name>
+    <description>version bundle</description>
+
+
+    <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>${pom.version}</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Axis2, 2008</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Require-Bundle>org.apache.axis2.osgi;visibility:=reexport</Require-Bundle>
+                        <Private-Package>org.apache.axis2.osgi.service</Private-Package>
+                        <Bundle-RequiredExecutionEnvironment>
+                            J2SE-1.5
+                        </Bundle-RequiredExecutionEnvironment>
+                    </instructions>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+
+
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>org.apache.axis2.osgi</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+
+    </dependencies>
+
+
+</project>
+

Added: webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/Version.java
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/Version.java?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/Version.java (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/java/org/apache/axis2/osgi/service/Version.java Sat Jun 21 07:24:13 2008
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.osgi.service;
+
+/**
+ *
+ */
+public class Version {
+    public String getVersion() throws Exception {
+        return "Hello This is the a sample Version service";
+    }
+}

Added: webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/services.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/services.xml?rev=670204&view=auto
==============================================================================
--- webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/services.xml (added)
+++ webservices/axis2/scratch/java/saminda/osgi_test/version.service/src/main/resources/META-INF/services.xml Sat Jun 21 07:24:13 2008
@@ -0,0 +1,28 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<serviceGroup name="Builtin">
+    <service name="Version">
+        <module ref="simpleModule"/>
+        <description>
+            This service is to get the running Axis version
+        </description>
+        <parameter name="ServiceClass">org.apache.axis2.osgi.service.Version</parameter>
+    </service>
+</serviceGroup>
\ No newline at end of file