https://github.com/apache/dubbo/blob/532ce72f8377abf8ff659430b86e0919c9aff562/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java#L240-L248 

What ever user use `instance` service discovery or `interface` service discovery, we also publish service name mapping info. 
But service name mapping need metadata report dependency, so if some one just use `interface` service discovery, the user still need need metadata report dependency.

Here we add a judgement, check current service config use `instance` service discovery or not, to judge publish service name mapping or not.

*
     * @since 2.7.8
     */
    String DEFAULT_SERVICE_NAME_MAPPING_PROPERTIES_PATH = "META-INF/dubbo/service-name-mapping.properties";
    String CLASS_DESERIALIZE_BLOCK_ALL = "dubbo.security.serialize.blockAllClassExceptAllow";
    String CLASS_DESERIALIZE_ALLOWED_LIST = "dubbo.security.serialize.allowedClassList";
    String CLASS_DESERIALIZE_BLOCKED_LIST = "dubbo.security.serialize.blockedClassList";
    String ENABLE_NATIVE_JAVA_GENERIC_SERIALIZE = "dubbo.security.serialize.generic.native-java-enable";
    String SERIALIZE_BLOCKED_LIST_FILE_PATH = "security/serialize.blockedlist";
    String QOS_LIVE_PROBE_EXTENSION = "dubbo.application.liveness-probe";
    String QOS_READY_PROBE_EXTENSION = "dubbo.application.readiness-probe";
    String QOS_STARTUP_PROBE_EXTENSION = "dubbo.application.startup-probe";
    String REGISTRY_DELAY_NOTIFICATION_KEY = "delay-notification";
    String CACHE_CLEAR_TASK_INTERVAL = "dubbo.application.url.cache.task.interval";
    String CACHE_CLEAR_WAITING_THRESHOLD = "dubbo.application.url.cache.clear.waiting";
    String CLUSTER_INTERCEPTOR_COMPATIBLE_KEY = "dubbo.application.cluster.interceptor.compatible";
    String UTF8ENCODE = "UTF-8";
    
    String CLASSPATH_URL_PREFIX = "classpath:";
    String DEFAULT_VERSION = "0.0.0";
    String EXPORT_ASYNC_KEY = "export-async";
    String REFER_ASYNC_KEY = "refer-async";
    String ASYNC_THREAD_NUM_KEY = "async-thread-num";
    int DEFAULT_ASYNC_THREAD_NUM = 10;
    /**
     * Url merge processor key
     */
    String URL_MERGE_PROCESSOR_KEY = "url-merge-processor";
}