- core/pom.xml : Updating cargo.resources.version from 0.9.1 to latest pom version since samples project was using 0.9.1 test resources instead of ${version}, so modifs done to test resources on the local sources were not used by samples project during container unit tests (see core/samples/pom.xml) Upgrading to jmock 1.0.1 -1.2.0 and adding jmock-cglib since I needed to mock some concrete classes in the jonas container impl, no regression bugs found on the other unit tests. - core/api/container/src/main/java/org.codehaus.cargo.container.internal.util.ResourceUtils : Refactoring of the copyResource(*) methods to use a file handler instead of the generic java.io.File API - core/api/generic/src/main/java/org.codehaus.cargo.container.generic.* : Adding the jonas container capabilities in the various required default factories - core/api/util/src/main/java/org.codehaus.cargo.util.DefaultFileHandler : Adding a sanity check when creating a directory, the boolean returned by file.mkdirs was never checked ! - core/api/util/src/main/java/org.codehaus.cargo.util.VFSFileHandler + Test : Implementing the createDirectory method since it was not correctly working when using the java.io super class implementation. - core/containers/pom.xml adding jonas to the built modules - core containers/jetty/src/main/java/org.codehaus.cargo.container.jetty.* : Changing the "Cargo Test Realm" name to "Cargo_Test_Realm" see comments done below on resources/testdata/authentication-war/src/main/webapp/WEB-INF/web.xml for more info - core/containers/jonas/* The jonas container implementation - core/samples/pom.xml adding jonas impl to the samples tests, adding missing geronimo 1.x settings , changing cargo.version from 0.9.1 to ${version} to make sure that the local resources are used during samples tests run and not some other version on some remote repository - core/samples/java/src/main/org.codehaus.cargo.sample.java/EnvironmentTestData + AbstractCargoTestCase : Adding the possibility to inject custom configuration settings to the tested container trough system props. The system setting key must look like : cargo.$CONTAINER_NAME.configuration.$SETTING_NAME Modification needed for jonas to inject some custom settings to pass the core/samples tests. See core/samples/pom.xml - core/samples/java/src/test/java/main/org.codehaus.cargo.sample.java/RemoteDeploymentTest : Adding some checks to only assign default test configuration settings only if not present - extensions/pom.xml Adding jonas container dependency for maven 2 plugin - pom/pom.xml Adding my name to the contributors list :o) - resources/testdata/authentication-war/src/main/webapp/WEB-INF/web.xml Changing the test realm name from "Cargo Test Realm" to "Cargo_Test_Realm", jonas jaas realm name must be configured in the server config files to pass the war authentication test correctly, however providing a "Cargo Test Realm" in the config files creates an error during server startup due to the spaces in "Cargo Test Realm", jonas is not happy with it.., renaming it to "Cargo_Test_Realm" fixes the issue.