RSS
An RSS feed is available.
News
Dear Codehaus Cargo enthusiasts
We are happy to announce Codehaus Cargo 1.7.12, a version packed with extended support for new versions of containers, and some bug fixes:
Containers - Payara
[CARGO-1516] - Codehaus Cargo doesn't work with Payara 5.201
While working on this bugfix, we actually also improved the way thegetVersion
methods are implemented for various containers (such as Jetty, JRun, JBoss / WildFly and Tomcat) by upgrading them with thetry-with-resources
constructs introduced in Java 7.
Containers - Tomcat
[CARGO-1513] - Add support for Tomcat 10.x
Please be aware that Tomcat 10 (at least, the early milestone versions) has been built to be Jakarta EE only, which means thejavax.*
packages are not available. A migration tool is being built to allow applications (even compiled ones) to move, so far it is in early development stages only.
Containers - WebLogic
[CARGO-1515] - Add support for WebLogic 14c
While implementing this, we fixed a very old bug wherenull
values in ANT token replacements would not work, which as a side effects enables us to run the XA datasource tests for supported WebLogic containers. It is interesting that this went unnoticed for so many years!
In addition to these, we have various code cleanups to remove old repositories, also to upgrade the Maven Invoker plugin so our build actually works on Windows with recent Maven 3 versions.
To try it out:
Users of the Maven 2 / Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.7.12
Users of the Java API can download the new Uberjar from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.7.12/cargo-core-uberjar-1.7.12.jar
Similarly, users of the ANT tasks can download the new ANT tasks from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-ant/1.7.12/cargo-ant-1.7.12.jar
Finally, the ones who want to see the Cargo Daemon can get it from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-daemon-webapp/1.7.12/cargo-daemon-webapp-1.7.12.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy!
Dear Codehaus Cargo enthusiasts
We are happy to announce a new corrective and slight improvement version of Codehaus Cargo 1.7.11, which comes with the below new features and bug fixes:
Containers - JBoss and Wildfly
[CARGO-1506] - Ability to define
management-https.port
for Wildfly and JBoss
Containers - Tomcat
[CARGO-1509] - Tomcat remote deployment (upload) doesn't work with
Digest
authentication
Containers - Wildfly
[CARGO-1510] - Implement WildFly 19.x
Please be aware that the fix for CARGO-1509 implies some changes in for the TomcatManager class: the previous methods which used InputStream
s as input (for the deployable that needs tobbe uploaded) cannot handle the case where the same input has to be read twice (or more times), as it is the case for a Digest
authentication (where two requests are sent: one to obtain the HTTP Digest
challenge, the second to send the associated authentication headers). The updated methods hence have a File
as parameter instead of InputStream
, as a side effect, the new implementation avoids memory leaks
To try it out:
Users of the Maven 2 / Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.7.11
Users of the Java API can download the new Uberjar from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.7.11/cargo-core-uberjar-1.7.11.jar
Similarly, users of the ANT tasks can download the new ANT tasks from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-ant/1.7.11/cargo-ant-1.7.11.jar
Finally, the ones who want to see the Cargo Daemon can get it from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-daemon-webapp/1.7.11/cargo-daemon-webapp-1.7.11.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy!
Dear Codehaus Cargo enthusiasts
First of all, we wish you a great start to this new decade! Since our last release in early December 2019 we accumulated many interesting fixes and improvements, moreover we had important adaptations as Maven and many other repositories switched to HTTPS-only since mid January 2020. We are hence excited to announce the immediate availability of Codehaus Cargo 1.7.10 which comes with the below new features and bug fixes:
General
[CARGO-1505] - Cargo can't download many container binaries, because HTTPS is now enforced on
repo.maven.apache.org
Containers - JBoss and Wildfly
[CARGO-1504] - Add ability to change the JBoss / WildFly HTTPS port
Containers - Tomcat
[CARGO-1498] - Tomcat 7.x and below show exception logs when the stopping with Codehaus Cargo on JDK 11
[CARGO-1503] - Ability to specify timeout for
operation
with runtime Tomcat
Extension - ANT tasks
[CARGO-1482] - Using Ant 1.10.* yields to
NoSuchMethodError: o.a.t.ant.filters.util.ChainReaderHelper.getAssembledReader()Ljava/io/Reader;
Extensions - Maven2/Maven3 plugin
[CARGO-1494] - Add the
cargo-licensed-dtds
dependency to the Maven2/Maven3 plugin
To try it out:
Users of the Maven 2 / Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.7.10
Users of the Java API can download the new Uberjar from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.7.10/cargo-core-uberjar-1.7.10.jar
Similarly, users of the ANT tasks can download the new ANT tasks from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-ant/1.7.10/cargo-ant-1.7.10.jar
Finally, the ones who want to see the Cargo Daemon can get it from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-daemon-webapp/1.7.10/cargo-daemon-webapp-1.7.10.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy!
Dear Codehaus Cargo enthusiasts
As we accumulated many interesting fixes and improvements since our last release, we are happy to announce the immediate availability of Codehaus Cargo 1.7.8. This release, which will most likely be the last for 2019, comes with the below new features and bug fixes:
Containers - Payara
[CARGO-1499] - Add Payara as a container
Containers - Tomcat
[CARGO-1502] - Support Tomcat deploy update on Remote containers
Containers - WildFly
[CARGO-1500] - Add support for WildFly 18.x
Extensions - Cargo Daemon
[CARGO-1497] - Cleanup libraries of the Cargo Daemon WAR
To try it out:
Users of the Maven 2 / Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.7.8
Users of the Java API can download the new Uberjar from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.7.8/cargo-core-uberjar-1.7.8.jar
Similarly, users of the ANT tasks can download the new ANT tasks from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-ant/1.7.8/cargo-ant-1.7.8.jar
Finally, the ones who want to see the Cargo Daemon can get it from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-daemon-webapp/1.7.8/cargo-daemon-webapp-1.7.8.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy - Both this new version of Codehaus Cargo, and your well deserved year end festivities!
Dear Codehaus Cargo enthusiasts
After another month since our last release, we are happy to announce the immediate availability of Codehaus Cargo 1.7.7. This release comes with the below bug fixes and improvements, as well as another very important change to ensure the licenses are correct:
General
[CARGO-1494] - Isolate licensed DTDs
Containers - JBoss
[CARGO-1490] - Add
jaxpmodule app
argument to JBoss 7.2.x
Containers - Jetty
[CARGO-1492] - Remove the
webdefault.xml
files from Codehaus Cargo and use XML replacements instead[CARGO-1495] - The Jetty Embedded Local Container doesn't work with Jetty 9.4.20
Containers - WebSphere
[CARGO-1493] - Deployer start / stop feature for WebSphere
Containers - WildFly
[CARGO-1491] - Add support for WildFly 17.x
For the ones wondering about the license topic: The license of Codehaus Cargo itself, as well as the Uberjar is Apache License 2.0 (except for the WebSphere Liberty container which has been released under the MIT License). In case you want to use the Java API offline with some containers / deployables, the DTD parsers require some XML files to be available in the classpath, yet these files have âvariousâ licenses. In order to resolve this, Codehaus Cargo versions 1.7.7 onwards have these DTDs in a separate JAR, not part of the Uberjar. This means that:
If you are using Codehaus Cargo via Java API, ANT or the Cargo Daemon and are getting strange error messages with XML parsers such as
java.net.UnknownHostException: java.sun.com
when you work with certain containers / deployables, please download the convenience JAR with DTDs that are used by some Cargo components which have licenses incompatible with the rest of Cargo and add it into the classpath.This does not affect the Maven2 / Maven 3 plugin, as it will download the required dependencies automatically (and, since Maven downloads and stores the DTDs' JAR separately from Codehaus Cargo you wonât run into license issues).
To try it out:
Users of the Maven 2 / Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.7.7
Users of the Java API can download the new Uberjar from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.7.7/cargo-core-uberjar-1.7.7.jar
Similarly, users of the ANT tasks can download the new ANT tasks from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-ant/1.7.7/cargo-ant-1.7.7.jar
Finally, the ones who want to see the Cargo Daemon can get it from http://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-daemon-webapp/1.7.7/cargo-daemon-webapp-1.7.7.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy!