Fix build with older versions of maven.

Don't require specific version of some plugins, and add some dummy
methods to two of the test files.