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

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

commit 200007e5b74cccddc32998821381c73d931dfcd8
Author: James Netherton <jamesnether...@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>

Reply via email to