Ah, that's because the version is being misdetected as 'tomcat' in both cases; need to add an explicit version to each of the resources.