Refactoring test to use isolated test-only plugin to avoid weirdness on windows when dependency artifact is present but isn't a valid jar.