You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2019/10/11 12:29:10 UTC

[camel] branch master updated: CAMEL-14057: Update resource path for camel context version retrieval

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 1060c10  CAMEL-14057: Update resource path for camel context version retrieval
1060c10 is described below

commit 1060c10ecdcc343477b796d44e3fd0c53d704842
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Oct 11 13:22:48 2019 +0100

    CAMEL-14057: Update resource path for camel context version retrieval
---
 .../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index 7d81b11..f9813e4 100644
--- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -2191,7 +2191,7 @@ public abstract class AbstractCamelContext extends ServiceSupport implements Ext
         // try to load from maven properties first
         try {
             Properties p = new Properties();
-            is = getClass().getResourceAsStream("/META-INF/maven/org.apache.camel/camel-core/pom.properties");
+            is = getClass().getResourceAsStream("/META-INF/maven/org.apache.camel/camel-base/pom.properties");
             if (is != null) {
                 p.load(is);
                 version = p.getProperty("version", "");