Stopping Cargo with additional JARs in the container's classpath fails


Adding JARs to the container's classpath is described in "Adding JARs to the container's classpath".

The archive cargo-classpath.tar.gz contains a simple test case.

The test case will download and install JBoss 5.1 into the directory /tmp/jboss-5.1. Log files are also written to this directory.

The start goal works fine. The container is started correctly and the JAR is also added to the classpath. But the stop goal fails with "Artifact [commons-lang:commons-lang:jar] is not a dependency of the project".

Relevant parts of the POM:

Everything works without the dependencies element inside the plugin configuration.

So something must be wrong.

Your pinned fields
Click on the next to a field label to start pinning.




Clemens Fuchslocher