Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
TQJADE committed Aug 21, 2024
1 parent f282c08 commit cee8f55
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<properties>
<sbt.project.name>core</sbt.project.name>
<opentelemetry.exclude>**/*Opentelemetry*.scala</opentelemetry.exclude>
</properties>

<dependencies>
Expand Down Expand Up @@ -618,23 +619,44 @@
</profile>
<profile>
<id>opentelemetry-reporter</id>
<properties>
<opentelemetry.exclude></opentelemetry.exclude>
</properties>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
<version>1.41.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
<version>1.41.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-otlp</artifactId>
<version>1.41.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>${opentelemetry.exclude}</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>sparkr</id>
Expand Down Expand Up @@ -720,24 +742,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/scala/org.apache.spark/metrics/sink/opentelemetry</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit cee8f55

Please sign in to comment.