Now we've fixed the manifest format, we get 'TRUNK-SNAPSHOT' as the version string. This trips up version parsing, so we now skip version strings if they end in '-SNAPSHOT', and read instead from VERSION.txt. Moral of this story: be careful what you wish for.