Skip to content

Commit 0004a21

Browse files
committed
Fix OpenTelemetry agent configuration
1 parent 26ac576 commit 0004a21

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</parent>
1212

1313
<artifactId>shared-resources</artifactId>
14-
<version>4.0.0-alpha3</version>
14+
<version>4.0.0-alpha4</version>
1515
<packaging>jar</packaging>
1616

1717
<name>Java shared resources</name>
@@ -80,8 +80,8 @@
8080
<version>3.6.1</version>
8181
<executions>
8282
<execution>
83-
<id>copy-opentelemetry-javaagent</id>
84-
<phase>process-resources</phase>
83+
<id>copy-opentelemetry-javaagent-to-resources</id>
84+
<phase>generate-resources</phase>
8585
<goals>
8686
<goal>copy</goal>
8787
</goals>
@@ -93,7 +93,7 @@
9393
<version>${opentelemetry.javaagent.version}</version>
9494
<type>jar</type>
9595
<overWrite>true</overWrite>
96-
<outputDirectory>${project.build.directory}/classes</outputDirectory>
96+
<outputDirectory>${project.basedir}/src/main/resources</outputDirectory>
9797
<destFileName>opentelemetry-javaagent.jar</destFileName>
9898
</artifactItem>
9999
</artifactItems>

0 commit comments

Comments
 (0)