From 04eebac22f11286804e75398510142ebab030591 Mon Sep 17 00:00:00 2001 From: Rujun Chen Date: Tue, 1 Mar 2022 15:21:02 +0800 Subject: [PATCH] gh-27303 (#27356) --- .../main/java/com/azure/spring/core/AzureSpringIdentifier.java | 2 +- .../{project.properties => azure-spring-identifier.properties} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sdk/spring/spring-cloud-azure-core/src/main/resources/{project.properties => azure-spring-identifier.properties} (100%) diff --git a/sdk/spring/spring-cloud-azure-core/src/main/java/com/azure/spring/core/AzureSpringIdentifier.java b/sdk/spring/spring-cloud-azure-core/src/main/java/com/azure/spring/core/AzureSpringIdentifier.java index afe7ce129edef..337b99a9c39d7 100644 --- a/sdk/spring/spring-cloud-azure-core/src/main/java/com/azure/spring/core/AzureSpringIdentifier.java +++ b/sdk/spring/spring-cloud-azure-core/src/main/java/com/azure/spring/core/AzureSpringIdentifier.java @@ -79,7 +79,7 @@ private static String getVersion() { String version = "unknown"; try { Properties properties = PropertiesLoaderUtils.loadProperties( - new ClassPathResource("project.properties")); + new ClassPathResource("azure-spring-identifier.properties")); version = properties.getProperty("version"); } catch (IOException e) { LOGGER.warn("Can not get version."); diff --git a/sdk/spring/spring-cloud-azure-core/src/main/resources/project.properties b/sdk/spring/spring-cloud-azure-core/src/main/resources/azure-spring-identifier.properties similarity index 100% rename from sdk/spring/spring-cloud-azure-core/src/main/resources/project.properties rename to sdk/spring/spring-cloud-azure-core/src/main/resources/azure-spring-identifier.properties