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

[camel-quarkus-examples] 05/09: Add temporary profile to handle quarkus-opentelemetry-exporter-otlp removal in Quarkus 999-SNAPSHOT

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

zbendhiba pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 4b96898c4bc5a3034fc547cc6c057814805bb129
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Nov 1 07:35:27 2022 +0000

    Add temporary profile to handle quarkus-opentelemetry-exporter-otlp removal in Quarkus 999-SNAPSHOT
---
 observability/pom.xml | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/observability/pom.xml b/observability/pom.xml
index 8496119..8ded59b 100644
--- a/observability/pom.xml
+++ b/observability/pom.xml
@@ -106,10 +106,6 @@
             <groupId>io.opentelemetry</groupId>
             <artifactId>opentelemetry-exporter-logging</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.quarkus</groupId>
-            <artifactId>quarkus-opentelemetry-exporter-otlp</artifactId>
-        </dependency>
         <dependency>
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
@@ -428,6 +424,21 @@
                 </dependency>
             </dependencies>
         </profile>
+        <!-- TODO: https://github.com/apache/camel-quarkus/issues/4231 -->
+        <profile>
+            <id>not-quarkus-snapshots</id>
+            <activation>
+                <property>
+                    <name>quarkus.platform.version</name>
+                    <value>!999-SNAPSHOT</value>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>io.quarkus</groupId>
+                    <artifactId>quarkus-opentelemetry-exporter-otlp</artifactId>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
-
 </project>