Maven Repository - POM file for Spring mule-module-spring 2.0.0-M2 2.0.0-M2

Summary

Spring Extras.

Non-core functionality provided by Spring such as transactions, remoting, data sources, etc..

Declaration

Here is the list of declaration for mule-module-spring. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.mule.modules</groupId>
   <artifactId>mule-module-spring</artifactId>
   <version>2.0.0-M2</version>
</dependency>

If you think this Maven repository POM file listing for mule-module-spring is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Depends on

The mule-module-spring-2.0.0-M2 has 7 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Developmentmule-module-builders 2.0.0-M2
Standard configuration builders for Mule
5
Data Structurecommons-collections 3.2
Types that extend and augment the Java Collections Framework.
366
Testingmule-tests-functional 2.0.0-M2
Mule functional test framework (TCK)
26
Developmentmule-module-client 2.0.0-M2
MuleClient is a simple interface for Mule clients to send and receive events from local or remote Mule Servers.
26
Httpmule-transport-http 2.0.0-M2
A Mule transport for Http Connectivity. This transport supplies a simple Http Server implementation.
5
Datamule-transport-vm 2.0.0-M2
A Mule transport that enables event sending and receiving over VM or embedded memory queues. These queues can be persistent or transient.
24




Plugin

The following plugins are used in the mule-module-spring-2.0.0-M2.jar

  1. maven-surefire-plugin

Packages

The following packages are defined in the mule-module-spring-2.0.0-M2.jar

org.mule.extras.spring.config
org.mule.extras.spring.events
org.mule.extras.spring.i18n
org.mule.extras.spring.remoting
org.mule.extras.spring.transaction

POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<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.mule.modules</groupId>
        <artifactId>mule-modules</artifactId>
        <version>2.0.0-M2</version>
    </parent>
    <artifactId>mule-module-spring</artifactId>
    <!--<packaging>bundle</packaging>-->
    <name>Spring Extras</name>
    <description>
        Non-core functionality provided by Spring such as transactions, remoting, data sources, etc.
    </description>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <!-- 
                        TODO do not use mule-test-exclusions.txt for now as this module still
                        needs to be sorted out
                     -->
                    <excludes>
                        <exclude>**/*</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>java14</id>
            <activation>
                <jdk>1.4</jdk>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <!-- see mule-module-xml -->
                <dependency>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </dependency>
                <dependency>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </dependency>
                <!-- Needed for XSLT -->
                <dependency>
                    <groupId>dom4j</groupId>
                    <artifactId>dom4j</artifactId>
                    <version>1.4</version>
                    <exclusions>
                        <exclusion>
                            <groupId>jaxen</groupId>
                            <artifactId>jaxen</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>relaxngDatatype</groupId>
                            <artifactId>relaxngDatatype</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>isorelax</groupId>
                            <artifactId>isorelax</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>saxpath</groupId>
                            <artifactId>saxpath</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>msv</groupId>
                            <artifactId>msv</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>java5</id>
            <activation>
                <jdk>1.5</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>dom4j</groupId>
                    <artifactId>dom4j</artifactId>
                    <version>1.4</version>
                    <exclusions>
                        <!-- IMPORTANT for JDK5 -->
                        <exclusion>
                            <groupId>xml-apis</groupId>
                            <artifactId>xml-apis</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>jaxen</groupId>
                            <artifactId>jaxen</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>relaxngDatatype</groupId>
                            <artifactId>relaxngDatatype</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>isorelax</groupId>
                            <artifactId>isorelax</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>saxpath</groupId>
                            <artifactId>saxpath</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>msv</groupId>
                            <artifactId>msv</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>osgi</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.felix</groupId>
                        <artifactId>maven-bundle-plugin</artifactId>
                        <configuration>
                            <instructions>
                                <Export-Package>
                                    org.mule.extras.spring.config, org.mule.extras.spring.events,
                                    org.mule.extras.spring.remoting, org.mule.extras.spring.transaction
                                </Export-Package>
                            </instructions>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <dependencies>
        <!-- do not include the org.springframework:spring depencency kitchen sink
            but rather include each spring module individually. This allows for
            finer grained management of dependencies.
        -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-support</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jms</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-support</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Used by MuleEventMulticaster -->
        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-builders</artifactId>
            <version>${version}</version>
        </dependency>

        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-management</artifactId>
            <version>${version}</version>
        </dependency>

        <!-- Used by SpringTransactionFactory -->
        <!-- TODO: verify whether this dependency is really required. -->
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-jms_1.1_spec</artifactId>
        </dependency>

        <!--
            TODO this is a hack. Duplicate declaration (original is in the top pom.xml)
            makes Spring happy to compile when run from the project root folder,
            otherwise it cannot find classes from commons-logging.
            
            It seems m2 dependency visibility hierarchy is limited to 1 level deep.
        -->
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2</version>
        </dependency>

        <!-- For test cases only -->
        <!-- TODO This can't be in the parent pom.xml because it creates a cyclic dependency:
            mule-tests-functional -> mule-module-builders -> mule-tests-functional -->
        <dependency>
            <groupId>org.mule.tests</groupId>
            <artifactId>mule-tests-functional</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.modules</groupId>
            <artifactId>mule-module-client</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-http</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mule.transports</groupId>
            <artifactId>mule-transport-vm</artifactId>
            <version>${version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>