Add transitive dependencies to extra classpath

Description

The Maven2/Maven3 plugin allows for plugin configuration to add maven dependencies. The cargo plugin should have an option include transitive dependencies as well, so one doesn't have to add 30 dependencies into cargo configuration:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <!-- NOTE: version 0.3 or higher is required to get context to work--> <version>0.3-SNAPSHOT</version> <configuration> <wait>true</wait> <container> <containerId>tomcat5x</containerId> <type>installed</type> <home>${project.build.directory}/runtime/${nodeName}/tomcat</home> <log>${project.build.directory}/cargo/cargo.log</log> <output>${project.build.directory}/cargo/cargo.log</output> <append>true</append> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </dependency> <dependency> <groupId>picocontainer</groupId> <artifactId>picocontainer</artifactId> </dependency> <dependency> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> </dependency> <dependency> <location>${project.build.directory}/runtime/${nodeName}</location> </dependency> <dependency> <location>${project.build.directory}/runtime/${nodeName}/lib/*.jar</location> </dependency> </dependencies> </container> </configuration> </plugin>

Status

Assignee

Unassigned

Reporter

Ryan Sonnek

Components

Fix versions

Affects versions

0.2-maven2

Priority

Major
Configure