class SvnPropertiesValidator implements MavenValidator {

    @Override
    public void validate(final MavenEnvironment env)
        throws ValidationException {
        if (SvnPropertiesValidator.isSvn(env.project())) {
            final File dir = new File(env.project().getBasedir(), "src");
            if (dir.exists()) {
                this.validate(dir);
            } else {
                Logger.info(
                    this,
                    "%s directory is absent, no need to check SVN properties",
                    dir
                );
            }
        } else {
            Logger.info(this, "This is not an SVN project");
        }
    }

}