<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.ing.calypso</groupId>
    <artifactId>ing-calypso</artifactId>
    <packaging>pom</packaging>
    <!-- note: versionNumber is profile specific -->
    <!-- to first generate pomGenerated.xml with version number populated then complete the build -->
    <!-- from command line run these two commands -->
    <!-- mvn -DreleaseNumber=xxx -DBUILD_NUMBER=nnn clean generate-sources -->
    <!-- mvn -f pomGenerated.xml install -->
    <version>${versionNumber}</version>
    <modules>
        <module>dataserver</module>
        <module>engineserver</module>
        <!-- note: client module is responsible for running unit tests -->
        <module>client</module>
    </modules>

    <properties>
        <buildType>Placeholder</buildType>
        <releaseRepoUrl>https://$JENKINS_USER:$JENKINS_PASS@sdnlapp73020.europe.intranet/artifactory/libs-release-local
        </releaseRepoUrl>
        <snapshotRepoUrl>https://$JENKINS_USER:$JENKINS_PASS@sdnlapp73020.europe.intranet/artifactory/libs-snapshot-local
        </snapshotRepoUrl>
        <deployRepoUrl>${releaseRepoUrl}</deployRepoUrl>
        <isRelease>true</isRelease>
        <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
        <!-- installation type is dataserver or engineserver; controlled by selected profile -->
        <installWar>dataserver</installWar>
        <installType>local</installType>
        <installEnv>DEV05</installEnv>
        <jbossVersion>jboss-eap-6.1</jbossVersion>
        <main.basedir>${project.basedir}</main.basedir>
        <config.dir>${project.basedir}/target/configuration</config.dir>
        <!-- set cargoGoal to "run" to start JBoss and keep it running -->
        <cargoGoal>start</cargoGoal>
        <!--<jboss.port>9999</jboss.port>-->
        <jboss.dir>${project.build.directory}/jboss/${jbossVersion}</jboss.dir>
    </properties>

    <build>
        <sourceDirectory>${main.basedir}/source</sourceDirectory>
        <resources>
            <resource>
                <directory>${main.basedir}/FileSystem/resource</directory>
            </resource>
            <resource>
                <directory>${main.basedir}/FileSystem/resource/XSD</directory>
            </resource>
            <resource>
                <directory>${main.basedir}/FileSystem/resource/XSLT</directory>
            </resource>
        </resources>
        <testSourceDirectory>${main.basedir}/test/src</testSourceDirectory>
        <testResources>
            <testResource>
                <directory>${main.basedir}/test/resources</directory>
            </testResource>
            <testResource>
                <directory>${main.basedir}/specs</directory>
            </testResource>
        </testResources>

        <pluginManagement>
            <!-- plugins defined in this section are for use by the child projects-->
            <!-- and will not be executed directly in the parent project -->
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.8</version>
                    <executions>
                        <!-- unpack jboss (for use by Cargo); note: end up with strange dir permissions which can cause problems -->
                        <execution>
                            <id>unpackJBoss</id>
                            <phase>prepare-package</phase>
                            <goals>
                                <goal>unpack</goal>
                            </goals>
                            <configuration>
                                <artifactItems>
                                    <artifactItem>
                                        <groupId>org.jboss</groupId>
                                        <artifactId>jboss-eap</artifactId>
                                        <version>6.1.0</version>
                                        <type>zip</type>
                                    </artifactItem>
                                </artifactItems>
                                <outputDirectory>${project.build.directory}/jboss</outputDirectory>
                            </configuration>
                        </execution>
                        <!-- copy oracle driver to jboss installation  -->
                        <execution>
                            <id>installOracleDriverJBoss</id>
                            <phase>package</phase>
                            <goals>
                                <goal>copy</goal>
                            </goals>
                            <configuration>
                                <artifactItems>
                                    <artifactItem>
                                        <groupId>com.oracle</groupId>
                                        <artifactId>ojdbc6</artifactId>
                                        <!--<version>6.1.0</version>-->
                                        <type>jar</type>
                                    </artifactItem>
                                </artifactItems>
                                <outputDirectory>${jboss.dir}/modules/com/oracle/ojdbc6/main</outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>org.codehaus.cargo</groupId>
                    <artifactId>cargo-maven2-plugin</artifactId>
                    <version>1.4.6</version>
                    <executions>
                        <execution>
                            <id>startJBoss</id>
                            <phase>integration-test</phase>
                            <goals>
                                <goal>${cargoGoal}</goal>
                            </goals>
                        </execution>
                    </executions>

                    <configuration>
                        <!-- Container configuration -->
                        <configuration>
                            <!-- standalone, existing or runtime -->
                            <type>standalone</type>
                            <home>${project.build.directory}/cargo/configurations/${installEnv}/${installWar}</home>

                            <!-- configfiles will be copied relative to the home directory-->
                            <!-- note that property processing is done by the maven-resources-plugin -->
                            <!-- todo: need to copy the generated calypsouser.properties.$env to $HOME/Calypso -->
                            <configfiles>
                                <configfile>
                                    <file>${config.dir}/${installEnv}/standalone-${installWar}.xml</file>
                                    <tofile>configuration/standalone.xml</tofile>
                                </configfile>
                                <configfile>
                                    <file>${main.basedir}/configuration/mgmt-users.properties</file>
                                    <todir>configuration</todir>
                                </configfile>
                            </configfiles>
                            <properties>
                                <cargo.jvmargs>
                                    -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${jdwpPort}
                                    -Dfwr_config=${main.basedir}/FileSystem/resource/framework/config.xml
                                    -Xms512m -Xmx1024m
                                    -XX:MaxPermSize=512m
                                    -XX:+UseConcMarkSweepGC
                                    -XX:+UseCMSCompactAtFullCollection
                                    -XX:CMSInitiatingOccupancyFraction=68
                                    -XX:CMSFullGCsBeforeCompaction=0
                                </cargo.jvmargs>

                                <!-- cargo.jboss.configuration used to specify a different config xml, but it doesn't work properly -->
                                <!--<cargo.jboss.configuration>standalone-${installWar}.xml</cargo.jboss.configuration>-->
                                <cargo.servlet.port>${cargo.servlet.port}</cargo.servlet.port>
                                <cargo.jboss.management-http.port>${cargo.jboss.management-http.port}
                                </cargo.jboss.management-http.port>
                                <cargo.jboss.remoting.transport.port>${cargo.jboss.remoting.transport.port}
                                </cargo.jboss.remoting.transport.port>
                                <cargo.jboss.management-http.port>${cargo.jboss.management.http.port}
                                </cargo.jboss.management-http.port>
                                <cargo.jboss.management-native.port>${cargo.jboss.management.native.port}
                                </cargo.jboss.management-native.port>
                                <cargo.jboss.management-https.port>${cargo.jboss.management.https.port}
                                </cargo.jboss.management-https.port>
                            </properties>
                        </configuration>

                        <!-- Configuration to use with the container or the deployer -->
                        <container>
                            <!-- installed or remote -->
                            <!-- Note: the maven dependency plugin unpack target is used to install JBoss from Artifactory -->
                            <!--<type>installed</type>-->
                            <!-- jboss72x = JBoss Enterprise Application Platform (EAP) version 6.1 -->
                            <containerId>jboss72x</containerId>
                            <!--<home>${project.build.directory}/jboss/${installEnv}/${installWar}/${jbossVersion}</home>-->
                            <home>${project.build.directory}/jboss/${jbossVersion}</home>
                            <dependencies>
                                <dependency>
                                    <groupId>com.oracle</groupId>
                                    <artifactId>ojdbc6</artifactId>
                                </dependency>
                            </dependencies>
                            <systemProperties>
                                <env>${installEnv}</env>
                                <jboss.node.name>standalone-${installWar}</jboss.node.name>
                                <calypso.console.appender>true</calypso.console.appender>
                                <org.jboss.as.logging.per-deployment>false</org.jboss.as.logging.per-deployment>
                                <org.jboss.resolver.warning>true</org.jboss.resolver.warning>
                                <java.util.Arrays.useLegacyMergeSort>true</java.util.Arrays.useLegacyMergeSort>
                                <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
                                <!--<jboss.socket.binding.port-offset>${jbossPortOffset}</jboss.socket.binding.port-offset>-->
                                <jboss.modules.system.pkgs>org.jboss.byteman</jboss.modules.system.pkgs>
                                <!--<jboss.server.default.config>standalone-${installWar}.xml</jboss.server.default.config>-->
                                <!--<jboss.server.base.dir>${project.build.directory}/cargo/configurations/${containerId}/</jboss.server.base.dir>-->
                                <sun.rmi.dgc.client.gcInterval>3600000</sun.rmi.dgc.client.gcInterval>
                                <sun.rmi.dgc.server.gcInterval>3600000</sun.rmi.dgc.server.gcInterval>
                            </systemProperties>
                            <!--<output>${project.build.directory}/jboss72x/container.log</output>-->
                            <append>false</append>
                            <!--<log>${project.build.directory}/jboss72x/cargo.log</log>-->
                        </container>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <!-- add generated-sources/src/main/java to the source path -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <id>add-generated-sources</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>${main.basedir}/generated-sources/src/main/java</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- specify location of jaxb generated source (for IntelliJ) and specify Java version (for Eclipse) -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                    <generatedSourcesDirectory>${main.basedir}/generated-sources/src/main/java</generatedSourcesDirectory>
                </configuration>
            </plugin>

            <!-- install the assembled tar.gz -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-install-plugin</artifactId>
                <version>2.5.1</version>
                <executions>
                    <execution>
                        <id>installTar</id>
                        <phase>install</phase>
                        <goals>
                            <goal>install-file</goal>
                        </goals>
                        <configuration>
                            <packaging>tar.gz</packaging>
                            <file>${project.build.directory}/${artifactId}-${versionNumber}.tar.gz</file>
                            <pomFile>pomGenerated.xml</pomFile>
                            <version>${versionNumber}</version>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- deploy the assembled tar.gz -->
            <plugin>
                <artifactId>maven-deploy-plugin</artifactId>
                <version>2.8.1</version>
                <executions>
                    <execution>
                        <id>deployTar</id>
                        <phase>deploy</phase>
                        <goals>
                            <goal>deploy-file</goal>
                        </goals>
                        <configuration>
                            <packaging>tar.gz</packaging>
                            <file>${project.build.directory}/${artifactId}-${versionNumber}.tar.gz</file>
                            <pomFile>pomGenerated.xml</pomFile>
                            <url>${deployRepoUrl}</url>
                            <version>${versionNumber}</version>
                            <!--
                                                        <updateReleaseInfo>${isRelease}</updateReleaseInfo>
                                                        <uniqueVersion>false</uniqueVersion>
                            -->
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- generate classpath file -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <execution>
                        <id>build-classpath</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>build-classpath</goal>
                        </goals>
                        <configuration>
                            <outputFile>${project.build.directory}/classpath.txt</outputFile>
                            <fileSeparator>/</fileSeparator>
                            <pathSeparator>:</pathSeparator>
                            <prefix>lib</prefix>
                        </configuration>
                    </execution>
                    <!-- copy the JBoss zip for assembly and standalone install/run (used by startServer.sh) -->
                    <execution>
                        <id>copyJBossZip</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.jboss</groupId>
                                    <artifactId>jboss-eap</artifactId>
                                    <version>6.1.0</version>
                                    <type>zip</type>
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>${project.build.directory}</outputDirectory>
                        </configuration>
                    </execution>
                    <!-- copy oracle driver to build dir for packaging  -->
                    <execution>
                        <id>packageOracleDriver</id>
                        <phase>package</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>com.oracle</groupId>
                                    <artifactId>ojdbc6</artifactId>
                                    <!--<version>6.1.0</version>-->
                                    <type>jar</type>
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>${project.build.directory}/modules/com/oracle/ojdbc6/main</outputDirectory>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- fix pom by substituting variables -->
            <plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.4.3</version>
                <executions>
                    <execution>
                        <id>replace-pom-placeholder</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <resources>
                                <resource>
                                    <directory>${basedir}</directory>
                                    <includes>
                                        <include>pom.xml</include>
                                        <!-- also generate ingInfo.sql and setEnv.cmd -->
                                        <include>scripts/ingInfo.sql</include>
                                        <!-- note that variable expansion does not work with scripts that start with @echo off -->
                                        <include>scripts/dos/set*.cmd</include>
                                    </includes>
                                    <filtering>true</filtering>
                                </resource>
                            </resources>
                            <outputDirectory>${project.build.directory}/pom-generated</outputDirectory>
                        </configuration>
                    </execution>
                    <execution>
                        <!-- need to force refresh of the concordion specs each time -->
                        <!-- otherwise output from each run gets appended since concordion output is also written to test-classes -->
                        <!-- (required to maintain html link integrity where referencing test data) -->
                        <!-- (another solution would be to copy test resources to multiple target dirs) -->
                        <id>refresh-concordion-specs</id>
                        <phase>process-test-resources</phase>
                        <goals>
                            <goal>testResources</goal>
                        </goals>
                        <configuration>
                            <!-- refresh Concordion specs -->
                            <overwrite>true</overwrite>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- run ant tasks -->
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.6</version>
                <executions>
                    <execution>
                        <!-- delete previously generated pom -->
                        <phase>clean</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <id>removePom</id>
                        <configuration>
                            <tasks>
                                <delete file="${basedir}/pomGenerated.xml"/>
                                <delete dir="${main.basedir}/generated-sources"/>
                            </tasks>
                        </configuration>
                    </execution>

                    <execution>
                        <!-- copy generated pom back to basedir so it can be used from Jenkins -->
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <id>movePom</id>
                        <configuration>
                            <tasks>
                                <move file="target/pom-generated/pom.xml" tofile="${basedir}/pomGenerated.xml"/>
                            </tasks>
                        </configuration>
                    </execution>

                    <execution>
                        <!-- generate env specific config files for JBoss -->
                        <phase>package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <id>generateEnv</id>
                        <configuration>
                            <target>
                                <!--
                                                                <ant antfile="${main.basedir}/scripts/antGenerateConfig.xml" inheritRefs="true">
                                                                    <reference refid="maven.plugin.classpath"/>
                                                                </ant>
                                -->

                                <taskdef resource="net/sf/antcontrib/antlib.xml"
                                         classpathref="maven.plugin.classpath"/>
                                <!-- create env specific files -->
                                <macrodef name="copyConfigFiles">
                                    <attribute name="environment"/>
                                    <attribute name="envType"/>
                                    <attribute name="offset"/>
                                    <attribute name="enginesOffset"/>
                                    <attribute name="frameworkDir"/>
                                    <sequential>
                                        <echo message="Generate config for @{envType} / @{environment}"/>
                                        <math result="DATASERVER_JMS_PORT" operand1="5445" operation="+" operand2="@{offset}"
                                              datatype="int"/>
                                        <math result="POSITIONKEEPINGSERVER_PORT" operand1="5445" operation="+"
                                              operand2="@{offset}" datatype="int"/>
                                        <math result="ENTERPRISERISKSERVER_PORT" operand1="4547" operation="+"
                                              operand2="@{offset}" datatype="int"/>
                                        <math result="DATASERVER_PORT" operand1="4447" operation="+" operand2="@{offset}"
                                              datatype="int"/>
                                        <math result="RODATASERVER_PORT" operand1="4447" operation="+" operand2="@{offset}"
                                              datatype="int"/>
                                        <math result="JDWP_DATASERVER_PORT" operand1="5000" operation="+" operand2="@{offset}"
                                              datatype="int"/>

                                        <math result="JDWP_ENGINES_PORT" operand1="5000" operation="+" operand2="@{enginesOffset}"
                                              datatype="int"/>
                                        <math result="management-native" operand1="9999" operation="+" operand2="@{enginesOffset}"
                                              datatype="int"/>
                                        <math result="management-http" operand1="9990" operation="+" operand2="@{enginesOffset}"
                                              datatype="int"/>
                                        <math result="management-https" operand1="9443" operation="+" operand2="@{enginesOffset}"
                                              datatype="int"/>
                                        <math result="ENGINESERVER_PORT" operand1="4447" operation="+" operand2="@{enginesOffset}"
                                              datatype="int"/>

                                        <copy todir="${config.dir}/@{environment}">
                                            <!-- the files to filter -->
                                            <fileset dir="${main.basedir}/configuration"
                                                     includes="standalone-*.xml,*.properties"/>

                                            <!-- filter definitions -->
                                            <filterset>
                                                <filter token="DATASERVER_JMS_PORT" value="${DATASERVER_JMS_PORT}"/>
                                                <filter token="POSITIONKEEPINGSERVER_PORT" value="${POSITIONKEEPINGSERVER_PORT}"/>
                                                <filter token="ENTERPRISERISKSERVER_PORT" value="${ENTERPRISERISKSERVER_PORT}"/>
                                                <filter token="DATASERVER_PORT" value="${DATASERVER_PORT}"/>
                                                <filter token="RODATASERVER_PORT" value="${RODATASERVER_PORT}"/>
                                                <filter token="ENGINESERVER_PORT" value="${ENGINESERVER_PORT}"/>
                                                <filter token="JDWP_DATASERVER_PORT" value="${JDWP_DATASERVER_PORT}"/>
                                                <filter token="JDWP_ENGINES_PORT" value="${JDWP_ENGINES_PORT}"/>
                                                <filter token="CALYPSO_DB_USERNAME"
                                                        value="${CALYPSO_DB_USERNAME.@{environment}}"/>
                                                <filter token="CALYPSO_DB_PASSWORD"
                                                        value="${CALYPSO_DB_PASSWORD.@{environment}}"/>
                                                <filter token="jbossPortOffset" value="@{offset}"/>
                                                <filter token="jbossEnginesPortOffset" value="@{enginesOffset}"/>
                                                <filter token="frameworkDir" value="@{frameworkDir}"/>
                                                <filter token="ENGINE_WAR_FILE" value="ing-engineserver-${version}.war"/>
                                                <filter token="DATASERVER_WAR_FILE" value="ing-dataserver-${version}.war"/>
                                                <filtersfile file="${main.basedir}/env/install.@{envType}.properties"/>
                                            </filterset>
                                        </copy>
                                    </sequential>
                                </macrodef>

                                <echo message="main.basedir = ${main.basedir}"/>
                                <echo message="project.basedir = ${project.basedir}"/>
                                <echo message="config.dir = ${config.dir}"/>
                                <property file="${main.basedir}/env/dbLogin.properties"/>

                                <!-- copy startup scripts to build dir -->
                                <copy todir="${project.build.directory}">
                                    <fileset dir="${main.basedir}/scripts" includes="start*.sh"/>
                                </copy>

                                <!-- copy module.xml (oracle driver definition) to JBoss install (for Cargo) -->
                                <copy todir="${jboss.dir}/modules/com/oracle/ojdbc6/main">
                                    <fileset dir="${main.basedir}/configuration" includes="module.xml"/>
                                </copy>

                                <!-- copy module.xml (oracle driver definition) to build dir (for startServer.sh) -->
                                <copy todir="${project.build.directory}/modules/com/oracle/ojdbc6/main">
                                    <fileset dir="${main.basedir}/configuration" includes="module.xml"/>
                                </copy>

                                <!-- copy mgmt-users.properties (admin user def) to JBoss standalone config dir -->
                                <copy todir="${jboss.dir}/standalone/configuration">
                                    <fileset dir="${main.basedir}/configuration" includes="mgmt-users.properties"/>
                                </copy>

                                <for list="${localEnvs}" param="env">
                                    <sequential>
                                        <!-- when running locally (on dev pc) dataserver and engineserver must use different ports -->
                                        <copyConfigFiles environment="@{env}" envType="local" offset="0"
                                                         enginesOffset="100" frameworkDir="framework"/>
                                    </sequential>
                                </for>

                                <var name="offset" value="0"/>
                                <for list="${devEnvs}" param="env">
                                    <sequential>
                                        <math result="offset" operand1="${offset}" operation="+" operand2="10" datatype="int"/>
                                        <copyConfigFiles environment="@{env}" envType="dev" offset="${offset}"
                                                         enginesOffset="${offset}" frameworkDir="@{env}/framework"/>
                                    </sequential>
                                </for>
                            </target>
                        </configuration>
                    </execution>
                </executions>

                <dependencies>
                    <!-- enable usage of ant contrib -->
                    <dependency>
                        <groupId>ant-contrib</groupId>
                        <artifactId>ant-contrib</artifactId>
                        <version>1.0b3</version>
                        <exclusions>
                            <exclusion>
                                <groupId>ant</groupId>
                                <artifactId>ant</artifactId>
                            </exclusion>
                        </exclusions>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.ant</groupId>
                        <artifactId>ant-nodeps</artifactId>
                        <version>1.8.1</version>
                    </dependency>
                </dependencies>
            </plugin>

            <!-- build .tar.gz package for release deployment; refer assembly.xml -->
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-2</version>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>${basedir}/assembly.xml</descriptor>
                            </descriptors>
                            <appendAssemblyId>false</appendAssemblyId>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- generate target/changelog.txt -->
            <plugin>
                <groupId>com.github.danielflower.mavenplugins</groupId>
                <artifactId>maven-gitlog-plugin</artifactId>
                <version>1.4.11</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>
                            <reportTitle>Changelog for ${project.name} version ${project.version}</reportTitle>
                            <plainTextChangeLogFilename>changelog-${project.version}.txt</plainTextChangeLogFilename>
                            <simpleHTMLChangeLogFilename>changelog-${project.version}.html</simpleHTMLChangeLogFilename>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <!-- generate source from xsd with JAXB -->
            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-xjc-plugin</artifactId>
                <version>2.3.0</version>
                <configuration>
                    <extensions>
                        <extension>org.apache.cxf.xjcplugins:cxf-xjc-dv:2.3.0</extension>
                    </extensions>
                    <sourceRoot>${main.basedir}/generated-sources/src/main/java</sourceRoot>
                    <xsdOptions>
                        <xsdOption>
                            <xsd>${main.basedir}/FileSystem/resource/XSD/organisation.xsd</xsd>
                            <packagename>grid</packagename>
                            <!-- can use this to prevent regenerate package-info.java -->
                            <!--<extensionArgs><list>-npa</list></extensionArgs>-->
                        </xsdOption>
                        <xsdOption>
                            <xsd>${main.basedir}/FileSystem/resource/XSD/BWSResponse.xsd</xsd>
                            <packagename>bwsResponse</packagename>
                            <!-- can use this to prevent regenerate package-info.java -->
                            <!--<extensionArgs><list>-npa</list></extensionArgs>-->
                        </xsdOption>
                        <xsdOption>
                            <xsd>${main.basedir}/FileSystem/resource/XSD/wordserver.xsd</xsd>
                            <bindingFile>${main.basedir}/FileSystem/resource/XSD/wordserver.xjb</bindingFile>
                            <packagename>wordserver</packagename>
                            <!-- can use this to prevent regenerate package-info.java -->
                            <!--<extensionArgs><list>-npa</list></extensionArgs>-->
                        </xsdOption>
                    </xsdOptions>
                </configuration>
                <executions>
                    <execution>
                        <id>generate-sources</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>xsdtojava</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

            <!-- checkstyle -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.10</version>
                <configuration>
                    <enableRulesSummary>false</enableRulesSummary>
                    <configLocation>checkstyle.xml</configLocation>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>2.3</version>
            </plugin>
            <!--  cobertura not working; try Sonar
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>cobertura-maven-plugin</artifactId>
                    <version>2.5.2</version>
                </plugin>
            -->

        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>2.6</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>index</report>
                            <report>help</report>
                            <report>project-team</report>
                            <report>modules</report>
                            <report>plugins</report>
                            <report>cim</report>
                            <report>issue-tracking</report>
                            <report>scm</report>
                            <report>license</report>
                            <report>plugin-management</report>
                            <report>distribution-management</report>
                            <report>summary</report>
                            <report>mailing-list</report>
                            <report>issue-tracking</report>
                            <!--  dependencies disabled to speed up the build
                            <report>dependencies</report>
                            -->
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
            <!-- checkstyle uses checkstyle.xml config -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>2.10</version>
                <configuration>
                    <configLocation>checkstyle.xml</configLocation>
                </configuration>
            </plugin>
            <!-- generate source cross references (for checkstyle, test coverage etc) -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>2.3</version>
            </plugin>
            <!-- add surefire report to the generated site -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>2.16</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <!-- specify report-only to stop prevent it from copying resources again which overwrite the Concordion generated html -->
                            <report>report-only</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
            <!-- add JaCoCo report to the generated site -->
            <!--
                        <plugin>
                            <groupId>org.jacoco</groupId>
                            <artifactId>jacoco-maven-plugin</artifactId>
                            <version>0.6.3.201306030806</version>
                            <configuration>
                                <excludes>
                                    <exclude>*</exclude>
                                </excludes>
                            </configuration>
                        </plugin>
            -->
            <!-- generate javadoc -->
            <!--
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <version>2.9</version>
                        </plugin>
            -->
        </plugins>
    </reporting>

    <distributionManagement>
        <repository>
            <id>SoDC-internal</id>
            <name>SoDC-internal-releases</name>
            <url>${releaseRepoUrl}</url>
        </repository>
        <snapshotRepository>
            <id>SoDC-internal-snapshots</id>
            <name>SoDC-internal-snapshots</name>
            <url>${snapshotRepoUrl}</url>
        </snapshotRepository>
        <site>
            <id>dummy</id>
            <url>file://tmp/fake.com</url>
        </site>
    </distributionManagement>

    <repositories>
        <repository>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <id>SoDC-external</id>
            <name>SoDC-external-releases</name>
            <url>https://$JENKINS_USER:$JENKINS_PASS@sdnlapp73020.europe.intranet/artifactory/ext-release-local</url>
        </repository>
    </repositories>

    <scm>
        <connection>scm:git:https://$JENKINS_USER:$JENKINS_PASS@sdnlapp73020.europe.intranet/gitblit/git/CALYPSO/calypso.git
        </connection>
        <developerConnection>
            scm:git:https://$JENKINS_USER:$JENKINS_PASS@sdnlapp73020.europe.intranet/gitblit/git/CALYPSO/calypso.git
        </developerConnection>
    </scm>

    <profiles>
        <profile>
            <!-- when building snapshot release, deploy to snapshotRepo -->
            <!-- use GIT_BRANCH (from Jenkins) as the release number -->
            <id>snapshot</id>
            <properties>
                <deployRepoUrl>${snapshotRepoUrl}</deployRepoUrl>
                <isRelease>false</isRelease>
                <buildType>SNAPSHOT</buildType>
                <!-- git.branch is derived from Jenkins GIT_BRANCH -->
                <releaseNumber>${git.branch}</releaseNumber>
                <installDir>${releaseNumber}.${BUILD_NUMBER}.${buildType}</installDir>
                <versionNumber>${releaseNumber}-${buildType}</versionNumber>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <!-- remove "origin/" from the Jenkins GIT_BRANCH property and set it as git.branch -->
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>build-helper-maven-plugin</artifactId>
                        <version>1.7</version>
                        <executions>
                            <execution>
                                <id>regex-property</id>
                                <phase>initialize</phase>
                                <goals>
                                    <goal>regex-property</goal>
                                </goals>
                                <configuration>
                                    <name>git.branch</name>
                                    <value>${GIT_BRANCH}</value>
                                    <regex>.*\/(.)</regex>
                                    <replacement>$1</replacement>
                                    <failIfNoMatch>false</failIfNoMatch>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <!-- local build profile is default (e.g. from IntelliJ or Eclipse) -->
            <!-- specify -DreleaseNumber=xxx -DBUILD_NUMBER=nnn on the command line to build a specific artifact -->
            <!-- or just edit the value below (NOTE: do not check it these changes back in to GIT)-->
            <id>local</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <deployRepoUrl>${snapshotRepoUrl}</deployRepoUrl>
                <isRelease>false</isRelease>
                <buildType>SNAPSHOT</buildType>
                <BUILD_NUMBER>0</BUILD_NUMBER>
                <GIT_BRANCH>develop</GIT_BRANCH>
                <releaseNumber>unknown</releaseNumber>
                <installDir>${releaseNumber}.${BUILD_NUMBER}.${buildType}</installDir>
                <versionNumber>${releaseNumber}-${buildType}</versionNumber>
            </properties>
        </profile>

        <profile>
            <!-- when building release, deploy to releaseRepo and apply tag in GIT -->
            <id>release</id>
            <properties>
                <deployRepoUrl>${releaseRepoUrl}</deployRepoUrl>
                <isRelease>true</isRelease>
                <buildType>REL</buildType>
                <!-- VERSION is a Jenkins build parameter -->
                <releaseNumber>${VERSION}</releaseNumber>
                <installDir>${releaseNumber}.${BUILD_NUMBER}.${buildType}</installDir>
                <versionNumber>${releaseNumber}-${buildType}</versionNumber>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <!-- enable SCM tagging -->
                        <artifactId>maven-scm-plugin</artifactId>
                        <version>1.8.1</version>
                        <configuration>
                            <tag>${project.artifactId}-${versionNumber}</tag>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <dependencies>
        <dependency>
            <!-- note: must be before junit -->
            <groupId>com.googlecode.jmockit</groupId>
            <artifactId>jmockit</artifactId>
            <version>1.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>1.9.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4-common</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-reflect</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.9.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-support</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-easymock</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-core</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.concordion</groupId>
            <artifactId>concordion</artifactId>
            <version>1.4.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>xom</groupId>
            <artifactId>xom</artifactId>
            <version>1.2.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>ognl</groupId>
            <artifactId>ognl</artifactId>
            <version>2.6.9</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>3.1</version>
            <scope>test</scope>
        </dependency>

        <!-- calypso jars START -->
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>

        <!-- note: calypso-resources was created by jarring the client/resources directory provided by Calypso -->
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-resources</artifactId>
            <version>V14-SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-analysis-metadata</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-appkit</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-bondexoticnote</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-bondpricingsheet</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calculation-server</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calib-13.0.0.64</artifactId>
            <version>14.0.0.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calibintegration-13.0.0.94</artifactId>
            <version>14.0.0.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calibration</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calypsoml-liquidity-reporting-impl</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-calypsoml-taskstation-impl</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-cdsisdamodel</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-collateral-1.6.0.1</artifactId>
            <version>14.0.0.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-collateral-calypsoml-collateral-impl-1.6.0.1</artifactId>
            <version>14.0.0.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-core</artifactId>
            <version>1.25.5.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-crdpricing</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-cws</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-deal-station</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-executesql</artifactId>
            <version>1.0.4</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-fx</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-hedge-accounting</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-hibernate-impl</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-irdpricing</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-jboss-client-context</artifactId>
            <version>1.2.7</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-liquidity-ba</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-liquidity-classification</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-liquidity-core</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-liquidity-ftp</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-liquidity-reporting</artifactId>
            <version>1.2.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-logging</artifactId>
            <version>1.16.3</version>
        </dependency>
<!-- this causes problems, don't need it in client?
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-lowlatencymessaging</artifactId>
            <version>3.0.1</version>
        </dependency>
-->
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-mktdata-viewer</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-mktdataserver</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-navigator</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-persistence-service</artifactId>
            <version>1.15.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-position-keeping-blotter</artifactId>
            <version>1.0.9</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-position-keeping-core</artifactId>
            <version>1.0.9</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-position-keeping-lookup</artifactId>
            <version>1.0.9</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-position-keeping-processing</artifactId>
            <version>1.0.9</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-position-keeping-routing</artifactId>
            <version>1.0.9</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-presentation-server</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-pricinggrid</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-pricingsheet</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-sales-solution</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scheduling-engine-api</artifactId>
            <version>1.2.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scheduling-engine-client</artifactId>
            <version>1.2.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scheduling-engine-data</artifactId>
            <version>1.2.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scheduling-engine-engine</artifactId>
            <version>1.2.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scheduling-engine-impl</artifactId>
            <version>1.2.18</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-schemer</artifactId>
            <version>1.0.4</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-scriptableOTC</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-sqlinputvalidator</artifactId>
            <version>1.5.1</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-taskenrichment</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-taskstation</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-timeHorizonSimulation</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-trade-blotter</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypsoml-calculationserver-impl</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypsoml-core</artifactId>
            <version>2.11.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypsoml-impl</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypsoml-pricingsheet-impl</artifactId>
            <version>14.0.0.22.SP2</version>
        </dependency>

        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-swingx</artifactId>
            <version>1.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-swift-xml</artifactId>
            <version>1.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-reuters-rfa</artifactId>
            <version>1.16.1</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-random</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-jaxb-impl-runtime</artifactId>
            <version>1.2.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-hibernate-core</artifactId>
            <version>1.4.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-graphics</artifactId>
            <version>1.1.3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-dbbrowser</artifactId>
            <version>1.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-dbimportexport</artifactId>
            <version>1.0.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-bloomberg</artifactId>
            <version>1.5.1</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-cal-upload</artifactId>
            <version>2.0.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso</groupId>
            <artifactId>calypso-cls</artifactId>
            <version>1.0.0-14.0.0.11</version>
        </dependency>
        <!-- calypso jars END -->

        <!-- calypso external jars of unknown origin -->
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>Jama</artifactId>
            <version>1.0.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>javacup</artifactId>
            <version>0.10k</version>
        </dependency>
        <!-- todo: remove this? xml-apis-1.3.03 is in the Calypso war -->
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>xml-apis</artifactId>
            <version>2.7.1</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>4.1.6.Final</version>
        </dependency>
        <!-- need version later than 3.17.0 to fix incompatibility with Orika -->
        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.18.1-GA</version>
        </dependency>
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.0.8</version>
        </dependency>

        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-action</artifactId>
            <version>3.4.8</version>
        </dependency>

        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-charts</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-common</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-components</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-dashboard</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-data</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-diff</artifactId>
            <version>3.4.8</version>
        </dependency>

        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-dialogs</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-dock</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-editor</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-gantt</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-grids</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-pivot</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-properties</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-rss</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-shortcut</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jide-treemap</artifactId>
            <version>3.4.8</version>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.9.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- ING generated jars -->
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>bwsmessage</artifactId>
            <version>FXMM.2013.01</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>dataConfig</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>fpmlBindings</artifactId>
            <version>FXMM.2013.02</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>fundsTransferBindings</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>iasa</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>ifsajms</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>leupload</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>mddlBindings</artifactId>
            <version>12.06</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>nostro</artifactId>
            <version>FXMM.2013.02</version>
        </dependency>
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>sdiupload</artifactId>
            <version>12.06</version>
        </dependency>
        <!--dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>wordserver</artifactId>
            <version>FXMM.2013.03</version>
        </dependency-->
        <dependency>
            <groupId>com.ing.calypso</groupId>
            <artifactId>cswing</artifactId>
            <version>V14.01</version>
        </dependency>

        <!-- ING 3rd party vendor jars -->
        <dependency>
            <groupId>org.freemarker</groupId>
            <artifactId>freemarker</artifactId>
            <version>2.3.20</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>12.0</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
            <version>1.9.12</version>
        </dependency>
        <dependency>
            <groupId>javax.resource</groupId>
            <artifactId>connector</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>javax.jsse</groupId>
            <artifactId>jsse</artifactId>
            <version>1.0.2</version>
        </dependency>
        <dependency>
            <groupId>javax.jsse</groupId>
            <artifactId>jcert</artifactId>
            <version>1.0.2</version>
        </dependency>
        <dependency>
            <groupId>javax.jsse</groupId>
            <artifactId>jnet</artifactId>
            <version>1.0.2</version>
        </dependency>
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc6</artifactId>
            <version>11.2.0.3</version>
        </dependency>
        <dependency>
            <groupId>com.ibm.mq</groupId>
            <artifactId>com.ibm.mq</artifactId>
            <version>6.0.2.5</version>
        </dependency>
        <dependency>
            <groupId>com.tibco</groupId>
            <artifactId>tibjms</artifactId>
            <version>6.1.0</version>
        </dependency>
        <dependency>
            <groupId>com.tibco</groupId>
            <artifactId>tibcrypt</artifactId>
            <version>6.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.castor</groupId>
            <artifactId>castor</artifactId>
            <version>0.9.5.3</version>
        </dependency>
        <dependency>
            <groupId>javax.management</groupId>
            <artifactId>jmxremote</artifactId>
            <version>1.0.1_04</version>
        </dependency>

        <dependency>
            <groupId>org.jvnet.opendmk</groupId>
            <artifactId>jmxremote_optional</artifactId>
            <version>1.0_01-ea</version>
        </dependency>
        <dependency>
            <groupId>javax.management</groupId>
            <artifactId>jmxri</artifactId>
            <version>1.2.1</version>
        </dependency>


        <!-- external jars -->
        <dependency>
            <groupId>ma.glasnost.orika</groupId>
            <artifactId>orika-core</artifactId>
            <version>1.4.1</version>
        </dependency>
        <!-- enable this to facilitate generation of debuggable byte code in; refer EntityHandler.java -->
        <!--
                <dependency>
                    <groupId>ma.glasnost.orika</groupId>
                    <artifactId>orika-eclipse-tools</artifactId>
                    <version>1.4.1</version>
                    <scope>test</scope>
                </dependency>
        -->
        <dependency>
            <groupId>net.sf.supercsv</groupId>
            <artifactId>super-csv</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jcommon</artifactId>
            <version>1.0.16</version>
        </dependency>
        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jfreechart</artifactId>
            <version>1.0.13</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>3.8</version>
        </dependency>
        <dependency>
            <groupId>javax.jms</groupId>
            <artifactId>jms-api</artifactId>
            <version>1.1-rev-1</version>
        </dependency>
        <dependency>
            <groupId>jdom</groupId>
            <artifactId>jdom</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context-support</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jms</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-orm</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-oxm</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-tx</artifactId>
            <version>3.2.0.RELEASE</version>
        </dependency>

        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>1.8.3</version>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1</version>
            <exclusions>
                <exclusion>
                    <groupId>logkit</groupId>
                    <artifactId>logkit</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>avalon-framework</groupId>
                    <artifactId>avalon-framework</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.5</version>
        </dependency>
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2.1</version>
        </dependency>
        <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.4.2</version>
        </dependency>
        <dependency>
            <groupId>xpp3</groupId>
            <artifactId>xpp3_min</artifactId>
            <version>1.1.4c</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.15</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.jms</groupId>
                    <artifactId>jms</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jdmk</groupId>
                    <artifactId>jmxtools</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.sun.jmx</groupId>
                    <artifactId>jmxri</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>apache-log4j-extras</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.6</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.6.6</version>
        </dependency>
        <dependency>
            <groupId>org.acegisecurity</groupId>
            <artifactId>acegi-security</artifactId>
            <version>1.0.7</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-remoting</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-jdbc</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-support</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>commons-lang</groupId>
                    <artifactId>commons-lang</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>oro</groupId>
                    <artifactId>oro</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-core</artifactId>
            <version>5.7.0</version>
            <exclusions>
                <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.camel</groupId>
                    <artifactId>camel-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-jms_1.1_spec</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.activemq</groupId>
                    <artifactId>activeio-core</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!--dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
            <version>1.0.1</version>
        </dependency-->
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-pool</artifactId>
            <version>5.7.0</version>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework</groupId>
                    <artifactId>spring-beans</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr</artifactId>
            <version>3.1.3</version>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr-runtime</artifactId>
            <version>3.1.3</version>
        </dependency>
        <dependency>
            <groupId>asm</groupId>
            <artifactId>asm</artifactId>
            <version>2.2.3</version>
        </dependency>
        <dependency>
            <groupId>asm</groupId>
            <artifactId>asm-commons</artifactId>
            <version>2.2.3</version>
            <exclusions>
                <exclusion>
                    <groupId>asm</groupId>
                    <artifactId>asm-tree</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>asm</groupId>
            <artifactId>asm-util</artifactId>
            <version>2.2.3</version>
            <exclusions>
                <exclusion>
                    <groupId>asm</groupId>
                    <artifactId>asm-tree</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy</artifactId>
            <version>1.6.3</version>
            <exclusions>
                <exclusion>
                    <groupId>asm</groupId>
                    <artifactId>asm-tree</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>asm</groupId>
                    <artifactId>asm-analysis</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>jline</groupId>
                    <artifactId>jline</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.ant</groupId>
                    <artifactId>ant</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.ant</groupId>
                    <artifactId>ant-launcher</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!--dependency>
            <groupId>org.opensymphony.quartz</groupId>
            <artifactId>quartz-all</artifactId>
            <version>1.6.1</version>
        </dependency-->
        <dependency>
            <groupId>simple-jndi</groupId>
            <artifactId>simple-jndi</artifactId>
            <version>0.11.4.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xbean</groupId>
            <artifactId>xbean-spring</artifactId>
            <version>3.11.1</version>
        </dependency>
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.7.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>javax.sql</groupId>
            <artifactId>jdbc-stdext</artifactId>
            <version>2.0</version>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.0.1b</version>
        </dependency>
        <dependency>
            <groupId>commons-pool</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.6</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-math</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.1</version>
        </dependency>
        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
            <version>1.0</version>
            <exclusions>
                <exclusion>
                    <groupId>commons-lang</groupId>
                    <artifactId>commons-lang</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>stax</groupId>
            <artifactId>stax</artifactId>
            <version>1.2.0</version>
            <exclusions>
                <exclusion>
                    <groupId>stax</groupId>
                    <artifactId>stax-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>xmlunit</groupId>
            <artifactId>xmlunit</artifactId>
            <version>1.3</version>
        </dependency>
        <!--
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jsr173_api</artifactId>
            <version>1.0</version>
        </dependency>
        -->
        <dependency>
            <groupId>velocity</groupId>
            <artifactId>velocity-dep</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>net.sf.opencsv</groupId>
            <artifactId>opencsv</artifactId>
            <version>2.3</version>
        </dependency>
        <dependency>
            <groupId>org.mvel</groupId>
            <artifactId>mvel2</artifactId>
            <version>2.1.3.Final</version>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.2</version>
            <exclusions>
                <exclusion>
                    <groupId>javax.xml.stream</groupId>
                    <artifactId>stax-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>javax.activation</groupId>
            <artifactId>activation</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb1-impl</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-core-asl</artifactId>
            <version>1.9.12</version>
        </dependency>
        <dependency>
            <groupId>com.thoughtworks.paranamer</groupId>
            <artifactId>paranamer</artifactId>
            <version>2.3</version>
        </dependency>
        <dependency>
            <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
            <artifactId>concurrentlinkedhashmap-lru</artifactId>
            <version>1.2_jdk5</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.persistence</groupId>
            <artifactId>eclipselink</artifactId>
            <version>2.5.0-RC1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.eclipse.persistence</groupId>
                    <artifactId>commonj.sdo</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.eclipse.persistence</groupId>
            <artifactId>javax.persistence</artifactId>
            <version>2.1.0-RC1</version>
        </dependency>
        <dependency>
            <groupId>aopalliance</groupId>
            <artifactId>aopalliance</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>org.aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.6.10</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-bindy</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-core</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-csv</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-jdbc</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-jms</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-jpa</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-quartz</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-spring</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-stream</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-velocity</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-nodep</artifactId>
            <version>2.1_3</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>hamcrest</artifactId>
            <version>1.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>commons-digester</groupId>
            <artifactId>commons-digester</artifactId>
            <version>1.7</version>
        </dependency>
        <dependency>
            <groupId>org.fusesource.commonman</groupId>
            <artifactId>commons-management</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>commons-net</groupId>
            <artifactId>commons-net</artifactId>
            <version>2.2</version>
        </dependency>
        <dependency>
            <groupId>org.xhtmlrenderer</groupId>
            <artifactId>core-renderer</artifactId>
            <version>R8</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-compiler</artifactId>
            <version>5.5.0.Final</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-core</artifactId>
            <version>5.5.0.Final</version>
        </dependency>
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>kahadb</artifactId>
            <version>5.7.0</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>knowledge-api</artifactId>
            <version>5.5.0.Final</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>knowledge-internal-api</artifactId>
            <version>5.5.0.Final</version>
        </dependency>
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
            <version>3.5.0</version>
        </dependency>
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
            <version>1.4.5</version>
        </dependency>
        <dependency>
            <groupId>org.objenesis</groupId>
            <artifactId>objenesis</artifactId>
            <version>1.0</version>
        </dependency>

        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>ocutil</artifactId>
            <version>2.4.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>parallelcolt</artifactId>
            <version>0.4</version>
        </dependency>
        <dependency>
            <groupId>org.quartz-scheduler</groupId>
            <artifactId>quartz</artifactId>
            <version>2.1.5</version>
        </dependency>
        <dependency>
            <groupId>xalan</groupId>
            <artifactId>serializer</artifactId>
            <version>2.7.1</version>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>stringtemplate</artifactId>
            <version>3.2</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>visad</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>js</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jtidy</artifactId>
            <version>r938</version>
        </dependency>
        <dependency>
            <groupId>com.jcraft</groupId>
            <artifactId>jzlib</artifactId>
            <version>1.1.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans</artifactId>
            <version>2.4.0</version>
        </dependency>
        <dependency>
            <groupId>xmlpull</groupId>
            <artifactId>xmlpull</artifactId>
            <version>1.1.3.1</version>
        </dependency>
        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>xmlbeans-xpath</artifactId>
            <version>2.4.0</version>
        </dependency>
        <!--dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans-xpath</artifactId>
            <version>2.4.0</version>
        </dependency-->

        <dependency>
            <groupId>com.calypso.thirdparty</groupId>
            <artifactId>jboss-client</artifactId>
            <version>V14.01</version>
        </dependency>
        <dependency>
            <groupId>org.jboss</groupId>
            <artifactId>jboss-ejb-client</artifactId>
            <version>1.0.21.Final</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.marshalling</groupId>
            <artifactId>jboss-marshalling</artifactId>
            <version>1.3.15.GA</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.xnio</groupId>
            <artifactId>xnio-api</artifactId>
            <version>3.0.4.GA</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.remoting3</groupId>
            <artifactId>jboss-remoting</artifactId>
            <version>3.2.8.GA</version>
            <scope>runtime</scope>
        </dependency>
    </dependencies>
</project>
