Skip to content

Commit 45b976e

Browse files
committed
exclude dependencies that are already shaded
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent ab0a906 commit 45b976e

File tree

2 files changed

+32
-0
lines changed
  • prometheus-metrics-exporter-opentelemetry-shaded
  • prometheus-metrics-exposition-formats-shaded

2 files changed

+32
-0
lines changed

prometheus-metrics-exporter-opentelemetry-shaded/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,32 @@
2626
<groupId>io.prometheus</groupId>
2727
<artifactId>prometheus-metrics-exporter-opentelemetry-no-otel</artifactId>
2828
<version>${project.version}</version>
29+
<exclusions>
30+
<exclusion>
31+
<groupId>io.opentelemetry</groupId>
32+
<artifactId>opentelemetry-api</artifactId>
33+
</exclusion>
34+
<exclusion>
35+
<groupId>io.opentelemetry</groupId>
36+
<artifactId>opentelemetry-sdk</artifactId>
37+
</exclusion>
38+
<exclusion>
39+
<groupId>io.opentelemetry</groupId>
40+
<artifactId>opentelemetry-exporter-otlp</artifactId>
41+
</exclusion>
42+
<exclusion>
43+
<groupId>io.opentelemetry</groupId>
44+
<artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId>
45+
</exclusion>
46+
<exclusion>
47+
<groupId>io.opentelemetry</groupId>
48+
<artifactId>opentelemetry-sdk-extension-incubator</artifactId>
49+
</exclusion>
50+
<exclusion>
51+
<groupId>io.opentelemetry.instrumentation</groupId>
52+
<artifactId>opentelemetry-resources</artifactId>
53+
</exclusion>
54+
</exclusions>
2955
</dependency>
3056
</dependencies>
3157

prometheus-metrics-exposition-formats-shaded/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
<groupId>io.prometheus</groupId>
2828
<artifactId>prometheus-metrics-exposition-formats-no-protobuf</artifactId>
2929
<version>${project.version}</version>
30+
<exclusions>
31+
<exclusion>
32+
<groupId>com.google.protobuf</groupId>
33+
<artifactId>protobuf-java</artifactId>
34+
</exclusion>
35+
</exclusions>
3036
</dependency>
3137
</dependencies>
3238

0 commit comments

Comments
 (0)