I committed a reimplementation of the war annotation scanning using
the new API, but the new scanning deployer is not working out too well
for me. If the new code fails due to a missing input, it falls back to
the old code. Let me know if it works for you (ie, no warning about
missing ResourcesIndex), as Ales cannot reproduce the problem.
You don't need the ScanningMetaData code anymore
ScanningMetaData scanningMetaData = unit.getAttachment(ScanningMetaData.class);
for (VirtualFile path : classpath)
{
if (scanningMetaData == null
|| !(scanningMetaData.getPaths() == null
|| !scanningMetaData.getPaths().contains(path.getName())))
{
as this is all already taken care of in new ScanningDeployer.