|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <parent> |
| 8 | + <groupId>software.amazon.lambda.durable</groupId> |
| 9 | + <artifactId>aws-durable-execution-sdk-java-parent</artifactId> |
| 10 | + <version>1.1.1-SNAPSHOT</version> |
| 11 | + </parent> |
| 12 | + |
| 13 | + <artifactId>aws-durable-execution-sdk-java-otel</artifactId> |
| 14 | + <name>AWS Lambda Durable Execution SDK - OpenTelemetry Plugin</name> |
| 15 | + <description>OpenTelemetry instrumentation plugin for AWS Lambda Durable Execution SDK</description> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <opentelemetry.version>1.62.0</opentelemetry.version> |
| 19 | + </properties> |
| 20 | + |
| 21 | + <dependencies> |
| 22 | + <!-- Durable Execution SDK (for plugin interface) --> |
| 23 | + <dependency> |
| 24 | + <groupId>software.amazon.lambda.durable</groupId> |
| 25 | + <artifactId>aws-durable-execution-sdk-java</artifactId> |
| 26 | + <version>${project.version}</version> |
| 27 | + </dependency> |
| 28 | + |
| 29 | + <!-- OpenTelemetry API (compile dependency — users bring the SDK implementation) --> |
| 30 | + <dependency> |
| 31 | + <groupId>io.opentelemetry</groupId> |
| 32 | + <artifactId>opentelemetry-api</artifactId> |
| 33 | + <version>${opentelemetry.version}</version> |
| 34 | + </dependency> |
| 35 | + |
| 36 | + <!-- OpenTelemetry SDK (provided — users bring their own SDK configuration) --> |
| 37 | + <dependency> |
| 38 | + <groupId>io.opentelemetry</groupId> |
| 39 | + <artifactId>opentelemetry-sdk</artifactId> |
| 40 | + <version>${opentelemetry.version}</version> |
| 41 | + <scope>provided</scope> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <!-- OpenTelemetry Context (transitive from API, but explicit for clarity) --> |
| 45 | + <dependency> |
| 46 | + <groupId>io.opentelemetry</groupId> |
| 47 | + <artifactId>opentelemetry-context</artifactId> |
| 48 | + <version>${opentelemetry.version}</version> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + <!-- AWS X-Ray Propagator (official OTel contrib) --> |
| 52 | + <dependency> |
| 53 | + <groupId>io.opentelemetry.contrib</groupId> |
| 54 | + <artifactId>opentelemetry-aws-xray-propagator</artifactId> |
| 55 | + <version>1.56.0-alpha</version> |
| 56 | + </dependency> |
| 57 | + |
| 58 | + <!-- SLF4J for logging --> |
| 59 | + <dependency> |
| 60 | + <groupId>org.slf4j</groupId> |
| 61 | + <artifactId>slf4j-api</artifactId> |
| 62 | + </dependency> |
| 63 | + |
| 64 | + <!-- Test dependencies --> |
| 65 | + <dependency> |
| 66 | + <groupId>org.junit.jupiter</groupId> |
| 67 | + <artifactId>junit-jupiter</artifactId> |
| 68 | + <scope>test</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>io.opentelemetry</groupId> |
| 72 | + <artifactId>opentelemetry-sdk-testing</artifactId> |
| 73 | + <version>${opentelemetry.version}</version> |
| 74 | + <scope>test</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.mockito</groupId> |
| 78 | + <artifactId>mockito-core</artifactId> |
| 79 | + <scope>test</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>ch.qos.logback</groupId> |
| 83 | + <artifactId>logback-classic</artifactId> |
| 84 | + <version>1.5.18</version> |
| 85 | + <scope>test</scope> |
| 86 | + </dependency> |
| 87 | + </dependencies> |
| 88 | + |
| 89 | + <build> |
| 90 | + <plugins> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-compiler-plugin</artifactId> |
| 94 | + </plugin> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-surefire-plugin</artifactId> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>com.diffplug.spotless</groupId> |
| 101 | + <artifactId>spotless-maven-plugin</artifactId> |
| 102 | + </plugin> |
| 103 | + </plugins> |
| 104 | + </build> |
| 105 | +</project> |
0 commit comments