This bug seems to be not touched for a while. I like the first patch, but I'd like to know if we could extract the package version from the input in the second package instead, for example with 'package-version' ? That way we could decouple the packages, so that they can be updated independently. If not, please add a comment to junit, that java-powermock needs to be also updated. WDYT?