| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>components</artifactId> |
| <version>4.9.0</version> |
| </parent> |
| |
| <artifactId>camel-opentelemetry</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: OpenTelemetry</name> |
| <description>Distributed tracing using OpenTelemetry</description> |
| |
| <properties> |
| <firstVersion>3.5.0</firstVersion> |
| <label>monitoring,microservice</label> |
| <title>OpenTelemetry</title> |
| <opentracing-agent.lib>${project.build.directory}/lib</opentracing-agent.lib> |
| |
| <camel.surefire.reuseForks>true</camel.surefire.reuseForks> |
| <camel.surefire.forkCount>1</camel.surefire.forkCount> |
| <camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout> |
| <camel.surefire.parallel>true</camel.surefire.parallel> |
| <camel.surefire.parallel.factor>0.5</camel.surefire.parallel.factor> |
| <camel.surefire.fork.additional-vmargs>-Xmx1G</camel.surefire.fork.additional-vmargs> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-bom-alpha</artifactId> |
| <version>1.44.1-alpha</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-semconv</artifactId> |
| <version>${opentelemetry-alpha-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry.instrumentation</groupId> |
| <artifactId>opentelemetry-log4j-appender-2.17</artifactId> |
| <version>${opentelemetry-log4j2-version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-support</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-tracing</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-netty-shaded</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-sdk</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-context</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-semconv</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-spring-junit5</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-sdk-testing</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry</groupId> |
| <artifactId>opentelemetry-sdk-extension-incubator</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.opentelemetry.instrumentation</groupId> |
| <artifactId>opentelemetry-log4j-appender-2.17</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <version>${awaitility-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit-pioneer</groupId> |
| <artifactId>junit-pioneer</artifactId> |
| <version>${junit-pioneer-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cxf-rest</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cxf-common</artifactId> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-transports-http-undertow</artifactId> |
| <version>${cxf-version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>io.undertow</groupId> |
| <artifactId>undertow-servlet</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.undertow</groupId> |
| <artifactId>undertow-servlet-jakarta</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.undertow</groupId> |
| <artifactId>undertow-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-undertow</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>full</id> |
| <activation> |
| <property> |
| <name>!quickly</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <excludedGroups>not-parallel</excludedGroups> |
| </configuration> |
| </execution> |
| <execution> |
| <id>serials-test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <forkCount>4</forkCount> |
| <groups>not-parallel</groups> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |