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

davsclaus pushed a commit to branch camel-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.4.x by this push:
     new e8b7c292af9 Fix command `camel jolokia` fails to attach JVM agent 
(#13586)
e8b7c292af9 is described below

commit e8b7c292af9c10be0a5bbb3c1d06c4ad33ea75c0
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Fri Mar 22 16:20:42 2024 +0900

    Fix command `camel jolokia` fails to attach JVM agent (#13586)
    
    It failed with "Failed to find Agent-Class manifest attribute from 
.../jolokia-agent-jvm-2.0.2.jar"
    since Jolokia upgrade to 2.0.x.
---
 dsl/camel-jbang/camel-jbang-core/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dsl/camel-jbang/camel-jbang-core/pom.xml 
b/dsl/camel-jbang/camel-jbang-core/pom.xml
index ceb670c15ac..44d5f741c9c 100644
--- a/dsl/camel-jbang/camel-jbang-core/pom.xml
+++ b/dsl/camel-jbang/camel-jbang-core/pom.xml
@@ -92,6 +92,7 @@
             <groupId>org.jolokia</groupId>
             <artifactId>jolokia-agent-jvm</artifactId>
             <version>${jolokia-version}</version>
+            <classifier>javaagent</classifier>
         </dependency>
         <!-- servlet for launching hawtio -->
         <dependency>

Reply via email to