If container defined in a parent pom and deployer in a child pom then deployer is not recognized by cargo-maven2-plugin.
Workaround: move the container definition to each child pom.
I have a container defined in a root pom:
And the deployer in several child poms:
When I try to build with the following maven command:
mvn -DskipTests=true -P staging cargo:deployer-redeploy
I get the following error: