Skip to content

Commit

Permalink
Move pom.properties file into redis.clients.jedis package (#3589)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Oct 19, 2023
1 parent ec5e417 commit 92c9a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/redis/clients/jedis/util/JedisMetaInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
File renamed without changes.

0 comments on commit 92c9a60

Please sign in to comment.