Author: ruwan
Date: Mon Jan 25 16:30:27 2010
New Revision: 902862

URL: http://svn.apache.org/viewvc?rev=902862&view=rev
Log:
Fixing the build

Added:
    webservices/commons/trunk/modules/transport/modules/all/
      - copied from r899884, 
webservices/commons/trunk/modules/transport/modules/parent/
    webservices/commons/trunk/modules/transport/modules/all/src/
    webservices/commons/trunk/modules/transport/modules/all/src/main/
    webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/
    
webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/src.xml
Removed:
    webservices/commons/trunk/modules/transport/modules/parent/
Modified:
    webservices/commons/trunk/modules/transport/modules/all/pom.xml
    webservices/commons/trunk/modules/transport/pom.xml

Modified: webservices/commons/trunk/modules/transport/modules/all/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/all/pom.xml?rev=902862&r1=899884&r2=902862&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/modules/all/pom.xml (original)
+++ webservices/commons/trunk/modules/transport/modules/all/pom.xml Mon Jan 25 
16:30:27 2010
@@ -20,124 +20,19 @@
 <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>
-
     <parent>
-        <groupId>org.apache</groupId>
-        <artifactId>apache</artifactId>
-        <version>6</version>
+        <groupId>org.apache.axis2</groupId>
+        <artifactId>axis2-transports</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <groupId>org.apache.axis2</groupId>
-    <artifactId>axis2-transport</artifactId>
+    <artifactId>axis2-transport-all</artifactId>
     <version>1.1.0-SNAPSHOT</version>
-    <packaging>pom</packaging>
+    <packaging>bundle</packaging>
     <description>Axis2 Transport</description>
-    <name>Apache Axis2 - Transport - Parent</name>
-    <url>http://ws.apache.org/commons/transport/</url>
-    <issueManagement>
-        <system>JIRA</system>
-        <url>http://issues.apache.org/jira/browse/WSCOMMONS</url>
-    </issueManagement>
-           <mailingLists>
-        <mailingList>
-            <name>WS Commons Developers</name>
-            <subscribe>commons-dev-subscr...@ws.apache.org</subscribe>
-            <unsubscribe>commons-dev-unsubscr...@ws.apache.org</unsubscribe>
-            <post>commons-dev@ws.apache.org</post>
-            
<archive>http://mail-archives.apache.org/mod_mbox/ws-commons-dev/</archive>
-        </mailingList>
-    </mailingLists>
-    <inceptionYear>2004</inceptionYear>
-    <developers>
-        <developer>
-            <name>Saminda Abeyruwan</name>
-            <id>saminda</id>
-            <email>saminda AT wso2.com</email>
-            <organization>WSO2</organization>
-        </developer>
-        <developer>
-            <name>Eran Chinthaka</name>
-            <id>chinthaka</id>
-            <email>chinthaka AT wso2.com</email>
-            <organization>WSO2</organization>
-            <url>http://www.apache.org/~chinthaka</url>
-        </developer>
-        <developer>
-            <name>Glen Daniels</name>
-            <id>gdaniels</id>
-            <email>gdaniels AT apache.org</email>
-            <organization>Sonic Software</organization>
-        </developer>
-        <developer>
-            <name>Deepal Jayasinghe</name>
-            <id>deepal</id>
-            <email>deepal AT wso2.com</email>
-            <organization>WSO2</organization>
-            <url>http://www.apache.org/~deepal</url>
-        </developer>
-        <developer>
-            <name>Srinath Perera</name>
-            <id>hemapani</id>
-            <email>hemapani AT apache.org</email>
-            <organization>Lanka Software Foundation</organization>
-            <url>http://www.apache.org/~hemapani</url>
-        </developer>
-        <developer>
-            <name>Ajith Ranabahu</name>
-            <id>ajith</id>
-            <email>ajith AT wso2.com</email>
-            <organization>WSO2</organization>
-            <url>http://www.apache.org/~ajith</url>
-        </developer>
-        <developer>
-            <name>Davanum Srinivas</name>
-            <id>dims</id>
-            <email>dims AT wso2.com</email>
-            <organization>WSO2</organization>
-        </developer>
-        <developer>
-            <name>Andreas Veithen</name>
-            <id>veithen</id>
-            <email>veithen AT apache.org</email>
-            <url>http://www.linkedin.com/in/aveithen</url>
-        </developer>
-        <developer>
-            <name>Sanjiva Weerawarana</name>
-            <id>sanjiva</id>
-            <email>sanjiva AT wso2.com</email>
-            <organization>WSO2</organization>
-        </developer>
-        <developer>
-            <name>Asankha Perera</name>
-            <id>asankha</id>
-            <email>asankha AT apache.org</email>
-            <organization>Apache</organization>
-        </developer>
-        <developer>
-            <name>Ruwan Linton</name>
-            <id>ruwan</id>
-            <email>ruwan AT apache.org</email>
-            <organization>WSO2</organization>
-        </developer>
-    </developers>
-    <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
-    <scm>
-        
<connection>scm:svn:http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport</connection>
-        <developerConnection>
-            
scm:svn:https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport
-        </developerConnection>
-        
<url>http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/transport</url>
-    </scm>
-    <organization>
-        <name>The Apache Software Foundation</name>
-        <url>http://www.apache.org/</url>
-    </organization>
+    <name>Apache Axis2 - Transport - All</name>
     <profiles>
         <profile>
             <id>release</id>
@@ -209,193 +104,113 @@
             </build>
         </profile>
     </profiles>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-base</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-jms</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-mail</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-tcp</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-sms</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-xmpp</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-udp</artifactId>
+            <version>${pom.version}</version>
+        </dependency>
+    </dependencies>
+
     <build>
+        <resources>
+            <resource>
+                <directory>../..</directory>
+                <includes>
+                    <include>LICENSE</include>
+                    <include>NOTICE</include>
+                </includes>
+            </resource>
+        </resources>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
-                </configuration>
-            </plugin>
-            <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <descriptors>
-                        <descriptor>src/main/assembly/bin.xml</descriptor>
-                        <descriptor>src/main/assembly/src.xml</descriptor>
-                    </descriptors>
-                    <tarLongFileMode>gnu</tarLongFileMode>
-                </configuration>
+                <version>2.2-beta-2</version>
+                <executions>
+                    <execution>
+                        <id>distribution-package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                
<descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                            
<finalName>axis2-transports-${pom.version}</finalName>
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
             <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <inherited>true</inherited>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
                 <configuration>
-                    <source>1.5</source>
-                    <target>1.5</target>
+                    <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.base.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.jms.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.mail.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.tcp.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.sms.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.xmpp.*;-split-package:=merge-last,
+                            
org.apache.axis2.transport.udp.*;-split-package:=merge-last,
+                            
org.apache.axis2.format.*;-split-package:=merge-last,
+                        </Export-Package>
+                        <Import-Package>
+                            !javax.xml.namespace,
+                            javax.xml.namespace; version=0.0.0,
+                            *; resolution:=optional
+                        </Import-Package>
+                    </instructions>
                 </configuration>
             </plugin>
             <plugin>
                 <artifactId>maven-source-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
+                <version>2.1.1</version>
                 <configuration>
-                    <attach>true</attach>
+                    <attach>false</attach>
                 </configuration>
             </plugin>
         </plugins>
     </build>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>snapshot</id>
-            <name>Snapshot repository</name>
-            <url>http://snapshots.maven.codehaus.org/maven2/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </pluginRepository>
-        <pluginRepository>
-            <id>snapshot-apache</id>
-            <name>Apache Snapshot repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </pluginRepository>
-    </pluginRepositories>
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.apache.axis2</groupId>
-                <artifactId>axis2-kernel</artifactId>
-                <version>${axis2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom</groupId>
-                <artifactId>axiom-api</artifactId>
-                <version>${axiom.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom</groupId>
-                <artifactId>axiom-impl</artifactId>
-                <version>${axiom.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom</groupId>
-                <artifactId>axiom-dom</artifactId>
-                <version>${axiom.version}</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>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>2.3</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-httpclient</groupId>
-                <artifactId>commons-httpclient</artifactId>
-                <version>3.1</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-fileupload</groupId>
-                <artifactId>commons-fileupload</artifactId>
-                <version>1.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.httpcomponents</groupId>
-                <artifactId>httpcore</artifactId>
-                <version>4.0-beta1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.codehaus.woodstox</groupId>
-                <artifactId>wstx-asl</artifactId>
-                <version>3.2.4</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>1.1.1</version>
-            </dependency>
-
-            <!-- Smack Jabber client libraries to be included -->
-            <dependency>
-                <groupId>org.igniterealtime</groupId>
-                <artifactId>smack</artifactId>
-                <version>3.0.4</version>
-            </dependency>
-            <dependency>
-                <groupId>org.igniterealtime</groupId>
-                <artifactId>smackx</artifactId>
-                <version>3.0.4</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-lang</groupId>
-                <artifactId>commons-lang</artifactId>
-                <version>2.3</version>
-            </dependency>
-            
-            <!-- Dependencies used in the unit tests -->
-            <dependency>
-                <groupId>junit</groupId>
-                <artifactId>junit</artifactId>
-                <version>3.8.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.aspectj</groupId>
-                <artifactId>aspectjrt</artifactId>
-                <version>1.6.1</version>
-            </dependency>
-            <dependency>
-                <groupId>org.aspectj</groupId>
-                <artifactId>aspectjweaver</artifactId>
-                <version>1.6.1</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-kernel</artifactId>
-        </dependency>
-    </dependencies>
-
-    <distributionManagement>
-        <repository>
-            <id>apache-repo</id>
-            <name>Maven Central Repository</name>
-            
<url>scpexe://people.apache.org//www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
-        </repository>
-        <snapshotRepository>
-            <id>apache-snapshots</id>
-            <name>Apache Development Repository</name>
-            
<url>scpexe://people.apache.org//www/people.apache.org/repo/m2-snapshot-repository</url>
-            <uniqueVersion>false</uniqueVersion>
-        </snapshotRepository>
-        <site>
-            <id>website</id>
-            
<url>scpexe://people.apache.org/www/ws.apache.org/commons/transport</url>
-        </site>
-    </distributionManagement>
-    <properties>
-        <axiom.version>1.2.9-SNAPSHOT</axiom.version>
-        <axis2.version>SNAPSHOT</axis2.version>
-        <failIfNoTests>false</failIfNoTests>
-    </properties>
-</project>
+</project>
\ No newline at end of file

Added: 
webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/src.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/src.xml?rev=902862&view=auto
==============================================================================
--- 
webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/src.xml
 (added)
+++ 
webservices/commons/trunk/modules/transport/modules/all/src/main/assembly/src.xml
 Mon Jan 25 16:30:27 2010
@@ -0,0 +1,54 @@
+<?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.
+  -->
+<assembly>
+    <!-- id typically identifies the "type" (src vs bin etc) of the assembly 
-->
+    <id>src</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>../..</directory>
+            
<outputDirectory>axis2-transports-${pom.version}-src</outputDirectory>
+            <includes>
+                <include>NOTICE</include>
+                <include>LICENSE</include>
+                <include>modules/**/*</include>
+                <include>**/pom.xml</include>
+                <include>src/**/*</include>
+            </includes>
+            <excludes>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**/*</exclude>
+                <exclude>**/build</exclude>
+                <exclude>**/build/**/*</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.classpath</exclude>
+                <exclude>**/.project</exclude>
+                <exclude>**/.wtpmodules</exclude>
+                <exclude>**/*.iml</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.settings/**/*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

Modified: webservices/commons/trunk/modules/transport/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/transport/pom.xml?rev=902862&r1=902861&r2=902862&view=diff
==============================================================================
--- webservices/commons/trunk/modules/transport/pom.xml (original)
+++ webservices/commons/trunk/modules/transport/pom.xml Mon Jan 25 16:30:27 2010
@@ -33,9 +33,124 @@
     <version>1.1.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>Apache Axis2 - Transport - Root</name>
+    <url>http://ws.apache.org/commons/transport/</url>
+    <description>
+        Axis2 Transports are a set of transport adaptors for the Apache Axis2 
project
+        as well as for the Apache Synapse project. These transports consists 
of a set of
+        synchronous as well as completely asynchronous transport adaprots.
+    </description>
+
+    <issueManagement>
+        <system>JIRA</system>
+        <url>http://issues.apache.org/jira/browse/WSCOMMONS</url>
+    </issueManagement>
+
+    <mailingLists>
+        <mailingList>
+            <name>WS Commons Developers</name>
+            <subscribe>commons-dev-subscr...@ws.apache.org</subscribe>
+            <unsubscribe>commons-dev-unsubscr...@ws.apache.org</unsubscribe>
+            <post>commons-dev@ws.apache.org</post>
+            
<archive>http://mail-archives.apache.org/mod_mbox/ws-commons-dev/</archive>
+        </mailingList>
+    </mailingLists>
+    <inceptionYear>2004</inceptionYear>
+
+    <developers>
+        <developer>
+            <name>Saminda Abeyruwan</name>
+            <id>saminda</id>
+            <email>saminda AT wso2.com</email>
+            <organization>WSO2</organization>
+        </developer>
+        <developer>
+            <name>Eran Chinthaka</name>
+            <id>chinthaka</id>
+            <email>chinthaka AT wso2.com</email>
+            <organization>WSO2</organization>
+            <url>http://www.apache.org/~chinthaka</url>
+        </developer>
+        <developer>
+            <name>Glen Daniels</name>
+            <id>gdaniels</id>
+            <email>gdaniels AT apache.org</email>
+            <organization>Sonic Software</organization>
+        </developer>
+        <developer>
+            <name>Deepal Jayasinghe</name>
+            <id>deepal</id>
+            <email>deepal AT wso2.com</email>
+            <organization>WSO2</organization>
+            <url>http://www.apache.org/~deepal</url>
+        </developer>
+        <developer>
+            <name>Srinath Perera</name>
+            <id>hemapani</id>
+            <email>hemapani AT apache.org</email>
+            <organization>Lanka Software Foundation</organization>
+            <url>http://www.apache.org/~hemapani</url>
+        </developer>
+        <developer>
+            <name>Ajith Ranabahu</name>
+            <id>ajith</id>
+            <email>ajith AT wso2.com</email>
+            <organization>WSO2</organization>
+            <url>http://www.apache.org/~ajith</url>
+        </developer>
+        <developer>
+            <name>Davanum Srinivas</name>
+            <id>dims</id>
+            <email>dims AT wso2.com</email>
+            <organization>WSO2</organization>
+        </developer>
+        <developer>
+            <name>Andreas Veithen</name>
+            <id>veithen</id>
+            <email>veithen AT apache.org</email>
+            <url>http://www.linkedin.com/in/aveithen</url>
+        </developer>
+        <developer>
+            <name>Sanjiva Weerawarana</name>
+            <id>sanjiva</id>
+            <email>sanjiva AT wso2.com</email>
+            <organization>WSO2</organization>
+        </developer>
+        <developer>
+            <name>Asankha Perera</name>
+            <id>asankha</id>
+            <email>asankha AT apache.org</email>
+            <organization>Apache</organization>
+        </developer>
+        <developer>
+            <name>Ruwan Linton</name>
+            <id>ruwan</id>
+            <email>ruwan AT apache.org</email>
+            <organization>WSO2</organization>
+        </developer>
+    </developers>
+
+    <licenses>
+        <license>
+            <name>The Apache Software License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <scm>
+        
<connection>scm:svn:http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport</connection>
+        <developerConnection>
+            
scm:svn:https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport
+        </developerConnection>
+        
<url>http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/transport</url>
+    </scm>
+
+    <organization>
+        <name>The Apache Software Foundation</name>
+        <url>http://www.apache.org/</url>
+    </organization>
 
     <modules>
-        <module>modules/parent</module>
         <module>modules/base</module>
         <module>modules/http</module>
         <module>modules/tcp</module>
@@ -45,80 +160,11 @@
         <module>modules/jms</module>
         <module>modules/sms</module>
         <module>modules/testkit</module>
+        <module>modules/all</module>
     </modules>
 
     <profiles>
         <profile>
-            <id>java15</id>
-            <activation>
-                <jdk>1.5</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>transport-jar</id>
-                                <phase>package</phase>
-                                <configuration>
-                                    <tasks>
-                                        <mkdir dir="target/lib"/>
-                                        <jar 
destfile="target/lib/axis2-transports-${pom.version}.jar">
-                                            <fileset 
dir="modules/jms/target/classes"/>
-                                            <fileset 
dir="modules/tcp/target/classes"/>
-                                            <fileset 
dir="modules/xmpp/target/classes"/>
-                                            <fileset 
dir="modules/base/target/classes"/>
-                                            <fileset 
dir="modules/mail/target/classes"/>
-                                        </jar>
-                                    </tasks>
-                                </configuration>
-                                <goals>
-                                    <goal>run</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>java16</id>
-            <activation>
-                <jdk>1.6</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>transport-jar</id>
-                                <phase>package</phase>
-                                <configuration>
-                                    <tasks>
-                                        <mkdir dir="target/lib"/>
-                                        <jar 
destfile="target/lib/axis2-transports-${pom.version}.jar">
-                                            <fileset 
dir="modules/jms/target/classes"/>
-                                            <fileset 
dir="modules/tcp/target/classes"/>
-                                            <fileset 
dir="modules/xmpp/target/classes"/>
-                                            <fileset 
dir="modules/base/target/classes"/>
-                                            <fileset 
dir="modules/mail/target/classes"/>
-                                        </jar>
-                                    </tasks>
-                                </configuration>
-                                <goals>
-                                    <goal>run</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
             <id>cobertura</id>
             <dependencies>
                 <dependency>
@@ -230,13 +276,133 @@
             </build>
         </profile>
     </profiles>
-    <scm>
-        
<connection>scm:svn:http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport</connection>
-        <developerConnection>
-            
scm:svn:https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport
-        </developerConnection>
-        
<url>http://svn.apache.org/viewcvs.cgi/webservices/commons/trunk/modules/transport</url>
-    </scm>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.axis2</groupId>
+                <artifactId>axis2-kernel</artifactId>
+                <version>${axis2.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.ws.commons.axiom</groupId>
+                <artifactId>axiom-api</artifactId>
+                <version>${axiom.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.ws.commons.axiom</groupId>
+                <artifactId>axiom-impl</artifactId>
+                <version>${axiom.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.ws.commons.axiom</groupId>
+                <artifactId>axiom-dom</artifactId>
+                <version>${axiom.version}</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>javax.servlet</groupId>
+                <artifactId>servlet-api</artifactId>
+                <version>2.3</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-httpclient</groupId>
+                <artifactId>commons-httpclient</artifactId>
+                <version>3.1</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-fileupload</groupId>
+                <artifactId>commons-fileupload</artifactId>
+                <version>1.2</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.httpcomponents</groupId>
+                <artifactId>httpcore</artifactId>
+                <version>4.0-beta1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.codehaus.woodstox</groupId>
+                <artifactId>wstx-asl</artifactId>
+                <version>3.2.4</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>1.1.1</version>
+            </dependency>
+
+            <!-- Smack Jabber client libraries to be included -->
+            <dependency>
+                <groupId>org.igniterealtime</groupId>
+                <artifactId>smack</artifactId>
+                <version>3.0.4</version>
+            </dependency>
+            <dependency>
+                <groupId>org.igniterealtime</groupId>
+                <artifactId>smackx</artifactId>
+                <version>3.0.4</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-lang</groupId>
+                <artifactId>commons-lang</artifactId>
+                <version>2.3</version>
+            </dependency>
+
+            <!-- Dependencies used in the unit tests -->
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>3.8.2</version>
+            </dependency>
+            <dependency>
+                <groupId>org.aspectj</groupId>
+                <artifactId>aspectjrt</artifactId>
+                <version>1.6.1</version>
+            </dependency>
+            <dependency>
+                <groupId>org.aspectj</groupId>
+                <artifactId>aspectjweaver</artifactId>
+                <version>1.6.1</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-kernel</artifactId>
+        </dependency>
+    </dependencies>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>snapshot</id>
+            <name>Snapshot repository</name>
+            <url>http://snapshots.maven.codehaus.org/maven2/</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </pluginRepository>
+        <pluginRepository>
+            <id>snapshot-apache</id>
+            <name>Apache Snapshot repository</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </pluginRepository>
+    </pluginRepositories>
+
     <distributionManagement>
         <repository>
             <id>apache-repo</id>
@@ -251,7 +417,12 @@
             
<url>scpexe://people.apache.org//www/people.apache.org/repo/m2-snapshot-repository</url>
             <uniqueVersion>false</uniqueVersion>
         </snapshotRepository>
+        <site>
+            <id>website</id>
+            
<url>scpexe://people.apache.org/www/ws.apache.org/commons/transport</url>
+        </site>
     </distributionManagement>
+
     <build>
         <plugins>
             <plugin>
@@ -269,28 +440,22 @@
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.1.1</version>
                 <executions>
                     <execution>
-                        <id>axis2-jar-package</id>
-                        <phase>package</phase>
                         <goals>
-                            <goal>attach-artifact</goal>
+                            <goal>jar</goal>
                         </goals>
-                        <configuration>
-                            <artifacts>
-                                <artifact>
-                                    
<file>target/lib/axis2-transports-${pom.version}.jar</file>
-                                    <type>jar</type>
-                                </artifact>
-                            </artifacts>
-                        </configuration>
                     </execution>
                 </executions>
+                <configuration>
+                    <attach>true</attach>
+                </configuration>
             </plugin>
         </plugins>
     </build>
+
     <reporting>
         <plugins>
             <plugin>
@@ -328,4 +493,11 @@
             </plugin>
         </plugins>
     </reporting>
+
+    <properties>
+        <axiom.version>1.2.8</axiom.version>
+        <axis2.version>1.5</axis2.version>
+        <failIfNoTests>false</failIfNoTests>
+    </properties>
+
 </project>


Reply via email to