diff --git a/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java b/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java index 0025f3a522..90e6a7955d 100644 --- a/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java +++ b/src/main/java/redis/clients/jedis/util/JedisMetaInfo.java @@ -15,10 +15,12 @@ public class JedisMetaInfo { static { Properties p = new Properties(); - try (InputStream in = JedisMetaInfo.class.getClassLoader().getResourceAsStream("pom.properties")) { + try (InputStream in = JedisMetaInfo.class.getClassLoader() + .getResourceAsStream("redis/clients/jedis/pom.properties")) { p.load(in); } catch (Exception e) { - LoggerFactory.getLogger(JedisMetaInfo.class).error("Load Jedis meta info from pom.properties failed", e); + LoggerFactory.getLogger(JedisMetaInfo.class) + .error("Load Jedis meta info from pom.properties failed", e); } groupId = p.getProperty("groupId", null); diff --git a/src/main/resources/pom.properties b/src/main/resources/redis/clients/jedis/pom.properties similarity index 100% rename from src/main/resources/pom.properties rename to src/main/resources/redis/clients/jedis/pom.properties