147 lines
4.8 KiB
XML
147 lines
4.8 KiB
XML
<?xml version="1.0"?>
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.demo</groupId>
|
|
<artifactId>otel-quarkus-demo</artifactId>
|
|
<version>1.0.0</version>
|
|
|
|
<properties>
|
|
<compiler-plugin.version>3.13.0</compiler-plugin.version>
|
|
<maven.compiler.release>21</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<quarkus.platform.version>3.35.1</quarkus.platform.version>
|
|
<quarkiverse-micrometer-registry.version>3.5.0</quarkiverse-micrometer-registry.version>
|
|
<clean-plugin.version>3.4.0</clean-plugin.version>
|
|
<resources-plugin.version>3.3.1</resources-plugin.version>
|
|
<jar-plugin.version>3.4.2</jar-plugin.version>
|
|
<install-plugin.version>3.1.3</install-plugin.version>
|
|
<deploy-plugin.version>3.1.3</deploy-plugin.version>
|
|
<surefire-plugin.version>3.5.1</surefire-plugin.version>
|
|
<failsafe-plugin.version>3.5.1</failsafe-plugin.version>
|
|
<site-plugin.version>3.21.0</site-plugin.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.quarkus.platform</groupId>
|
|
<artifactId>quarkus-bom</artifactId>
|
|
<version>${quarkus.platform.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- REST -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-rest</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-rest-jackson</artifactId>
|
|
</dependency>
|
|
|
|
<!-- OpenTelemetry — traces + metrics + logs via OTLP -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-opentelemetry</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Micrometer with Prometheus registry (for /q/metrics scrape endpoint) -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-micrometer-registry-prometheus</artifactId>
|
|
</dependency>
|
|
|
|
<!-- OTLP exporter for micrometer metrics (pushed via OTel) -->
|
|
<dependency>
|
|
<groupId>io.quarkiverse.micrometer.registry</groupId>
|
|
<artifactId>quarkus-micrometer-registry-otlp</artifactId>
|
|
<version>${quarkiverse-micrometer-registry.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JSON structured console logging -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-logging-json</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Health checks -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-smallrye-health</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Container image build -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-container-image-jib</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>${clean-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${resources-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${compiler-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${failsafe-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${jar-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>${install-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>${deploy-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${site-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>io.quarkus.platform</groupId>
|
|
<artifactId>quarkus-maven-plugin</artifactId>
|
|
<version>${quarkus.platform.version}</version>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build</goal>
|
|
<goal>generate-code</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|