<?xml version="1.0" encoding="UTF-8"?>

<!--
  Codehaus Cargo, copyright 2004-2011 Vincent Massol, 2012-2025 Ali Tokmen.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.codehaus.cargo</groupId>
    <artifactId>cargo-core</artifactId>
    <version>1.10.24</version>
  </parent>
  <artifactId>cargo-samples</artifactId>
  <packaging>pom</packaging>
  <name>Cargo Samples</name>
  <description>Samples that exercises the Cargo Java APIs</description>
  <dependencies>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-core-uberjar</artifactId>
    </dependency>

    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-core-api-container</artifactId>
      <type>test-jar</type>
    </dependency>

    <!-- The EJB includes its API -->
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-ejb</artifactId>
      <type>ejb</type>
    </dependency>

    <!-- Repeat the dependencies to copy so that multithreaded builds work correctly -->
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-jar</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>authentication-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>expanded-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-ear</artifactId>
      <type>ear</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>datasource-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>two-datasources-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>xadatasource-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>mailsession-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>datasource-cmt-local-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>jms-queue-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>jms-topic-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>classpath-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-ejb</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>tomcatcontext-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>tomcatcontext-war-link-simple-jar</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-bundle</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-jetty-6-deployer</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-jetty-7-to-jetty-9-deployer</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-jetty-10-deployer</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>cargo-jetty-11-deployer</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-har</artifactId>
      <type>har</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>simple-aop</artifactId>
      <type>aop</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.cargo</groupId>
      <artifactId>systemproperty-war</artifactId>
      <type>war</type>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <configuration>
            <childDelegation>${surefire.childDelegation}</childDelegation>
            <useManifestOnlyJar>${surefire.useManifestOnlyJar}</useManifestOnlyJar>
            <useSystemClassLoader>${surefire.useSystemClassLoader}</useSystemClassLoader>

            <forkCount>1</forkCount>
            <reuseForks>false</reuseForks>
            <useFile>true</useFile>
            <reportFormat>plain</reportFormat>

            <!-- 30 minutes -->
            <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>

            <systemPropertyVariables>
              <!--
                As we run the tests in their separately forked JVMs, the associated properties must
                be passed explicitly. If you're behind a proxy, set this here.

                Alternatively, you can set the cargo.proxy.* variables in your settings.xml.
                Scroll further down in this file to learn how!

                <http.proxyHost>proxy</http.proxyHost>

                -->

              <!--
                Pass locations of java homes to the test classes so that they can look them up and
                determine if a container is running on jdk 1.4, 1.5, etc.
                -->
              <cargo.java.home.1_4>${cargo.java.home.1_4}</cargo.java.home.1_4>
              <cargo.java.home.1_5>${cargo.java.home.1_5}</cargo.java.home.1_5>
              <cargo.java.home.1_6>${cargo.java.home.1_6}</cargo.java.home.1_6>
              <cargo.java.home.1_7>${cargo.java.home.1_7}</cargo.java.home.1_7>
              <cargo.java.home.1_8>${cargo.java.home.1_8}</cargo.java.home.1_8>
              <cargo.java.home.1_11>${cargo.java.home.1_11}</cargo.java.home.1_11>
              <cargo.java.home.1_17>${cargo.java.home.1_17}</cargo.java.home.1_17>
              <cargo.java.home.1_21>${cargo.java.home.1_21}</cargo.java.home.1_21>

              <cargo.samples.rmi.port>${cargo.samples.rmi.port}</cargo.samples.rmi.port>
              <cargo.samples.servlet.port>${cargo.samples.servlet.port}</cargo.samples.servlet.port>

              <!-- Ports required for GlassFish domain to be created -->
              <cargo.samples.glassfish.admin.port>${cargo.samples.glassfish.admin.port}</cargo.samples.glassfish.admin.port>
              <cargo.samples.glassfish.http.ssl.port>${cargo.samples.glassfish.http.ssl.port}</cargo.samples.glassfish.http.ssl.port>
              <cargo.samples.glassfish.java.debugger.port>${cargo.samples.glassfish.java.debugger.port}</cargo.samples.glassfish.java.debugger.port>
              <cargo.samples.glassfish.jms.port>${cargo.samples.glassfish.jms.port}</cargo.samples.glassfish.jms.port>
              <cargo.samples.glassfish.orb.listener.port>${cargo.samples.glassfish.orb.listener.port}</cargo.samples.glassfish.orb.listener.port>
              <cargo.samples.glassfish.orb.mutualauth.port>${cargo.samples.glassfish.orb.mutualauth.port}</cargo.samples.glassfish.orb.mutualauth.port>
              <cargo.samples.glassfish.orb.ssl.port>${cargo.samples.glassfish.orb.ssl.port}</cargo.samples.glassfish.orb.ssl.port>
              <cargo.samples.glassfish.osgi.shell.telnet.port>${cargo.samples.glassfish.osgi.shell.telnet.port}</cargo.samples.glassfish.osgi.shell.telnet.port>

              <!-- Ports required for JBoss tests to pass -->
              <cargo.samples.jboss.ajp.port>${cargo.samples.jboss.ajp.port}</cargo.samples.jboss.ajp.port>
              <cargo.samples.jboss.https.port>${cargo.samples.jboss.https.port}</cargo.samples.jboss.https.port>
              <cargo.samples.jboss.naming.port>${cargo.samples.jboss.naming.port}</cargo.samples.jboss.naming.port>
              <cargo.samples.jboss.classloading.webservice.port>${cargo.samples.jboss.classloading.webservice.port}</cargo.samples.jboss.classloading.webservice.port>
              <cargo.samples.jboss.jmx.port>${cargo.samples.jboss.jmx.port}</cargo.samples.jboss.jmx.port>
              <cargo.samples.jboss.jrmp.port>${cargo.samples.jboss.jrmp.port}</cargo.samples.jboss.jrmp.port>
              <cargo.samples.jboss.jrmp.invoker.port>${cargo.samples.jboss.jrmp.invoker.port}</cargo.samples.jboss.jrmp.invoker.port>
              <cargo.samples.jboss.invoker.pool.port>${cargo.samples.jboss.invoker.pool.port}</cargo.samples.jboss.invoker.pool.port>
              <cargo.samples.jboss.management-native.port>${cargo.samples.jboss.management-native.port}</cargo.samples.jboss.management-native.port>
              <cargo.samples.jboss.management-http.port>${cargo.samples.jboss.management-http.port}</cargo.samples.jboss.management-http.port>
              <cargo.samples.jboss.management-https.port>${cargo.samples.jboss.management-https.port}</cargo.samples.jboss.management-https.port>
              <cargo.samples.jboss.osgi.http.port>${cargo.samples.jboss.osgi.http.port}</cargo.samples.jboss.osgi.http.port>
              <cargo.samples.jboss.remoting.transport.port>${cargo.samples.jboss.remoting.transport.port}</cargo.samples.jboss.remoting.transport.port>
              <cargo.samples.jboss.ejb3.remoting.port>${cargo.samples.jboss.ejb3.remoting.port}</cargo.samples.jboss.ejb3.remoting.port>
              <cargo.samples.jboss.transaction.recoveryManager.port>${cargo.samples.jboss.transaction.recoveryManager.port}</cargo.samples.jboss.transaction.recoveryManager.port>
              <cargo.samples.jboss.transaction.statusManager.port>${cargo.samples.jboss.transaction.statusManager.port}</cargo.samples.jboss.transaction.statusManager.port>
              <cargo.samples.jboss.remotedeploy.port>${cargo.samples.jboss.remotedeploy.port}</cargo.samples.jboss.remotedeploy.port>

              <!-- Avoid port number clashes in Jetty -->
              <cargo.samples.jetty.connector.https.port>${cargo.samples.jetty.connector.https.port}</cargo.samples.jetty.connector.https.port>

              <!-- Avoid port number clashes in Resin -->
              <cargo.samples.resin.socketwait.port>${cargo.samples.resin.socketwait.port}</cargo.samples.resin.socketwait.port>

              <!-- WildFly Swarm needs its specific URL -->
              <cargo.samples.swarm.ping.url>
                http://localhost:${cargo.samples.servlet.port}/simple-war/
              </cargo.samples.swarm.ping.url>

              <!-- Avoid port number clashes in Tomcat -->
              <cargo.samples.tomcat.ajp.port>${cargo.samples.tomcat.ajp.port}</cargo.samples.tomcat.ajp.port>
              <cargo.samples.tomcat.connector.https.port>${cargo.samples.tomcat.connector.https.port}</cargo.samples.tomcat.connector.https.port>

              <!-- Use common file name for the bundle tests -->
              <cargo.samples.bundle.targetFile>${project.build.directory}/bundle-test/output.log</cargo.samples.bundle.targetFile>

              <!-- Set default parser -->
              <javax.xml.parsers.SAXParserFactory>${javax.xml.parsers.SAXParserFactory}</javax.xml.parsers.SAXParserFactory>

              <!--
                Default locations from where to get the container installation files.
                - If you wish to use a version already downloaded on your filesystem,
                  use the "file:///" prefix instead of "http://" or "https://".
                  For example: file:///c:/apps/resin-3.0.19.zip
                - If you wish to use an already installed container, set the
                  "cargo.[container name].home" property in your settings.xml file.
                  For example: c:/apps/resin-3.0.19
                -->

              <!-- the default cargo.geronimo.servlet.containerId is tomcat, therefore use Tomcat -->
              <cargo.geronimo1x.url>
                https://archive.apache.org/dist/geronimo/1.1.1/geronimo-tomcat-j2ee-1.1.1.zip
              </cargo.geronimo1x.url>
              <cargo.geronimo1x.java.home>${cargo.java.home.1_4}</cargo.geronimo1x.java.home>

              <!--
                DO NOT try to use version 2.2.1 because of Geronimo issue
                https://issues.apache.org/jira/browse/GERONIMO-5723. This will be fixed in Geronimo 2.2.2.
                -->
              <cargo.geronimo2x.url>
                https://repo.maven.apache.org/maven2/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.1.8/geronimo-tomcat6-javaee5-2.1.8-bin.zip
              </cargo.geronimo2x.url>
              <cargo.geronimo2x.java.home>${cargo.java.home.1_5}</cargo.geronimo2x.java.home>

              <cargo.geronimo3x.url>
                https://repo.maven.apache.org/maven2/org/apache/geronimo/assemblies/geronimo-tomcat7-javaee6/3.0.1/geronimo-tomcat7-javaee6-3.0.1-bin.zip
              </cargo.geronimo3x.url>
              <cargo.geronimo3x.java.home>${cargo.java.home.1_6}</cargo.geronimo3x.java.home>

              <!--
                GlassFish 2.x

                Notes:

                GlassFish 2.x needs to be installed manually.

                Once you install this, set the cargo.glassfish2x.home accordingly.

                For example:

                  <cargo.glassfish2x.home>
                    /Users/alitokmen/Documents/CARGO/core/samples/java/installs/glassfish-2.1.1
                  </cargo.glassfish2x.home>
                -->

              <cargo.glassfish2x.home>${cargo.glassfish2x.home}</cargo.glassfish2x.home>
              <cargo.glassfish2x.java.home>${cargo.java.home.1_5}</cargo.glassfish2x.java.home>

              <cargo.glassfish3x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/3.1.2.2/glassfish-3.1.2.2.zip
              </cargo.glassfish3x.url>
              <cargo.glassfish3x.java.home>${cargo.java.home.1_6}</cargo.glassfish3x.java.home>

              <cargo.glassfish4x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/4.1.2/glassfish-4.1.2.zip
              </cargo.glassfish4x.url>
              <cargo.glassfish4x.java.home>${cargo.java.home.1_7}</cargo.glassfish4x.java.home>

              <cargo.glassfish5x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/5.1.0/glassfish-5.1.0.zip
              </cargo.glassfish5x.url>
              <cargo.glassfish5x.java.home>${cargo.java.home.1_8}</cargo.glassfish5x.java.home>

              <cargo.glassfish6x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/6.2.5/glassfish-6.2.5.zip
              </cargo.glassfish6x.url>
              <cargo.glassfish6x.java.home>${cargo.java.home.1_11}</cargo.glassfish6x.java.home>

              <cargo.glassfish7x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/7.0.25/glassfish-7.0.25.zip
              </cargo.glassfish7x.url>
              <cargo.glassfish7x.java.home>${cargo.java.home.1_11}</cargo.glassfish7x.java.home>

              <cargo.glassfish8x.url>
                https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/8.0.0-M12/glassfish-8.0.0-M12.zip
              </cargo.glassfish8x.url>
              <cargo.glassfish8x.java.home>${cargo.java.home.1_21}</cargo.glassfish8x.java.home>

              <cargo.jboss3x.url>
                https://repository.jboss.org/sourceforge/jboss-3.2.8.SP1.zip
              </cargo.jboss3x.url>
              <cargo.jboss3x.java.home>${cargo.java.home.1_4}</cargo.jboss3x.java.home>

              <cargo.jboss4x.url>
                https://repository.jboss.org/sourceforge/jboss-4.0.5.GA.zip
              </cargo.jboss4x.url>
              <cargo.jboss4x.java.home>${cargo.java.home.1_4}</cargo.jboss4x.java.home>

              <cargo.jboss42x.url>
                https://repository.jboss.org/sourceforge/jboss-4.2.3.GA.zip
              </cargo.jboss42x.url>
              <cargo.jboss42x.java.home>${cargo.java.home.1_5}</cargo.jboss42x.java.home>

              <cargo.jboss5x.url>
                https://repository.jboss.org/sourceforge/jboss-5.0.1.GA.zip
              </cargo.jboss5x.url>
              <cargo.jboss5x.java.home>${cargo.java.home.1_5}</cargo.jboss5x.java.home>

              <cargo.jboss51x.url>
                https://repository.jboss.org/sourceforge/jboss-5.1.0.GA.zip
              </cargo.jboss51x.url>
              <cargo.jboss51x.java.home>${cargo.java.home.1_5}</cargo.jboss51x.java.home>

              <cargo.jboss6x.url>
                https://repository.jboss.org/org/jboss/jbossas/jboss-as-distribution/6.0.0.Final/jboss-as-distribution-6.0.0.Final.zip
              </cargo.jboss6x.url>
              <cargo.jboss6x.java.home>${cargo.java.home.1_6}</cargo.jboss6x.java.home>

              <cargo.jboss61x.url>
                https://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip
              </cargo.jboss61x.url>
              <cargo.jboss61x.java.home>${cargo.java.home.1_6}</cargo.jboss61x.java.home>

              <cargo.jboss7x.url>
                https://download.jboss.org/jbossas/7.0/jboss-as-7.0.2.Final/jboss-as-7.0.2.Final.zip
              </cargo.jboss7x.url>
              <cargo.jboss7x.java.home>${cargo.java.home.1_6}</cargo.jboss7x.java.home>

              <cargo.jboss71x.url>
                https://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip
              </cargo.jboss71x.url>
              <cargo.jboss71x.java.home>${cargo.java.home.1_6}</cargo.jboss71x.java.home>

              <!--
                JBoss 7.2 is actually called EAP 6.1.0

                To test JBoss EAP 6.1.0, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.jboss72x.home property accordingly.

                For example:

                  <cargo.jboss72x.home>
                    C:/Program Files/JBoss/jboss-eap-6.1.0
                  </cargo.jboss72x.home>
                -->
              <cargo.jboss72x.home>${cargo.jboss72x.home}</cargo.jboss72x.home>
              <cargo.jboss72x.java.home>${cargo.java.home.1_6}</cargo.jboss72x.java.home>

              <!--
                JBoss 7.3 is actually called EAP 6.2.0

                To test JBoss EAP 6.2.0, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.jboss73x.home property accordingly.

                For example:

                  <cargo.jboss73x.home>
                    C:/Program Files/JBoss/jboss-eap-6.2.0
                  </cargo.jboss73x.home>
                -->
              <cargo.jboss73x.home>${cargo.jboss73x.home}</cargo.jboss73x.home>
              <cargo.jboss73x.java.home>${cargo.java.home.1_6}</cargo.jboss73x.java.home>

              <!--
                JBoss 7.4 is actually called EAP 6.3.0

                To test JBoss EAP 6.3.0, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.jboss74x.home property accordingly.

                For example:

                  <cargo.jboss74x.home>
                    C:/Program Files/JBoss/jboss-eap-6.3.0
                  </cargo.jboss74x.home>
                -->
              <cargo.jboss74x.home>${cargo.jboss74x.home}</cargo.jboss74x.home>
              <cargo.jboss74x.java.home>${cargo.java.home.1_7}</cargo.jboss74x.java.home>

              <!--
                JBoss 7.5 is actually called EAP 6.4.0

                To test JBoss EAP 6.4.0, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.jboss75x.home property accordingly.

                For example:

                  <cargo.jboss75x.home>
                    C:/Program Files/JBoss/jboss-eap-6.4.0
                  </cargo.jboss75x.home>
                -->
              <cargo.jboss75x.home>${cargo.jboss75x.home}</cargo.jboss75x.home>
              <cargo.jboss75x.java.home>${cargo.java.home.1_7}</cargo.jboss75x.java.home>

              <cargo.jetty5x.url>
                http://web.archive.org/web/20150506142403if_/http://dist.codehaus.org/jetty/jetty-5.1.x/jetty-5.1.15.tgz
              </cargo.jetty5x.url>
              <cargo.jetty5x.java.home>${cargo.java.home.1_4}</cargo.jetty5x.java.home>

              <cargo.jetty6x.url>
                http://web.archive.org/web/20150506142907if_/http://dist.codehaus.org/jetty/jetty-6.1.26/jetty-6.1.26.zip
              </cargo.jetty6x.url>
              <cargo.jetty6x.java.home>${cargo.java.home.1_5}</cargo.jetty6x.java.home>

              <cargo.jetty7x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.6.21.v20160908/jetty-distribution-7.6.21.v20160908.tar.gz
              </cargo.jetty7x.url>
              <cargo.jetty7x.java.home>${cargo.java.home.1_5}</cargo.jetty7x.java.home>

              <cargo.jetty8x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/8.2.0.v20160908/jetty-distribution-8.2.0.v20160908.tar.gz
              </cargo.jetty8x.url>
              <cargo.jetty8x.java.home>${cargo.java.home.1_7}</cargo.jetty8x.java.home>

              <cargo.jetty9x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/9.4.58.v20250814/jetty-distribution-9.4.58.v20250814.tar.gz
              </cargo.jetty9x.url>
              <cargo.jetty9x.java.home>${cargo.java.home.1_8}</cargo.jetty9x.java.home>

              <cargo.jetty10x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-home/10.0.26/jetty-home-10.0.26.tar.gz
              </cargo.jetty10x.url>
              <cargo.jetty10x.java.home>${cargo.java.home.1_11}</cargo.jetty10x.java.home>

              <cargo.jetty11x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-home/11.0.26/jetty-home-11.0.26.tar.gz
              </cargo.jetty11x.url>
              <cargo.jetty11x.java.home>${cargo.java.home.1_11}</cargo.jetty11x.java.home>

              <cargo.jetty12x.url>
                https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-home/12.1.2/jetty-home-12.1.2.tar.gz
              </cargo.jetty12x.url>
              <cargo.jetty12x.java.home>${cargo.java.home.1_17}</cargo.jetty12x.java.home>

              <cargo.jo1x.url>
                https://www.tagtraum.com/download/jo1.1beta1.zip
              </cargo.jo1x.url>
              <cargo.jo1x.java.home>${cargo.java.home.1_4}</cargo.jo1x.java.home>

              <cargo.jonas4x.url>
                https://dllegacy.ow2.org/jonas/jonas4.10.9-tomcat5.5.28.tgz
              </cargo.jonas4x.url>
              <cargo.jonas4x.java.home>${cargo.java.home.1_4}</cargo.jonas4x.java.home>
              <cargo.samples.jonas4x.jonas.services.list>registry,jmx,security,jtm,resource,web,ear</cargo.samples.jonas4x.jonas.services.list>

              <cargo.jonas5x.url>
                https://repo.maven.apache.org/maven2/org/ow2/jonas/assemblies/profiles/legacy/jonas-full/5.3.0/jonas-full-5.3.0-bin.tar.gz
              </cargo.jonas5x.url>
              <cargo.jonas5x.java.home>${cargo.java.home.1_6}</cargo.jonas5x.java.home>
              <cargo.samples.jonas5x.jonas.services.list>resource,web,ear,depmonitor,datasource</cargo.samples.jonas5x.jonas.services.list>

              <!--
                Note: There is no direct download link for JRun 4.x as the download page
                requires free account registration and login:

                * http://www.adobe.com/products/jrun/download
                Once manually installed on your machine you must specify where it is
                installed using the cargo.jrun4x.home property.
                For example:

                <cargo.jrun4x.home>
                  C:/JRun4
                </cargo.jrun4x.home>
              -->
              <cargo.jrun4x.home>${cargo.jrun4x.home}</cargo.jrun4x.home>
              <cargo.jrun4x.java.home>${cargo.java.home.1_5}</cargo.jrun4x.java.home>

              <cargo.liberty.url>
                https://repo.maven.apache.org/maven2/com/ibm/websphere/appserver/runtime/wlp-javaee8/25.0.0.9/wlp-javaee8-25.0.0.9.zip
              </cargo.liberty.url>
              <cargo.liberty.java.home>${cargo.java.home.1_8}</cargo.liberty.java.home>

              <!--
                OC4J 9.x

                Notes:

                OC4J 9.0.4 runs on JDK 1.3.1+

                There is no non-interactive download link for OC4J 9.x.  Here is a link that requires license agreement:
                   * http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html

                Download the zip and extract it to a directory corresponding with the cargo.oc4j9x.home property.

                For example:

                  <cargo.oc4j9x.home>
                    c:/oracle/oc4j_extended_904
                  </cargo.oc4j9x.home>
                -->
              <cargo.oc4j9x.home>${cargo.oc4j9x.home}</cargo.oc4j9x.home>
              <cargo.oc4j9x.java.home>${cargo.java.home.1_4}</cargo.oc4j9x.java.home>

              <!--
                OC4J 10.x

                Notes:

                OC4J 10.1.2.0.2 runs on JDK 1.4+
                     10.1.3.3.0 runs on JDK 1.4.2+
                     10.1.3.4.0 runs on JDK 1.4.2+

                We recommend setting this to a JDK 5.

                There is no non-interactive download link for OC4J 10.x.  Here is a link that requires license agreement:
                   * http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html

                Download the zip and extract it to a directory corresponding with the cargo.oc4j10x.home property.

                For example:

                  <cargo.oc4j10x.home>
                    c:/oracle/oc4j_extended_101340
                  </cargo.oc4j10x.home>
                -->
              <cargo.oc4j10x.home>${cargo.oc4j10x.home}</cargo.oc4j10x.home>
              <cargo.oc4j10x.java.home>${cargo.java.home.1_5}</cargo.oc4j10x.java.home>

              <cargo.payara.url>
                https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/6.2025.9/payara-6.2025.9.zip
              </cargo.payara.url>
              <cargo.payara.java.home>${cargo.java.home.1_11}</cargo.payara.java.home>

              <cargo.resin3x.url>
                https://caucho.com/download/resin-3.0.27.zip
              </cargo.resin3x.url>
              <cargo.resin3x.java.home>${cargo.java.home.1_5}</cargo.resin3x.java.home>

              <cargo.resin31x.url>
                https://caucho.com/download/resin-3.1.16.zip
              </cargo.resin31x.url>
              <cargo.resin31x.java.home>${cargo.java.home.1_5}</cargo.resin31x.java.home>

              <cargo.resin4x.url>
                https://caucho.com/download/resin-4.0.67.zip
              </cargo.resin4x.url>
              <cargo.resin4x.java.home>${cargo.java.home.1_8}</cargo.resin4x.java.home>

              <cargo.tomcat4x.url>
                <!--
                  Note that we want the larger download (not LE), as it contains dbcp needed for
                  database tests
                  -->
                https://archive.apache.org/dist/tomcat/tomcat-4/v4.1.40/bin/apache-tomcat-4.1.40.zip
              </cargo.tomcat4x.url>
              <cargo.tomcat4x.java.home>${cargo.java.home.1_4}</cargo.tomcat4x.java.home>

              <cargo.tomcat5x.url>
                https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.34/bin/apache-tomcat-5.5.34.zip
              </cargo.tomcat5x.url>
              <cargo.tomcat5x.java.home>${cargo.java.home.1_4}</cargo.tomcat5x.java.home>

              <cargo.tomcat6x.url>
                <!--
                  Tomcat 6.0.53 cannot be used due to a ClassCastException:
                  org.apache.catalina.core.StandardContext cannot be cast to
                  org.apache.catalina.Context in the Embedded container
                  -->
                https://archive.apache.org/dist/tomcat/tomcat-6/v6.0.44/bin/apache-tomcat-6.0.44.zip
              </cargo.tomcat6x.url>
              <cargo.tomcat6x.java.home>${cargo.java.home.1_5}</cargo.tomcat6x.java.home>

              <cargo.tomcat7x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/7.0.109/tomcat-7.0.109.zip
              </cargo.tomcat7x.url>
              <cargo.tomcat7x.java.home>${cargo.java.home.1_6}</cargo.tomcat7x.java.home>

              <cargo.tomcat8x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/8.5.100/tomcat-8.5.100.zip
              </cargo.tomcat8x.url>
              <cargo.tomcat8x.java.home>${cargo.java.home.1_7}</cargo.tomcat8x.java.home>

              <cargo.tomcat9x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/9.0.110/tomcat-9.0.110.zip
              </cargo.tomcat9x.url>
              <cargo.tomcat9x.java.home>${cargo.java.home.1_8}</cargo.tomcat9x.java.home>

              <cargo.tomcat10x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/10.1.47/tomcat-10.1.47.zip
              </cargo.tomcat10x.url>
              <cargo.tomcat10x.java.home>${cargo.java.home.1_11}</cargo.tomcat10x.java.home>

              <cargo.tomcat11x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.12/tomcat-11.0.12.zip
              </cargo.tomcat11x.url>
              <cargo.tomcat11x.java.home>${cargo.java.home.1_21}</cargo.tomcat11x.java.home>

              <cargo.tomee1x.url>
                https://archive.apache.org/dist/tomee/tomee-1.7.5/apache-tomee-1.7.5-plus.zip
              </cargo.tomee1x.url>
              <cargo.tomee1x.java.home>${cargo.java.home.1_6}</cargo.tomee1x.java.home>

              <cargo.tomee7x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/7.1.4/apache-tomee-7.1.4-plus.zip
              </cargo.tomee7x.url>
              <cargo.tomee7x.java.home>${cargo.java.home.1_8}</cargo.tomee7x.java.home>

              <cargo.tomee8x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/8.0.16/apache-tomee-8.0.16-plus.zip
              </cargo.tomee8x.url>
              <cargo.tomee8x.java.home>${cargo.java.home.1_8}</cargo.tomee8x.java.home>

              <cargo.tomee9x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/9.1.3/apache-tomee-9.1.3-plus.zip
              </cargo.tomee9x.url>
              <cargo.tomee9x.java.home>${cargo.java.home.1_11}</cargo.tomee9x.java.home>

              <cargo.tomee10x.url>
                https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/10.1.2/apache-tomee-10.1.2-plus.zip
              </cargo.tomee10x.url>
              <cargo.tomee10x.java.home>${cargo.java.home.1_17}</cargo.tomee10x.java.home>

              <!--
                WebLogic 8.x

                Notes:

                WebLogic 8.1 SP6 and below run on JDK 1.4

                There is no non-interactive download link for WL 8.x.  Here is a link that requires license agreement:
                   * http://commerce.bea.com/showproduct.jsp?family=WLS&major=8.1&minor=6

                Once you install this, set the cargo.weblogic8x.home property accordingly.

                For example:

                  <cargo.weblogic8x.home>
                    c:/bea/weblogic81
                  </cargo.weblogic8x.home>
                -->
              <cargo.weblogic8x.home>${cargo.weblogic8x.home}</cargo.weblogic8x.home>
              <cargo.weblogic8x.java.home>${cargo.java.home.1_4}</cargo.weblogic8x.java.home>

              <!--
                WebLogic 9.x

                Notes:

                WebLogic 9.2 MP3 and below run on JDK 1.5

                There is no non-interactive download link for WL 9.x.  Here are links that require license agreement:
                   * http://commerce.bea.com/showproduct.jsp?family=WLS&major=9.2&minor=3
                   * http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html

                Once you install this, set the cargo.weblogic9x.home property accordingly.

                For example:

                  <cargo.weblogic9x.home>
                    c:/bea/weblogic92
                  </cargo.weblogic9x.home>
                -->
              <cargo.weblogic9x.home>${cargo.weblogic9x.home}</cargo.weblogic9x.home>
              <cargo.weblogic9x.java.home>${cargo.java.home.1_5}</cargo.weblogic9x.java.home>

              <!--
                WebLogic 10.x

                Notes:

                WebLogic 10.0 MP1 and below run on JDK 1.5

                There is no non-interactive download link for WL 10.x.  Here are links that require license agreement:
                   * http://commerce.bea.com/showallversions.jsp?family=WLS
                   * http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html

                Once you install this, set the cargo.weblogic10x.home property accordingly.

                For example:

                  <cargo.weblogic10x.home>
                    c:/bea/wlserver_10.0
                  </cargo.weblogic10x.home>
                -->
              <cargo.weblogic10x.home>${cargo.weblogic10x.home}</cargo.weblogic10x.home>
              <cargo.weblogic10x.java.home>${cargo.java.home.1_5}</cargo.weblogic10x.java.home>

              <!--
                WebLogic 10.3.x

                Notes:

                WebLogic 10.3 runs on JDK 1.6

                There is no non-interactive download link for WL 10.3x.  Here is is a link that requires license agreement:
                   * https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

                Once you install this, set the cargo.weblogic103x.home property accordingly.

                For example:

                  <cargo.weblogic103x.home>
                    c:/bea/wlserver_10.3
                  </cargo.weblogic103x.home>
                -->
              <cargo.weblogic103x.home>${cargo.weblogic103x.home}</cargo.weblogic103x.home>
              <cargo.weblogic103x.java.home>${cargo.java.home.1_6}</cargo.weblogic103x.java.home>

              <!--
                WebLogic 12.x

                Notes:

                Earlier versions of WebLogic 12 run on JDK 1.6, WebLogic 12.1.3 onwards require Java 7.

                There is no non-interactive download link for WL 12.x.  Here is is a link that requires license agreement:
                   * https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

                Once you install this, set the cargo.weblogic12x.home property accordingly.

                For example:

                  <cargo.weblogic12x.home>
                    C:/Oracle/wls_12.1.3.0.0/wlserver
                  </cargo.weblogic12x.home>
                -->
              <cargo.weblogic12x.home>${cargo.weblogic12x.home}</cargo.weblogic12x.home>
              <cargo.weblogic12x.java.home>${cargo.java.home.1_7}</cargo.weblogic12x.java.home>

              <!--
                WebLogic 12.1.x

                Notes:

                Earlier versions of WebLogic 12.1 run on JDK 1.6, WebLogic 12.1.3 onwards require Java 7.

                There is no non-interactive download link for WL 12.x.  Here is is a link that requires license agreement:
                   * https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

                Once you install this, set the cargo.weblogic121x.home property accordingly.

                For example:

                  <cargo.weblogic121x.home>
                    C:/Oracle/wls_12.1.3.0.0/wlserver
                  </cargo.weblogic121x.home>
                -->
              <cargo.weblogic121x.home>${cargo.weblogic121x.home}</cargo.weblogic121x.home>
              <cargo.weblogic121x.java.home>${cargo.java.home.1_7}</cargo.weblogic121x.java.home>

              <!--
                WebLogic 12.2.x

                Notes:

                WebLogic 12.2 runs on JDK 8

                There is no non-interactive download link for WL 12.x.  Here is is a link that requires license agreement:
                   * https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

                Once you install this, set the cargo.weblogic122x.home property accordingly.

                For example:

                  <cargo.weblogic122x.home>
                    C:/Oracle/wls12210/wlserver
                  </cargo.weblogic122x.home>
                -->
              <cargo.weblogic122x.home>${cargo.weblogic122x.home}</cargo.weblogic122x.home>
              <cargo.weblogic122x.java.home>${cargo.java.home.1_8}</cargo.weblogic122x.java.home>

              <!--
                WebLogic 14.x

                Notes:

                WebLogic 14 runs on JDK 8

                There is no non-interactive download link for WL 14.x.  Here is is a link that requires license agreement:
                   * https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

                Once you install this, set the cargo.weblogic14x.home property accordingly.

                For example:

                  <cargo.weblogic14x.home>
                    C:/Oracle/wls_14.1.1.0.0/wlserver
                  </cargo.weblogic14x.home>
                -->
              <cargo.weblogic14x.home>${cargo.weblogic14x.home}</cargo.weblogic14x.home>
              <cargo.weblogic14x.java.home>${cargo.java.home.1_8}</cargo.weblogic14x.java.home>

              <!--
                WebSphere 8.5.x

                Notes:

                WebSphere 8.5 runs on JDK 1.6

                There is no non-interactive download link for WebSphere 8.5.x.  Here is is a link that requires license agreement:
                   * https://www.ibm.com/cloud/websphere-application-server

                Once you install this, set the cargo.websphere85x.home property accordingly.

                For example:

                  <cargo.websphere85x.home>
                    C:/Program Files/IBM/WebSphere/AppServer
                  </cargo.websphere85x.home>
                -->
              <cargo.websphere85x.home>${cargo.websphere85x.home}</cargo.websphere85x.home>
              <cargo.websphere85x.java.home>${cargo.java.home.1_6}</cargo.websphere85x.java.home>

              <!--
                WebSphere 9.x

                Notes:

                WebSphere 9 runs on JDK 8

                There is no non-interactive download link for WebSphere 9.x.  Here is is a link that requires license agreement:
                   * https://www.ibm.com/cloud/websphere-application-server

                Once you install this, set the cargo.websphere9x.home property accordingly.

                For example:

                  <cargo.websphere9x.home>
                    C:/Program Files/IBM/WebSphere/AppServer
                  </cargo.websphere9x.home>
                -->
              <cargo.websphere9x.home>${cargo.websphere9x.home}</cargo.websphere9x.home>
              <cargo.websphere9x.java.home>${cargo.java.home.1_8}</cargo.websphere9x.java.home>

              <cargo.wildfly8x.url>
                https://download.jboss.org/wildfly/8.2.1.Final/wildfly-8.2.1.Final.tar.gz
              </cargo.wildfly8x.url>
              <cargo.wildfly8x.java.home>${cargo.java.home.1_7}</cargo.wildfly8x.java.home>

              <cargo.wildfly9x.url>
                https://download.jboss.org/wildfly/9.0.2.Final/wildfly-9.0.2.Final.tar.gz
              </cargo.wildfly9x.url>
              <cargo.wildfly9x.java.home>${cargo.java.home.1_7}</cargo.wildfly9x.java.home>

              <!--
                JBoss EAP 7 is based on WildFly 10.x, as a result the WildFly 10.x container
                should be used to run JBoss EAP 7.

                To test JBoss EAP 7, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.wildfly10x.home property accordingly.

                For example:

                  <cargo.wildfly10x.home>
                    C:/Program Files/JBoss/jboss-eap-7.0.0
                  </cargo.wildfly10x.home>
                -->
              <cargo.wildfly10x.url>
                https://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.tar.gz
              </cargo.wildfly10x.url>
              <cargo.wildfly10x.java.home>${cargo.java.home.1_8}</cargo.wildfly10x.java.home>

              <!--
                JBoss EAP 7.1 is based on WildFly 11.x, as a result the WildFly 11.x container
                should be used to run JBoss EAP 7.1.

                To test JBoss EAP 7.1, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.wildfly11x.home property accordingly.

                For example:

                  <cargo.wildfly11x.home>
                    C:/Program Files/JBoss/jboss-eap-7.1.0
                  </cargo.wildfly11x.home>
                -->
              <cargo.wildfly11x.url>
                https://download.jboss.org/wildfly/11.0.0.Final/wildfly-11.0.0.Final.zip
              </cargo.wildfly11x.url>
              <cargo.wildfly11x.java.home>${cargo.java.home.1_8}</cargo.wildfly11x.java.home>

              <cargo.wildfly12x.url>
                https://download.jboss.org/wildfly/12.0.0.Final/wildfly-12.0.0.Final.zip
              </cargo.wildfly12x.url>
              <cargo.wildfly12x.java.home>${cargo.java.home.1_8}</cargo.wildfly12x.java.home>

              <!--
                JBoss EAP 7.2 is based on WildFly 13.x, as a result the WildFly 13.x container
                should be used to run JBoss EAP 7.2.

                To test JBoss EAP 7.2, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.wildfly13x.home property accordingly.

                For example:

                  <cargo.wildfly13x.home>
                    C:/Program Files/JBoss/jboss-eap-7.2.0
                  </cargo.wildfly13x.home>
                -->
              <cargo.wildfly13x.url>
                https://download.jboss.org/wildfly/13.0.0.Final/wildfly-13.0.0.Final.zip
              </cargo.wildfly13x.url>
              <cargo.wildfly13x.java.home>${cargo.java.home.1_8}</cargo.wildfly13x.java.home>

              <cargo.wildfly14x.url>
                https://download.jboss.org/wildfly/14.0.1.Final/wildfly-14.0.1.Final.zip
              </cargo.wildfly14x.url>
              <cargo.wildfly14x.java.home>${cargo.java.home.1_8}</cargo.wildfly14x.java.home>

              <cargo.wildfly15x.url>
                https://download.jboss.org/wildfly/15.0.1.Final/wildfly-15.0.1.Final.zip
              </cargo.wildfly15x.url>
              <cargo.wildfly15x.java.home>${cargo.java.home.1_8}</cargo.wildfly15x.java.home>

              <cargo.wildfly16x.url>
                https://download.jboss.org/wildfly/16.0.0.Final/wildfly-16.0.0.Final.zip
              </cargo.wildfly16x.url>
              <cargo.wildfly16x.java.home>${cargo.java.home.1_8}</cargo.wildfly16x.java.home>

              <cargo.wildfly17x.url>
                https://download.jboss.org/wildfly/17.0.1.Final/wildfly-17.0.1.Final.zip
              </cargo.wildfly17x.url>
              <cargo.wildfly17x.java.home>${cargo.java.home.1_8}</cargo.wildfly17x.java.home>

              <!--
                JBoss EAP 7.3 is based on WildFly 18.x, as a result the WildFly 18.x container
                should be used to run JBoss EAP 7.3.

                To test JBoss EAP 7.3, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.wildfly18x.home property accordingly.

                For example:

                  <cargo.wildfly18x.home>
                    C:/Program Files/JBoss/jboss-eap-7.3.0
                  </cargo.wildfly18x.home>
                -->
              <cargo.wildfly18x.url>
                https://download.jboss.org/wildfly/18.0.1.Final/wildfly-18.0.1.Final.zip
              </cargo.wildfly18x.url>
              <cargo.wildfly18x.java.home>${cargo.java.home.1_8}</cargo.wildfly18x.java.home>

              <cargo.wildfly19x.url>
                https://download.jboss.org/wildfly/19.1.0.Final/wildfly-19.1.0.Final.zip
              </cargo.wildfly19x.url>
              <cargo.wildfly19x.java.home>${cargo.java.home.1_8}</cargo.wildfly19x.java.home>

              <cargo.wildfly20x.url>
                https://download.jboss.org/wildfly/20.0.1.Final/wildfly-20.0.1.Final.zip
              </cargo.wildfly20x.url>
              <cargo.wildfly20x.java.home>${cargo.java.home.1_8}</cargo.wildfly20x.java.home>

              <cargo.wildfly21x.url>
                https://download.jboss.org/wildfly/21.0.2.Final/wildfly-21.0.2.Final.zip
              </cargo.wildfly21x.url>
              <cargo.wildfly21x.java.home>${cargo.java.home.1_8}</cargo.wildfly21x.java.home>

              <!--
                JBoss EAP 7.4 is based on WildFly 22.x, as a result the WildFly 22.x container
                should be used to run JBoss EAP 7.4.

                To test JBoss EAP 7.4, please download it manually from
                https://developers.redhat.com/products/eap/download
                and set the cargo.wildfly22x.home property accordingly.

                For example:

                  <cargo.wildfly22x.home>
                    C:/Program Files/JBoss/jboss-eap-7.4.0
                  </cargo.wildfly22x.home>
                -->
              <cargo.wildfly22x.url>
                https://download.jboss.org/wildfly/22.0.1.Final/wildfly-22.0.1.Final.zip
              </cargo.wildfly22x.url>
              <cargo.wildfly22x.java.home>${cargo.java.home.1_8}</cargo.wildfly22x.java.home>

              <cargo.wildfly23x.url>
                https://download.jboss.org/wildfly/23.0.2.Final/wildfly-23.0.2.Final.zip
              </cargo.wildfly23x.url>
              <cargo.wildfly23x.java.home>${cargo.java.home.1_8}</cargo.wildfly23x.java.home>

              <cargo.wildfly24x.url>
                https://download.jboss.org/wildfly/24.0.1.Final/wildfly-24.0.1.Final.zip
              </cargo.wildfly24x.url>
              <cargo.wildfly24x.java.home>${cargo.java.home.1_8}</cargo.wildfly24x.java.home>

              <cargo.wildfly25x.url>
                https://github.com/wildfly/wildfly/releases/download/25.0.1.Final/wildfly-25.0.1.Final.zip
              </cargo.wildfly25x.url>
              <cargo.wildfly25x.java.home>${cargo.java.home.1_8}</cargo.wildfly25x.java.home>

              <cargo.wildfly26x.url>
                https://github.com/wildfly/wildfly/releases/download/26.1.3.Final/wildfly-26.1.3.Final.zip
              </cargo.wildfly26x.url>
              <cargo.wildfly26x.java.home>${cargo.java.home.1_8}</cargo.wildfly26x.java.home>

              <cargo.wildfly27x.url>
                https://github.com/wildfly/wildfly/releases/download/27.0.1.Final/wildfly-27.0.1.Final.zip
              </cargo.wildfly27x.url>
              <cargo.wildfly27x.java.home>${cargo.java.home.1_11}</cargo.wildfly27x.java.home>

              <cargo.wildfly28x.url>
                https://github.com/wildfly/wildfly/releases/download/28.0.1.Final/wildfly-28.0.1.Final.zip
              </cargo.wildfly28x.url>
              <cargo.wildfly28x.java.home>${cargo.java.home.1_11}</cargo.wildfly28x.java.home>

              <cargo.wildfly29x.url>
                https://github.com/wildfly/wildfly/releases/download/29.0.1.Final/wildfly-29.0.1.Final.zip
              </cargo.wildfly29x.url>
              <cargo.wildfly29x.java.home>${cargo.java.home.1_11}</cargo.wildfly29x.java.home>

              <cargo.wildfly30x.url>
                https://github.com/wildfly/wildfly/releases/download/30.0.1.Final/wildfly-30.0.1.Final.zip
              </cargo.wildfly30x.url>
              <cargo.wildfly30x.java.home>${cargo.java.home.1_11}</cargo.wildfly30x.java.home>

              <cargo.wildfly31x.url>
                https://github.com/wildfly/wildfly/releases/download/31.0.1.Final/wildfly-31.0.1.Final.zip
              </cargo.wildfly31x.url>
              <cargo.wildfly31x.java.home>${cargo.java.home.1_11}</cargo.wildfly31x.java.home>

              <cargo.wildfly32x.url>
                https://github.com/wildfly/wildfly/releases/download/32.0.1.Final/wildfly-32.0.1.Final.zip
              </cargo.wildfly32x.url>
              <cargo.wildfly32x.java.home>${cargo.java.home.1_11}</cargo.wildfly32x.java.home>

              <cargo.wildfly33x.url>
                https://github.com/wildfly/wildfly/releases/download/33.0.2.Final/wildfly-33.0.2.Final.zip
              </cargo.wildfly33x.url>
              <cargo.wildfly33x.java.home>${cargo.java.home.1_11}</cargo.wildfly33x.java.home>

              <cargo.wildfly34x.url>
                https://github.com/wildfly/wildfly/releases/download/34.0.1.Final/wildfly-34.0.1.Final.zip
              </cargo.wildfly34x.url>
              <cargo.wildfly34x.java.home>${cargo.java.home.1_11}</cargo.wildfly34x.java.home>

              <cargo.wildfly35x.url>
                https://github.com/wildfly/wildfly/releases/download/35.0.1.Final/wildfly-35.0.1.Final.zip
              </cargo.wildfly35x.url>
              <cargo.wildfly35x.java.home>${cargo.java.home.1_17}</cargo.wildfly35x.java.home>

              <cargo.wildfly36x.url>
                https://github.com/wildfly/wildfly/releases/download/36.0.1.Final/wildfly-36.0.1.Final.zip
              </cargo.wildfly36x.url>
              <cargo.wildfly36x.java.home>${cargo.java.home.1_17}</cargo.wildfly36x.java.home>

              <cargo.wildfly37x.url>
                https://github.com/wildfly/wildfly/releases/download/37.0.1.Final/wildfly-37.0.1.Final.zip
              </cargo.wildfly37x.url>
              <cargo.wildfly37x.java.home>${cargo.java.home.1_17}</cargo.wildfly37x.java.home>

              <cargo.wildfly38x.url>
                https://github.com/wildfly/wildfly/releases/download/38.0.0.Beta1/wildfly-38.0.0.Beta1.zip
              </cargo.wildfly38x.url>
              <cargo.wildfly38x.java.home>${cargo.java.home.1_17}</cargo.wildfly38x.java.home>

              <cargo.wildfly-swarm2017x.home>
                ${project.build.directory}/wildfly-swarm/wildfly-hollowswarm-${wildfly-swarm.version}.jar
              </cargo.wildfly-swarm2017x.home>
              <cargo.wildfly-swarm2017x.java.home>${cargo.java.home.1_8}</cargo.wildfly-swarm2017x.java.home>

              <!--
                If you're behind a proxy, you can define the following properties in your
                settings.xml file:

                  <cargo.proxy.host>
                    [proxy host]
                  </cargo.proxy.host>
                  <cargo.proxy.servlet.port>
                    [proxy port]
                  </cargo.proxy.servlet.port>
                  <cargo.proxy.user>
                    [proxy user (if any)]
                  </cargo.proxy.user>
                  <cargo.proxy.password>
                    [proxy password (if any)]
                  </cargo.proxy.password>
                  <cargo.proxy.excludehosts>
                    [A list of hosts to bypass the proxy on (if any). These should be
                     separated with the vertical bar character '|'.
                     e.g. fozbot.corp.sun.com|*.eng.sun.com]
                  </cargo.proxy.excludehosts>
              -->

              <cargo.target.dir>${project.build.directory}</cargo.target.dir>

              <cargo.containers.timeout>${cargo.containers.timeout}</cargo.containers.timeout>

              <cargo.testdata.mail-jars>${project.build.directory}/mail-jars</cargo.testdata.mail-jars>

              <cargo.testdata.derby-jar>${project.build.directory}/test-jars/derby.jar</cargo.testdata.derby-jar>

              <cargo.testdata.simple-jar>${project.build.directory}/test-jars/simple.jar</cargo.testdata.simple-jar>

              <cargo.testdata.test-jars>${project.build.directory}/test-jars</cargo.testdata.test-jars>

              <cargo.testdata.deployables>${project.build.directory}/deployables</cargo.testdata.deployables>

              <!-- Location where to download the containers for the tests -->
              <cargo.download.dir>${cargo.download.dir}</cargo.download.dir>

              <!--
                Default list of containers to run on. If you want to shorten or change the
                execution of 'samples', simply specify a shorter list of containers on the command
                line or in your settings
                -->
              <cargo.containers>${cargo.containers}</cargo.containers>
            </systemPropertyVariables>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <modules>
    <module>java</module>
  </modules>

  <properties>
    <!-- Default from surefire -->
    <surefire.childDelegation>false</surefire.childDelegation>
    <surefire.useManifestOnlyJar>true</surefire.useManifestOnlyJar>
    <surefire.useSystemClassLoader>true</surefire.useSystemClassLoader>
    <!--
      TODO: CARGO-449: Rather install all these container binaries into the Maven 3 repository.
            It would be lovely to install all containers to:
            ${settings.localRepository}/org/codehaus/cargo/installs
      -->
    <cargo.download.dir>${project.basedir}/installs</cargo.download.dir>
    <!-- Tomcat 5.x and Jetty 7.x require this setting for the embedded tests -->
    <javax.xml.parsers.SAXParserFactory>com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl</javax.xml.parsers.SAXParserFactory>
    <cargo.java.home.1_4>${java.home}</cargo.java.home.1_4>
    <cargo.java.home.1_5>${java.home}</cargo.java.home.1_5>
    <cargo.java.home.1_6>${java.home}</cargo.java.home.1_6>
    <!-- A timeout of up to three minutes is required for JBoss 5.1.x and 6.x -->
    <cargo.containers.timeout>180000</cargo.containers.timeout>
  </properties>
  <profiles>
    <profile>
      <id>geronimo1x</id>
      <properties>
        <cargo.containers>geronimo1x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>geronimo2x</id>
      <properties>
        <cargo.containers>geronimo2x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>geronimo3x</id>
      <properties>
        <cargo.containers>geronimo3x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>glassfish2x</id>
      <properties>
        <cargo.containers>glassfish2x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish3x</id>
      <properties>
        <cargo.containers>glassfish3x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish3x-3.0</id>
      <properties>
        <cargo.containers>glassfish3x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.glassfish3x.url>
                    https://repo.maven.apache.org/maven2/org/glassfish/distributions/glassfish/3.0.1/glassfish-3.0.1.zip
                  </cargo.glassfish3x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>glassfish4x</id>
      <properties>
        <cargo.containers>glassfish4x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish4x-4.0</id>
      <properties>
        <cargo.containers>glassfish4x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.glassfish4x.url>
                    https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/4.0/glassfish-4.0.zip
                  </cargo.glassfish4x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>glassfish5x</id>
      <properties>
        <cargo.containers>glassfish5x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish5x-5.0</id>
      <properties>
        <cargo.containers>glassfish5x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.glassfish5x.url>
                    https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/5.0.1/glassfish-5.0.1.zip
                  </cargo.glassfish5x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>glassfish6x</id>
      <properties>
        <cargo.containers>glassfish6x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish6x-6.0</id>
      <properties>
        <cargo.containers>glassfish6x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.glassfish6x.url>
                    https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/6.0.0/glassfish-6.0.0.zip
                  </cargo.glassfish6x.url>
                  <cargo.glassfish6x.java.home>${cargo.java.home.1_8}</cargo.glassfish6x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>glassfish6x-6.1</id>
      <properties>
        <cargo.containers>glassfish6x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.glassfish6x.url>
                    https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/6.1.0/glassfish-6.1.0.zip
                  </cargo.glassfish6x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>glassfish7x</id>
      <properties>
        <cargo.containers>glassfish7x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>glassfish8x</id>
      <properties>
        <cargo.containers>glassfish8x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>jboss3x</id>
      <properties>
        <cargo.containers>jboss3x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jboss4x</id>
      <properties>
        <cargo.containers>jboss4x</cargo.containers>
      </properties>
    </profile>
    <profile>
       <id>jboss42x</id>
       <properties>
         <cargo.containers>jboss42x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss5x</id>
       <properties>
         <cargo.containers>jboss5x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss51x</id>
       <properties>
         <cargo.containers>jboss51x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss6x</id>
       <properties>
         <cargo.containers>jboss6x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss61x</id>
       <properties>
         <cargo.containers>jboss61x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss7x</id>
       <properties>
         <cargo.containers>jboss7x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss71x</id>
       <properties>
         <cargo.containers>jboss71x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss72x</id>
       <properties>
         <cargo.containers>jboss72x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss73x</id>
       <properties>
         <cargo.containers>jboss73x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss74x</id>
       <properties>
         <cargo.containers>jboss74x</cargo.containers>
       </properties>
    </profile>
    <profile>
       <id>jboss75x</id>
       <properties>
         <cargo.containers>jboss75x</cargo.containers>
       </properties>
    </profile>

    <profile>
      <id>jetty5x</id>
      <properties>
        <cargo.containers>jetty5x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty6x</id>
      <properties>
        <cargo.containers>jetty6x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty7x</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
    </profile>
    <!--
      Jetty 7.0.x cannot be part of our profiles as it lacks out of the box JSP capabilities.
      -->
    <profile>
      <id>jetty7x-7.1</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty7x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.1.6.v20100715/jetty-distribution-7.1.6.v20100715.tar.gz
                  </cargo.jetty7x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty7x-7.2</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty7x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.2.2.v20101205/jetty-distribution-7.2.2.v20101205.tar.gz
                  </cargo.jetty7x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty7x-7.3</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty7x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.3.1.v20110307/jetty-distribution-7.3.1.v20110307.tar.gz
                  </cargo.jetty7x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty7x-7.4</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty7x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.4.5.v20110725/jetty-distribution-7.4.5.v20110725.tar.gz
                  </cargo.jetty7x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty7x-7.5</id>
      <properties>
        <cargo.containers>jetty7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty7x.url>
                    <!--
                      Jetty 7.5.4.v20111024 cannot be used due to a NPE in SelectorManager.register
                      -->
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/7.5.3.v20111011/jetty-distribution-7.5.3.v20111011.tar.gz
                  </cargo.jetty7x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty8x</id>
      <properties>
        <cargo.containers>jetty8x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty8x-8.0</id>
      <properties>
        <cargo.containers>jetty8x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty8x.url>
                    <!--
                      Jetty 8.0.4.v20111024 cannot be used due to a NPE in SelectorManager.register
                      -->
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/8.0.3.v20111011/jetty-distribution-8.0.3.v20111011.tar.gz
                  </cargo.jetty8x.url>
                  <cargo.jetty8x.java.home>${cargo.java.home.1_6}</cargo.jetty8x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty8x-8.1</id>
      <properties>
        <cargo.containers>jetty8x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty8x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/8.1.22.v20160922/jetty-distribution-8.1.22.v20160922.tar.gz
                  </cargo.jetty8x.url>
                  <cargo.jetty8x.java.home>${cargo.java.home.1_6}</cargo.jetty8x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty9x</id>
      <properties>
        <cargo.containers>jetty9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty9x-9.0</id>
      <properties>
        <cargo.containers>jetty9x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty9x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/9.0.7.v20131107/jetty-distribution-9.0.7.v20131107.tar.gz
                  </cargo.jetty9x.url>
                  <cargo.jetty9x.java.home>${cargo.java.home.1_7}</cargo.jetty9x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty9x-9.1</id>
      <properties>
        <cargo.containers>jetty9x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty9x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/9.1.6.v20160112/jetty-distribution-9.1.6.v20160112.tar.gz
                  </cargo.jetty9x.url>
                  <cargo.jetty9x.java.home>${cargo.java.home.1_7}</cargo.jetty9x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty9x-9.2</id>
      <properties>
        <cargo.containers>jetty9x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty9x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/9.2.30.v20200428/jetty-distribution-9.2.30.v20200428.tar.gz
                  </cargo.jetty9x.url>
                  <cargo.jetty9x.java.home>${cargo.java.home.1_7}</cargo.jetty9x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty9x-9.3</id>
      <properties>
        <cargo.containers>jetty9x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty9x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-distribution/9.3.30.v20211001/jetty-distribution-9.3.30.v20211001.tar.gz
                  </cargo.jetty9x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>jetty10x</id>
      <properties>
        <cargo.containers>jetty10x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty11x</id>
      <properties>
        <cargo.containers>jetty11x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty12x</id>
      <properties>
        <cargo.containers>jetty12x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jetty12x-12.0</id>
      <properties>
        <cargo.containers>jetty12x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.jetty12x.url>
                    https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-home/12.0.28/jetty-home-12.0.28.tar.gz
                  </cargo.jetty12x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>

    <profile>
      <id>jo1x</id>
      <properties>
        <cargo.containers>jo1x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>jonas4x</id>
      <properties>
        <cargo.containers>jonas4x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>jonas5x</id>
      <properties>
        <cargo.containers>jonas5x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>jrun4x</id>
      <properties>
        <cargo.containers>jrun4x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>liberty</id>
      <properties>
        <cargo.containers>liberty</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>oc4j9x</id>
      <properties>
        <cargo.containers>oc4j9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>oc4j10x</id>
      <properties>
        <cargo.containers>oc4j10x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>payara</id>
      <properties>
        <cargo.containers>payara</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>payara-4</id>
      <properties>
        <cargo.containers>payara</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.payara.url>
                    https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/4.1.2.181/payara-4.1.2.181.zip
                  </cargo.payara.url>
                  <cargo.payara.java.home>${cargo.java.home.1_8}</cargo.payara.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>payara-5</id>
      <properties>
        <cargo.containers>payara</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.payara.url>
                    https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/5.2022.5/payara-5.2022.5.zip
                  </cargo.payara.url>
                  <cargo.payara.java.home>${cargo.java.home.1_8}</cargo.payara.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>payara-7</id>
      <properties>
        <cargo.containers>payara</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.payara.url>
                    https://repo.maven.apache.org/maven2/fish/payara/distributions/payara/7.2025.1.Beta1/payara-7.2025.1.Beta1.zip
                  </cargo.payara.url>
                  <cargo.payara.java.home>${cargo.java.home.1_21}</cargo.payara.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>

    <profile>
      <id>resin3x</id>
      <properties>
        <cargo.containers>resin3x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>resin31x</id>
      <properties>
        <cargo.containers>resin31x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>resin4x</id>
      <properties>
        <cargo.containers>resin4x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>tomcat4x</id>
      <properties>
        <cargo.containers>tomcat4x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat5x</id>
      <properties>
        <cargo.containers>tomcat5x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat6x</id>
      <properties>
        <cargo.containers>tomcat6x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat7x</id>
      <properties>
        <cargo.containers>tomcat7x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat8x</id>
      <properties>
        <cargo.containers>tomcat8x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat8x-8.0</id>
      <properties>
        <cargo.containers>tomcat8x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.tomcat8x.url>
                    https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/8.0.53/tomcat-8.0.53.zip
                  </cargo.tomcat8x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>tomcat9x</id>
      <properties>
        <cargo.containers>tomcat9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat10x</id>
      <properties>
        <cargo.containers>tomcat10x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomcat10x-10.0</id>
      <properties>
        <cargo.containers>tomcat10x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.tomcat10x.url>
                    https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/10.0.27/tomcat-10.0.27.zip
                  </cargo.tomcat10x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>tomcat11x</id>
      <properties>
        <cargo.containers>tomcat11x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>tomee1x</id>
      <properties>
        <cargo.containers>tomee1x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomee7x</id>
      <properties>
        <cargo.containers>tomee7x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomee7x-7.0</id>
      <properties>
        <cargo.containers>tomee7x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.tomee7x.url>
                    https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/7.0.9/apache-tomee-7.0.9-plus.zip
                  </cargo.tomee7x.url>
                  <cargo.tomee7x.java.home>${cargo.java.home.1_7}</cargo.tomee7x.java.home>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>tomee8x</id>
      <properties>
        <cargo.containers>tomee8x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomee9x</id>
      <properties>
        <cargo.containers>tomee9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomee9x-9.0</id>
      <properties>
        <cargo.containers>tomee9x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.tomee9x.url>
                    https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/9.0.0/apache-tomee-9.0.0-plus.zip
                  </cargo.tomee9x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>tomee10x</id>
      <properties>
        <cargo.containers>tomee10x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>tomee10x-10.0</id>
      <properties>
        <cargo.containers>tomee10x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.tomee10x.url>
                    https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/10.0.1/apache-tomee-10.0.1-plus.zip
                  </cargo.tomee10x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>

    <profile>
      <id>weblogic8x</id>
      <properties>
        <cargo.containers>weblogic8x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic9x</id>
      <properties>
        <cargo.containers>weblogic9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic10x</id>
      <properties>
        <cargo.containers>weblogic10x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic103x</id>
      <properties>
        <cargo.containers>weblogic103x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic12x</id>
      <properties>
        <cargo.containers>weblogic12x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic121x</id>
      <properties>
        <cargo.containers>weblogic121x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic122x</id>
      <properties>
        <cargo.containers>weblogic122x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>weblogic14x</id>
      <properties>
        <cargo.containers>weblogic14x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>websphere85x</id>
      <properties>
        <cargo.containers>websphere85x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>websphere9x</id>
      <properties>
        <cargo.containers>websphere9x</cargo.containers>
      </properties>
    </profile>

    <profile>
      <id>wildfly8x</id>
      <properties>
        <cargo.containers>wildfly8x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly8x-8.1</id>
      <properties>
        <cargo.containers>wildfly8x</cargo.containers>
      </properties>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
              <configuration>
                <systemPropertyVariables>
                  <cargo.wildfly8x.url>
                    https://download.jboss.org/wildfly/8.1.0.Final/wildfly-8.1.0.Final.tar.gz
                  </cargo.wildfly8x.url>
                </systemPropertyVariables>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
    <profile>
      <id>wildfly9x</id>
      <properties>
        <cargo.containers>wildfly9x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly10x</id>
      <properties>
        <cargo.containers>wildfly10x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly11x</id>
      <properties>
        <cargo.containers>wildfly11x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly12x</id>
      <properties>
        <cargo.containers>wildfly12x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly13x</id>
      <properties>
        <cargo.containers>wildfly13x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly14x</id>
      <properties>
        <cargo.containers>wildfly14x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly15x</id>
      <properties>
        <cargo.containers>wildfly15x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly16x</id>
      <properties>
        <cargo.containers>wildfly16x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly17x</id>
      <properties>
        <cargo.containers>wildfly17x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly18x</id>
      <properties>
        <cargo.containers>wildfly18x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly19x</id>
      <properties>
        <cargo.containers>wildfly19x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly20x</id>
      <properties>
        <cargo.containers>wildfly20x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly21x</id>
      <properties>
        <cargo.containers>wildfly21x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly22x</id>
      <properties>
        <cargo.containers>wildfly22x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly23x</id>
      <properties>
        <cargo.containers>wildfly23x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly24x</id>
      <properties>
        <cargo.containers>wildfly24x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly25x</id>
      <properties>
        <cargo.containers>wildfly25x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly26x</id>
      <properties>
        <cargo.containers>wildfly26x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly27x</id>
      <properties>
        <cargo.containers>wildfly27x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly28x</id>
      <properties>
        <cargo.containers>wildfly28x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly29x</id>
      <properties>
        <cargo.containers>wildfly29x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly30x</id>
      <properties>
        <cargo.containers>wildfly30x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly31x</id>
      <properties>
        <cargo.containers>wildfly31x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly32x</id>
      <properties>
        <cargo.containers>wildfly32x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly33x</id>
      <properties>
        <cargo.containers>wildfly33x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly34x</id>
      <properties>
        <cargo.containers>wildfly34x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly35x</id>
      <properties>
        <cargo.containers>wildfly35x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly36x</id>
      <properties>
        <cargo.containers>wildfly36x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly37x</id>
      <properties>
        <cargo.containers>wildfly37x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly38x</id>
      <properties>
        <cargo.containers>wildfly38x</cargo.containers>
      </properties>
    </profile>
    <profile>
      <id>wildfly-swarm2017x</id>
      <properties>
        <cargo.containers>wildfly-swarm2017x</cargo.containers>
      </properties>
      <dependencies>
        <dependency>
          <groupId>org.codehaus.cargo</groupId>
          <artifactId>cargo-core-container-wildfly-swarm</artifactId>
        </dependency>
      </dependencies>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>copy-hollowswarm-jar</id>
                <phase>process-test-resources</phase>
                <configuration>
                  <artifactItems>
                    <artifactItem>
                      <groupId>org.wildfly.swarm.servers</groupId>
                      <artifactId>microprofile</artifactId>
                      <classifier>hollowswarm</classifier>
                      <version>${wildfly-swarm.version}</version>
                      <outputDirectory>${project.build.directory}/wildfly-swarm</outputDirectory>
                      <destFileName>wildfly-hollowswarm-${wildfly-swarm.version}.jar</destFileName>
                    </artifactItem>
                  </artifactItems>
                </configuration>
                <goals>
                  <goal>copy</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>

    <profile>
      <activation>
        <property>
          <name>skipTests</name>
          <value>!true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <phase>process-test-resources</phase>
                <configuration>
                  <artifactItems>
                    <!-- Jakarta EE migration tool -->
                    <artifactItem>
                      <groupId>org.apache.tomcat</groupId>
                      <artifactId>jakartaee-migration</artifactId>
                      <classifier>shaded</classifier>
                      <outputDirectory>${project.build.directory}/test-jars</outputDirectory>
                      <destFileName>jakartaee-migration-tool.jar</destFileName>
                    </artifactItem>

                    <!--
                      Copy the designated jdbc driver to an area where the containers can reference it
                      -->
                    <artifactItem>
                      <groupId>org.apache.derby</groupId>
                      <artifactId>derby</artifactId>
                      <outputDirectory>${project.build.directory}/test-jars</outputDirectory>
                      <destFileName>derby.jar</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-jar</artifactId>
                      <outputDirectory>${project.build.directory}/test-jars</outputDirectory>
                      <destFileName>simple.jar</destFileName>
                    </artifactItem>

                    <!-- To get Java EE / Jakarta EE JARs needed for Tomcat to work with mail sessions -->
                    <artifactItem>
                      <groupId>com.sun.mail</groupId>
                      <artifactId>mailapi</artifactId>
                      <outputDirectory>${project.build.directory}/mail-jars/jakarta</outputDirectory>
                    </artifactItem>
                    <artifactItem>
                      <groupId>jakarta.activation</groupId>
                      <artifactId>jakarta.activation-api</artifactId>
                      <outputDirectory>${project.build.directory}/mail-jars/jakarta</outputDirectory>
                    </artifactItem>
                    <artifactItem>
                      <groupId>javax.activation</groupId>
                      <artifactId>activation</artifactId>
                      <outputDirectory>${project.build.directory}/mail-jars/javax</outputDirectory>
                    </artifactItem>
                    <artifactItem>
                      <groupId>javax.mail</groupId>
                      <artifactId>mail</artifactId>
                      <outputDirectory>${project.build.directory}/mail-jars/javax</outputDirectory>
                    </artifactItem>

                    <!-- Deployables -->
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>authentication-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>authentication-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>expanded-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>expanded-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-ear</artifactId>
                      <type>ear</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-ear.ear</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>datasource-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>datasource-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>two-datasources-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>two-datasources-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>xadatasource-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>xadatasource-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>mailsession-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>mailsession-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>datasource-cmt-local-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>datasource-cmt-local-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>jms-queue-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>jms-queue-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>jms-topic-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>jms-topic-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>classpath-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>classpath-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-ejb</artifactId>
                      <type>jar</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-ejb.jar</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>tomcatcontext-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>tomcatcontext-war.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>tomcatcontext-war-link-simple-jar</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>tomcatcontext-war-link-simple-jar.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-bundle</artifactId>
                      <type>jar</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-bundle.jar</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>cargo-jetty-6-deployer</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>cargo-jetty-6-deployer.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>cargo-jetty-7-to-jetty-9-deployer</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>cargo-jetty-7-to-jetty-9-deployer.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>cargo-jetty-10-deployer</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>cargo-jetty-10-deployer.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>cargo-jetty-11-deployer</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>cargo-jetty-11-deployer.war</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-har</artifactId>
                      <type>har</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-har.har</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>simple-aop</artifactId>
                      <type>aop</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>simple-aop.aop</destFileName>
                    </artifactItem>
                    <artifactItem>
                      <groupId>org.codehaus.cargo</groupId>
                      <artifactId>systemproperty-war</artifactId>
                      <type>war</type>
                      <outputDirectory>${project.build.directory}/deployables</outputDirectory>
                      <destFileName>systemproperty-war.war</destFileName>
                    </artifactItem>
                  </artifactItems>
                </configuration>
                <goals>
                  <goal>copy</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

          <!-- Make sure tests always use randomly assigned and available ports -->
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>generate-port-numbers</id>
                <phase>generate-test-sources</phase>
                <goals>
                  <goal>reserve-network-port</goal>
                </goals>
                <configuration>
                  <portNames>
                    <portName>cargo.samples.servlet.port</portName>
                    <portName>cargo.samples.rmi.port</portName>
                    <portName>cargo.samples.glassfish.admin.port</portName>
                    <portName>cargo.samples.glassfish.http.ssl.port</portName>
                    <portName>cargo.samples.glassfish.java.debugger.port</portName>
                    <portName>cargo.samples.glassfish.jms.port</portName>
                    <portName>cargo.samples.glassfish.orb.listener.port</portName>
                    <portName>cargo.samples.glassfish.orb.mutualauth.port</portName>
                    <portName>cargo.samples.glassfish.orb.ssl.port</portName>
                    <portName>cargo.samples.glassfish.osgi.shell.telnet.port</portName>
                    <portName>cargo.samples.jboss.ajp.port</portName>
                    <portName>cargo.samples.jboss.https.port</portName>
                    <portName>cargo.samples.jboss.naming.port</portName>
                    <portName>cargo.samples.jboss.classloading.webservice.port</portName>
                    <portName>cargo.samples.jboss.jrmp.port</portName>
                    <portName>cargo.samples.jboss.jrmp.invoker.port</portName>
                    <portName>cargo.samples.jboss.invoker.pool.port</portName>
                    <portName>cargo.samples.jboss.remoting.transport.port</portName>
                    <portName>cargo.samples.jboss.ejb3.remoting.port</portName>
                    <portName>cargo.samples.jboss.transaction.recoveryManager.port</portName>
                    <portName>cargo.samples.jboss.transaction.statusManager.port</portName>
                    <portName>cargo.samples.jboss.remotedeploy.port</portName>
                    <portName>cargo.samples.jboss.jmx.port</portName>
                    <portName>cargo.samples.jboss.management-native.port</portName>
                    <portName>cargo.samples.jboss.management-http.port</portName>
                    <portName>cargo.samples.jboss.management-https.port</portName>
                    <portName>cargo.samples.jboss.osgi.http.port</portName>
                    <portName>cargo.samples.jetty.connector.https.port</portName>
                    <portName>cargo.samples.resin.socketwait.port</portName>
                    <portName>cargo.samples.tomcat.ajp.port</portName>
                    <portName>cargo.samples.tomcat.connector.https.port</portName>
                  </portNames>
                  <!-- Leave enough space for the port offset tests -->
                  <minPortNumber>10000</minPortNumber>
                  <maxPortNumber>64535</maxPortNumber>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
