You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by as...@apache.org on 2009/04/30 14:22:01 UTC

svn commit: r770195 - in /synapse/trunk/java: ./ modules/core/ modules/transports/ modules/transports/core/ modules/transports/core/nhttp/ modules/transports/core/nhttp/src/ modules/transports/core/nhttp/src/main/ modules/transports/core/nhttp/src/main...

Author: asankha
Date: Thu Apr 30 12:22:00 2009
New Revision: 770195

URL: http://svn.apache.org/viewvc?rev=770195&view=rev
Log:
refactor the transports into separate JARs as discussed on the dev list some days back

Added:
    synapse/trunk/java/modules/transports/core/
    synapse/trunk/java/modules/transports/core/nhttp/
    synapse/trunk/java/modules/transports/core/nhttp/pom.xml
    synapse/trunk/java/modules/transports/core/nhttp/src/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/
    synapse/trunk/java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/nhttp/
      - copied from r770055, synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/
    synapse/trunk/java/modules/transports/core/pipe/
    synapse/trunk/java/modules/transports/core/pipe/pom.xml
    synapse/trunk/java/modules/transports/core/pipe/src/
    synapse/trunk/java/modules/transports/core/pipe/src/main/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/org/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/org/apache/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/org/apache/synapse/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/
    synapse/trunk/java/modules/transports/core/pipe/src/main/java/org/apache/synapse/transport/pipe/
      - copied from r770055, synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/pipe/
    synapse/trunk/java/modules/transports/core/vfs/
    synapse/trunk/java/modules/transports/core/vfs/pom.xml
    synapse/trunk/java/modules/transports/core/vfs/src/
    synapse/trunk/java/modules/transports/core/vfs/src/main/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/org/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/org/apache/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/transport/
    synapse/trunk/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/transport/vfs/
      - copied from r770055, synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/vfs/
    synapse/trunk/java/modules/transports/optional/
    synapse/trunk/java/modules/transports/optional/fix/
    synapse/trunk/java/modules/transports/optional/fix/pom.xml
    synapse/trunk/java/modules/transports/optional/fix/src/
    synapse/trunk/java/modules/transports/optional/fix/src/main/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/
    synapse/trunk/java/modules/transports/optional/fix/src/main/java/org/apache/synapse/transport/fix/
      - copied from r770055, synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/fix/
Removed:
    synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/fix/
    synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/nhttp/
    synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/pipe/
    synapse/trunk/java/modules/transports/src/main/java/org/apache/synapse/transport/vfs/
Modified:
    synapse/trunk/java/modules/core/pom.xml
    synapse/trunk/java/modules/transports/pom.xml
    synapse/trunk/java/pom.xml

Modified: synapse/trunk/java/modules/core/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/pom.xml?rev=770195&r1=770194&r2=770195&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/pom.xml (original)
+++ synapse/trunk/java/modules/core/pom.xml Thu Apr 30 12:22:00 2009
@@ -208,7 +208,11 @@
         </dependency>
         <dependency>
             <groupId>org.apache.synapse</groupId>
-            <artifactId>synapse-transports</artifactId>
+            <artifactId>synapse-nhttp-transport</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-vfs-transport</artifactId>
         </dependency>
 
         <!-- Rampart

Added: synapse/trunk/java/modules/transports/core/nhttp/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/core/nhttp/pom.xml?rev=770195&view=auto
==============================================================================
--- synapse/trunk/java/modules/transports/core/nhttp/pom.xml (added)
+++ synapse/trunk/java/modules/transports/core/nhttp/pom.xml Thu Apr 30 12:22:00 2009
@@ -0,0 +1,132 @@
+<?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>
+    <parent>
+        <groupId>org.apache.synapse</groupId>
+        <artifactId>synapse-transports</artifactId>
+        <version>SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.synapse</groupId>
+    <artifactId>synapse-nhttp-transport</artifactId>
+    <name>Apache Synapse - Non-blocking HTTP/s Transport</name>
+    <description>Apache Synapse - Non-blocking HTTP/s Transport</description>
+    <packaging>bundle</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Version>1.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.synapse.transport.nhttp.*;-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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>true</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.aspectj</groupId>
+                                    <artifactId>aspectjweaver</artifactId>
+                                    <outputDirectory>target/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.3</version>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>log4j.configuration</name>
+                            <value>file:../../log4j.properties</value>
+                        </property>
+                        <property>
+                            <name>net.sourceforge.cobertura.datafile</name>
+                            <value>target/cobertura.ser</value>
+                        </property>
+                    </systemProperties>
+                    <argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
+                </configuration>
+            </plugin>-->
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpcore</artifactId>
+            <version>${httpcore.nio.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpcore-nio</artifactId>
+            <version>${httpcore.nio.version}</version>
+        </dependency>
+        <!-- The HTTP NIO transport depends on a few methods from the blocking HTTP transport,
+             so we need to add this as an explicit dependency. -->
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-transport-http</artifactId>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <httpcore.nio.version>4.0</httpcore.nio.version>
+    </properties>
+
+</project>
\ No newline at end of file

Added: synapse/trunk/java/modules/transports/core/pipe/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/core/pipe/pom.xml?rev=770195&view=auto
==============================================================================
--- synapse/trunk/java/modules/transports/core/pipe/pom.xml (added)
+++ synapse/trunk/java/modules/transports/core/pipe/pom.xml Thu Apr 30 12:22:00 2009
@@ -0,0 +1,111 @@
+<?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>
+    <parent>
+        <groupId>org.apache.synapse</groupId>
+        <artifactId>synapse-transports</artifactId>
+        <version>SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.synapse</groupId>
+    <artifactId>synapse-pipe-transport</artifactId>
+    <name>Apache Synapse - PIPE Transport</name>
+    <description>Apache Synapse - PIPE Transport</description>
+    <packaging>bundle</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Version>1.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.synapse.transport.pipe.*;-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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>true</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.aspectj</groupId>
+                                    <artifactId>aspectjweaver</artifactId>
+                                    <outputDirectory>target/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.3</version>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>log4j.configuration</name>
+                            <value>file:../../log4j.properties</value>
+                        </property>
+                        <property>
+                            <name>net.sourceforge.cobertura.datafile</name>
+                            <value>target/cobertura.ser</value>
+                        </property>
+                    </systemProperties>
+                    <argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
+                </configuration>
+            </plugin>-->
+        </plugins>
+    </build>
+
+    <dependencies>
+    </dependencies>
+</project>
\ No newline at end of file

Added: synapse/trunk/java/modules/transports/core/vfs/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/core/vfs/pom.xml?rev=770195&view=auto
==============================================================================
--- synapse/trunk/java/modules/transports/core/vfs/pom.xml (added)
+++ synapse/trunk/java/modules/transports/core/vfs/pom.xml Thu Apr 30 12:22:00 2009
@@ -0,0 +1,153 @@
+<?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>
+    <parent>
+        <groupId>org.apache.synapse</groupId>
+        <artifactId>synapse-transports</artifactId>
+        <version>SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.synapse</groupId>
+    <artifactId>synapse-vfs-transport</artifactId>
+    <name>Apache Synapse - VFS Transport</name>
+    <description>Apache Synapse - VFS Transport</description>
+    <packaging>bundle</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Version>1.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.synapse.transport.vfs.*;-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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>true</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.aspectj</groupId>
+                                    <artifactId>aspectjweaver</artifactId>
+                                    <outputDirectory>target/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.3</version>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>log4j.configuration</name>
+                            <value>file:../../log4j.properties</value>
+                        </property>
+                        <property>
+                            <name>net.sourceforge.cobertura.datafile</name>
+                            <value>target/cobertura.ser</value>
+                        </property>
+                    </systemProperties>
+                    <argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
+                </configuration>
+            </plugin>-->
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-vfs</artifactId>
+            <version>${commons.vfs.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.mina</groupId>
+            <artifactId>mina-core</artifactId>
+            <version>${mina.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <version>${slf4j.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>de.schlichtherle.io</groupId>
+            <artifactId>truezip</artifactId>
+            <version>${truezip.version}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>commons-net</groupId>
+            <artifactId>commons-net</artifactId>
+            <version>${commons.net.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+            <version>${jsch.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>oro</groupId>
+            <artifactId>oro</artifactId>
+            <version>${oro.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>${commons_io.version}</version>
+        </dependency>
+    </dependencies>
+</project>
\ No newline at end of file

Added: synapse/trunk/java/modules/transports/optional/fix/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/optional/fix/pom.xml?rev=770195&view=auto
==============================================================================
--- synapse/trunk/java/modules/transports/optional/fix/pom.xml (added)
+++ synapse/trunk/java/modules/transports/optional/fix/pom.xml Thu Apr 30 12:22:00 2009
@@ -0,0 +1,146 @@
+<?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>
+    <parent>
+        <groupId>org.apache.synapse</groupId>
+        <artifactId>synapse-transports</artifactId>
+        <version>SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.synapse</groupId>
+    <artifactId>synapse-fix-transport</artifactId>
+    <name>Apache Synapse - FIX Transport</name>
+    <description>Apache Synapse - FIX Transport</description>
+    <packaging>bundle</packaging>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>1.4.0</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-Version>1.0</Bundle-Version>
+                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
+                        <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+                        <Bundle-Description>${pom.description}</Bundle-Description>
+                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                        <Export-Package>
+                            org.apache.synapse.transport.fix.*;-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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0</version>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-resources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>true</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.aspectj</groupId>
+                                    <artifactId>aspectjweaver</artifactId>
+                                    <outputDirectory>target/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.3</version>
+                <configuration>
+                    <systemProperties>
+                        <property>
+                            <name>log4j.configuration</name>
+                            <value>file:../../log4j.properties</value>
+                        </property>
+                        <property>
+                            <name>net.sourceforge.cobertura.datafile</name>
+                            <value>target/cobertura.ser</value>
+                        </property>
+                    </systemProperties>
+                    <argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
+                </configuration>
+            </plugin>-->
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-core</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-msg-fix40</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-msg-fix41</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-msg-fix42</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-msg-fix43</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>quickfixj</groupId>
+            <artifactId>quickfixj-msg-fix44</artifactId>
+            <version>${qfj.version}</version>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <qfj.version>1.3.1</qfj.version>
+    </properties>
+
+</project>
\ No newline at end of file

Modified: synapse/trunk/java/modules/transports/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/transports/pom.xml?rev=770195&r1=770194&r2=770195&view=diff
==============================================================================
--- synapse/trunk/java/modules/transports/pom.xml (original)
+++ synapse/trunk/java/modules/transports/pom.xml Thu Apr 30 12:22:00 2009
@@ -34,9 +34,9 @@
     <artifactId>synapse-transports</artifactId>
     <name>Apache Synapse - Transports</name>
     <description>Apache Synapse - Transports</description>
-    <packaging>bundle</packaging>
+    <packaging>pom</packaging>
 
-    <build>
+    <!--build>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -58,7 +58,7 @@
                 </configuration>
             </plugin>
             
-            <!-- We need a repository with the addressing module for the UDP transport tests -->
+            <- We need a repository with the addressing module for the UDP transport tests >
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
@@ -128,7 +128,7 @@
                 </configuration>
             </plugin>
         </plugins>
-    </build>
+    </build-->
 
     <profiles>
         <profile>
@@ -158,6 +158,13 @@
         </profile>
     </profiles>
 
+    <modules>
+        <module>core/nhttp</module>
+        <module>core/pipe</module>
+        <module>core/vfs</module>
+        <module>optional/fix</module>
+    </modules>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.synapse</groupId>
@@ -173,12 +180,6 @@
             <groupId>org.apache.axis2</groupId>
             <artifactId>axis2-transport-base</artifactId>
         </dependency>
-        <!-- The HTTP NIO transport depends on a few methods from the blocking HTTP transport,
-             so we need to add this as an explicit dependency. -->
-        <dependency>
-            <groupId>org.apache.axis2</groupId>
-            <artifactId>axis2-transport-http</artifactId>
-        </dependency>
 
         <dependency>
             <groupId>org.apache.axis2</groupId>
@@ -186,100 +187,10 @@
             <version>${axis2.transport.version}</version>
             <scope>test</scope>
         </dependency>
-        
-        <!-- HTTP transport dependencies -->
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpcore</artifactId>
-            <version>${httpcore.nio.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpcore-nio</artifactId>
-            <version>${httpcore.nio.version}</version>
-        </dependency>
-        
-        <!-- FIX transport dependencies -->
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-core</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-msg-fix40</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-msg-fix41</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-msg-fix42</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-msg-fix43</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>quickfixj</groupId>
-            <artifactId>quickfixj-msg-fix44</artifactId>
-            <version>${qfj.version}</version>
-        </dependency>
-        
-        <!-- Other dependencies -->
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-vfs</artifactId>
-            <version>${commons.vfs.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.mina</groupId>
-            <artifactId>mina-core</artifactId>
-            <version>${mina.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>${slf4j.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>de.schlichtherle.io</groupId>
-            <artifactId>truezip</artifactId>
-            <version>${truezip.version}</version>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>commons-net</groupId>
-            <artifactId>commons-net</artifactId>
-            <version>${commons.net.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.jcraft</groupId>
-            <artifactId>jsch</artifactId>
-            <version>${jsch.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>oro</groupId>
-            <artifactId>oro</artifactId>
-            <version>${oro.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>${commons_io.version}</version>
-        </dependency>
     </dependencies>
 
     <properties>
         <aspectj.version>1.6.1</aspectj.version>
-        <httpcore.nio.version>4.0</httpcore.nio.version>
-        <qfj.version>1.3.1</qfj.version>
     </properties>
 
 </project>

Modified: synapse/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=770195&r1=770194&r2=770195&view=diff
==============================================================================
--- synapse/trunk/java/pom.xml (original)
+++ synapse/trunk/java/pom.xml Thu Apr 30 12:22:00 2009
@@ -247,7 +247,12 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.synapse</groupId>
-                <artifactId>synapse-transports</artifactId>
+                <artifactId>synapse-nhttp-transport</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.synapse</groupId>
+                <artifactId>synapse-vfs-transport</artifactId>
                 <version>${project.version}</version>
             </dependency>
 
@@ -659,11 +664,12 @@
             <version>${commons-cli.version}</version>
         </dependency>
 
-        <!--dependency>
+        <dependency>
             <groupId>commons-lang</groupId>
             <artifactId>commons-lang</artifactId>
             <version>${commons-lang.version}</version>
-        </dependency-->
+            <scope>test</scope>
+        </dependency>
         
         <!-- Caching dependencies -->
         <dependency>