> I'm trying to construct a war overlay task that would operate something
> like this <http://maven.apache.org/plugins/maven-war-plugin/overlays.html>.
> I'm having some difficulty getting to the contents of a war file declared
> as a managed dependency. The 'managedClasspath' key does not seem to
> include war files. I can get to the 'ModuleID' for the declared dependency
> but I can't figure out how to use this to resolve the war file. Does
> anybody know how I might be able to get to the contents of a war file
> declared as a managed dependency?
The classpathTypes setting (with type Set[String]) controls what types end up on the classpath. It sounds like you want to explode the war and include the contents on the classpath. For this, you would process the UpdateReport[1] from the `update` task to grab the war files in configuration of interest. Then, add them to the managedClasspath in that configuration. You can see the default definition[2] and implementation[3] for normal managed dependencies.