Codehaus Cargo 1.9.5 is here!
Dear Codehaus Cargo enthusiasts
We are happy to announce Codehaus Cargo 1.9.5, which includes two bug fixes:
Containers - Tomcat
[CARGO-1563]
redeploy
fails when<properties>
element has<context>ROOT</context>
[CARGO-1564] JOTM
UserTransactionFactory
is always added to my Tomcatserver.xml
This bug is an interesting one: the JOTMUserTransactionFactory
, though seemingly “never” used, has been added to the Tomcatserver.xml
since the initial commit of the Tomcat 5.x standalone configuration back in 2007, where the only statement explaining it was we will likely need a transaction factory too, though our many integration tests show that we actually do not.
This version also comes with some behind the scenes improvements so Codehaus Cargo can be built on JDK 16, though one will need to follow the instructions for building on non JDK 11 versions to fully achieve a build (and a release is not possible on any other JDK than JDK 11). These should, nevertheless, be a non-impact for you as a user and you can use any Java environment version 8 or above.
To upgrade to this latest version:
Users of the Maven 3 plugin simply need to use the Codehaus Cargo plugin version 1.9.5
Users of the Java API can download the new Uberjar from https://repo.maven.apache.org/maven2/org/codehaus/cargo/cargo-core-uberjar/1.9.5/cargo-core-uberjar-1.9.5.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.9.5/cargo-ant-1.9.5.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.9.5/cargo-daemon-webapp-1.9.5.war and either use the WAR directly as an executable JAR or as a WAR file deployed on another Web container
Enjoy!