claudio4j commented on code in PR #1161:
URL: https://github.com/apache/camel-k-runtime/pull/1161#discussion_r1474334868
##########
support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java:
##########
@@ -524,23 +525,26 @@ private void addCapabilities(RuntimeSpec.Builder
runtimeSpec, CamelCatalogSpec.B
artifacts.clear();
artifacts.add(Artifact.from("org.apache.camel.quarkus",
"camel-quarkus-management"));
artifacts.add(Artifact.from("org.apache.camel.quarkus",
"camel-quarkus-jaxb"));
- artifacts.add(Artifact.from("org.jolokia", "jolokia-jvm"));
- addCapabilityAndDependecies(runtimeSpec, catalogSpec, "jolokia",
artifacts, false);
+ artifacts.add(Artifact.from("org.jolokia", "jolokia-agent-jvm",
"javaagent"));
Review Comment:
The main artifact is the `jolokia-agent-jvm`, the other dependencies comes
transitively from the dependency defined in the camel-k-runtime-bom
The resolved classpath contains the relevant artifacts
```
org.jolokia.jolokia-agent-jvm-2.0.0-javaagent.jar
org.jolokia.jolokia-server-detector-2.0.0.jar
org.jolokia.jolokia-service-discovery-2.0.0.jar
org.jolokia.jolokia-service-history-2.0.0.jar
org.jolokia.jolokia-service-jmx-2.0.0.jar
org.jolokia.jolokia-service-jsr160-2.0.0.jar
org.jolokia.jolokia-service-notif-pull-2.0.0.jar
org.jolokia.jolokia-service-notif-sse-2.0.0.jar
org.jolokia.jolokia-service-serializer-2.0.0.jar
org.apache.camel.camel-management-4.2.0.jar
org.apache.camel.camel-management-api-4.2.0.jar
org.apache.camel.quarkus.camel-quarkus-management-3.6.0.jar
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]