The Mojo Developer Cookbook (http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook) is great.
In it, there's a section on "Resolving Transitively". This works great - however, the artifact set that is resolved is based on Maven's idea of which graph edges ought to be considered for resolution. For example, if I have a WAR file, then any declared dependencies that are JARs (and POM I think) are included, and those artifacts have their dependencies added to the list (and so on, recursively). The end result resolves to a single version for each JAR artifact. However - if the WAR file has a WAR dependency, then it will not be considered, and any JAR files in there won't be included in the set that the version is resolved in. This is the behaviour that I want, where I have a WAR of WARs, and I want to calculate the resolved set of dependencies. a) How can I interject my own requirements for dependency traversal? b) Is / how is this changed in 2.1 - all the methods on ArtifactResolver have been condensed down into 1.. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
