You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<plocal-id="b463353a6c77">Cargo offers primarily a Java API. It is meant to be embedded in your application. You'll need Java SE version 8 or greater.</p>
580
-
<plocal-id="dd6620a2f92c">You have two choices to pick from the <ahref="Downloads.html">Downloads</a> page:</p>
581
-
<ullocal-id="38295bd9a45e">
582
-
<lilocal-id="3287167e57a5">
583
-
<plocal-id="c4ee3c10badf">the <code>cargo-core-api-*</code> jars and the container implementations you wish to use (<code>cargo-core-container-*</code> jars)</p>
578
+
<h3id="Installation-JavaAPI">Java API</h3>
579
+
<p>Cargo offers primarily a Java API. It is meant to be embedded in your application. You'll need Java SE version 8 or greater.</p>
580
+
<p>You have two choices to pick from the <ahref="Downloads.html">Downloads</a> page:</p>
581
+
<ul>
582
+
<li>
583
+
<p>the <code>cargo-core-api-*</code> jars and the container implementations you wish to use (<code>cargo-core-container-*</code> jars)</p>
584
584
</li>
585
-
<lilocal-id="ae1872da5b82">
586
-
<plocal-id="a37dd3edb93c"><strong>or</strong> the <code>cargo-core-uberjar</code> jar which aggregates all the required jars and their core dependencies (such as the various J2EE, Java EE and Jakarta EE specifications, JNI, etc.)</p>
585
+
<li>
586
+
<p><strong>or</strong> the <code>cargo-core-uberjar</code> jar which aggregates all the required jars and their core dependencies (such as the various J2EE, Java EE and Jakarta EE specifications, JNI, etc.)</p>
587
587
</li>
588
588
</ul>
589
-
<plocal-id="b8e70f861181">Cargo's only base dependency not packed in the uberjar is <ahref="https://repo.maven.apache.org/maven2/commons-discovery/commons-discovery/0.5/commons-discovery-0.5.jar">commons discovery 0.5</a>, which itself depends on <ahref="https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar">commons logging 1.1.1</a> (though our builds always use the latest version).</p>
590
-
<plocal-id="d7670b6b7474">In addition, some specific containers and features require the following:</p>
589
+
<p>Cargo's only base dependency not packed in the uberjar is <ahref="https://repo.maven.apache.org/maven2/commons-discovery/commons-discovery/0.5/commons-discovery-0.5.jar">commons discovery 0.5</a>, which itself depends on <ahref="https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar">commons logging 1.1.1</a> (though our builds always use the latest version).</p>
590
+
<p>In addition, some specific containers and features require the following:</p>
591
591
<divclass="table-wrap">
592
592
<tableclass="confluenceTable">
593
593
<tbody>
594
594
<tr>
595
595
<thclass="confluenceTh">
596
-
<plocal-id="237fd0e92310"><strong>Container or feature</strong></p>
<plocal-id="9512d9967d29">Avoiding XML parser issues</p>
604
+
<p>Avoiding XML parser issues</p>
605
605
</td>
606
606
<tdclass="confluenceTd">
607
-
<plocal-id="c89d0a0fc7fd"><ahref="Downloads.html#Downloads-licensedDTDs">Convenience JAR with DTDs that are used by some Cargo components which have licenses incompatible with the rest of Cargo</a></p>
607
+
<p><ahref="Downloads.html#Downloads-licensedDTDs">Convenience JAR with DTDs that are used by some Cargo components which have licenses incompatible with the rest of Cargo</a></p>
<plocal-id="bfd5d9d7ea2c"><ahref="https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.28.0/commons-compress-1.28.0.jar">Commons compress 1.28.0</a> or greater, which itself depends on <ahref="https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar">commons lang 3.18.0</a> (though our builds always use the latest version)</p>
615
+
<ul>
616
+
<li>
617
+
<p><ahref="https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.28.0/commons-compress-1.28.0.jar">Commons compress 1.28.0</a> or greater, which itself depends on <ahref="https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar">commons lang 3.18.0</a> (though our builds always use the latest version)</p>
618
618
</li>
619
-
<lilocal-id="7ade5a6c6503">
620
-
<plocal-id="cb7c0603057a"><ahref="https://repo.maven.apache.org/maven2/org/tukaani/xz/1.11/xz-1.11.jar">Tukaani XZ 1.11</a> or greater (for 7Z support)</p>
619
+
<li>
620
+
<p><ahref="https://repo.maven.apache.org/maven2/org/tukaani/xz/1.11/xz-1.11.jar">Tukaani XZ 1.11</a> or greater (for 7Z support)</p>
<plocal-id="4d58167abfc3"><ahref="https://ant.apache.org/bindownload.cgi">Apache Ant</a> (including the Ant Launcher), the version <em>seems</em> not to matter too much</p>
630
+
<p><ahref="https://ant.apache.org/bindownload.cgi">Apache Ant</a> (including the Ant Launcher), the version <em>seems</em> not to matter too much</p>
631
631
</td>
632
632
</tr>
633
633
<tr>
634
634
<tdclass="confluenceTd">
635
-
<ullocal-id="8870c04a5725">
636
-
<lilocal-id="655097ad51e3">
637
-
<plocal-id="bc15bf895bed">Parsing of container-specific deployables (JBoss, Orion, Tomcat, etc.)</p>
635
+
<ul>
636
+
<li>
637
+
<p>Parsing of container-specific deployables (JBoss, Orion, Tomcat, etc.)</p>
638
638
</li>
639
-
<lilocal-id="55266be3f224">
640
-
<plocal-id="116054373ff7"><ahref="Merging+WAR+files.html">Merging WAR files</a></p>
639
+
<li>
640
+
<p><ahref="Merging+WAR+files.html">Merging WAR files</a></p>
641
641
</li>
642
642
</ul>
643
643
</td>
644
644
<tdclass="confluenceTd">
645
-
<ullocal-id="c7875159dd28">
646
-
<lilocal-id="d4d53128205b">
647
-
<plocal-id="ec00ccba57f9"><ahref="https://repo.maven.apache.org/maven2/jaxen/jaxen/2.0.0/jaxen-2.0.0.jar">jaxen 2.0.0</a> or greater</p>
645
+
<ul>
646
+
<li>
647
+
<p><ahref="https://repo.maven.apache.org/maven2/jaxen/jaxen/2.0.0/jaxen-2.0.0.jar">jaxen 2.0.0</a> or greater</p>
648
648
</li>
649
-
<lilocal-id="4b2cf35186be">
650
-
<plocal-id="c5e4098c50a0"><ahref="https://repo.maven.apache.org/maven2/org/jdom/jdom2/2.0.6.1/jdom2-2.0.6.1.jar">JDOM 2.0.6.1</a> or greater</p>
649
+
<li>
650
+
<p><ahref="https://repo.maven.apache.org/maven2/org/jdom/jdom2/2.0.6.1/jdom2-2.0.6.1.jar">JDOM 2.0.6.1</a> or greater</p>
<plocal-id="6bf49025649e"><ahref="https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.21.1/jackson-core-2.21.1.jar">Jackson core 2.21.1</a> or greater</p>
668
+
<ul>
669
+
<li>
670
+
<p><ahref="https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.21.1/jackson-core-2.21.1.jar">Jackson core 2.21.1</a> or greater</p>
671
671
</li>
672
-
<lilocal-id="3c35fdebad58">
673
-
<plocal-id="fc71c892bbbb"><ahref="https://repo.maven.apache.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.21.1/jackson-dataformat-yaml-2.21.1.jar">Jackson YAML dataformat 2.21.1</a> or greater, which itself depends on <ahref="https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/2.5/snakeyaml-2.5.jar">SnakeYAML 2.5</a> or greater</p>
672
+
<li>
673
+
<p><ahref="https://repo.maven.apache.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.21.1/jackson-dataformat-yaml-2.21.1.jar">Jackson YAML dataformat 2.21.1</a> or greater, which itself depends on <ahref="https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/2.5/snakeyaml-2.5.jar">SnakeYAML 2.5</a> or greater</p>
<plocal-id="f0eb6f9ac922">If you want use the Cargo Ant tasks, add the following JARs to Ant's classpath:</p>
683
-
<ullocal-id="1e0ebbabf7eb">
684
-
<lilocal-id="e6289ff6a896">
685
-
<plocal-id="2399d0a887f1">The same jars as for the Java API (i.e., either the API JARs + the container(s) <strong>or</strong> the uberjar)</p>
681
+
<h3id="Installation-ApacheAnt">Apache Ant</h3>
682
+
<p>If you want use the Cargo Ant tasks, add the following JARs to Ant's classpath:</p>
683
+
<ul>
684
+
<li>
685
+
<p>The same jars as for the Java API (i.e., either the API JARs + the container(s) <strong>or</strong> the uberjar)</p>
686
686
</li>
687
-
<lilocal-id="42749dae2346">
688
-
<plocal-id="c5fb78f8933d">The <code>cargo-ant</code> JAR, containing the <code><taskdef></code> definition (see the <ahref="Ant+support.html">Ant support</a> page)</p>
687
+
<li>
688
+
<p>The <code>cargo-ant</code> JAR, containing the <code><taskdef></code> definition (see the <ahref="Ant+support.html">Ant support</a> page)</p>
<plocal-id="a91e6d46c32c">Maven 3 will automatically download all required dependencies: see the <ahref="Maven+3+Plugin.html">Maven 3 Plugin</a> page. As a result, no installation is required for Maven 3.</p>
693
-
<plocal-id="090620aac9cf">If you are creating a Java applications which use the Cargo via API, you need to add as dependency either the artifact for your favorite container or the uberjar (which contains all containers). See below examples:</p>
694
-
<h5local-id="a813f65567e5" id="Installation-ExampleforaddingtheCodehausCargouberjarasdependency"><strong>Example for adding the Codehaus Cargo uberjar as dependency</strong></h5>
<p>Maven 3 will automatically download all required dependencies: see the <ahref="Maven+3+Plugin.html">Maven 3 Plugin</a> page. As a result, no installation is required for Maven 3.</p>
693
+
<p>If you are creating a Java applications which use the Cargo via API, you need to add as dependency either the artifact for your favorite container or the uberjar (which contains all containers). See below examples:</p>
694
+
<h5id="Installation-ExampleforaddingtheCodehausCargouberjarasdependency"><strong>Example for adding the Codehaus Cargo uberjar as dependency</strong></h5>
<plocal-id="9c3a53f74d9e">or, with the Tomcat container (as an example):</p>
705
-
<h5local-id="f7543793e45e" id="Installation-ExampleforaddingtheCodehausCargoTomcatcontainerasdependency"><strong>Example for adding the Codehaus Cargo Tomcat container as dependency</strong></h5>
704
+
<p>or, with the Tomcat container (as an example):</p>
705
+
<h5id="Installation-ExampleforaddingtheCodehausCargoTomcatcontainerasdependency"><strong>Example for adding the Codehaus Cargo Tomcat container as dependency</strong></h5>
0 commit comments