@Override
    protected String name() {
        return super.name() + "." + instance + " in " +
               (zone != null ? zone.region() + " in " + zone.environment()
                             : (region == null ? "default region" : region) + " in " +
                               (environment == null ? "default environment (dev)" : environment));
    }
Base class for hosted Vespa plugin mojos which refer to a particular deployment.

@author jonmv
vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaDeploymentMojo.java