CARGO Maven2/Maven3 plugin does not add transitive dependencies to container classpath

Description

In my project I have the following maven config:

1 2 3 4 5 6 7 8 9 10 11 12 13 ... <container> <containerId>jboss71x</containerId> <zipUrlInstaller>...</zipUrlInstaller> <dependencies> <dependency> <groupId>com.mygroup</groupId> <artifactId>xxx</artifactId> <version>1</version> </dependency> </dependencies> </container> ...

com.mygroup.xxx-1 has itself a dependency to google-guice

1 2 3 4 5 <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>3.0</version> </dependency>

Cargo creates a jboss module for xxx-1 but not for guice.
At runtime my deployed application fails with a class not found exception because guice is missing in the classpath.

Status

Assignee

Unassigned

Reporter

Stephan Classen

Components

Fix versions

Priority

Major
Configure