POM for classpath dependencies

(jfriedman) #1

As part of documenting what goes into our multi-module, multi-stage builds, we have a goal of recording exactly which versions of which artifacts were put on the buildscript classpath. We have code that enhances the basic process to do what we need for project dependencies, including recording the resolved version in cases where the requested version is general (such as XX-+). Are there any docs on how to customize the classpath dependency resolver in a similar fashion? Simply adding ‘classpath’ to the configurations that go into the pom doesn’t do that, probably because they are not in scope at that point.
Thanks in advance for any help.