Skip to content

Commit

Permalink
fix: examples/agent/pom.xml to reduce vulnerabilities (#142)
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMSQUAREUPOKHTTP3-2958044
  • Loading branch information
snyk-bot authored Nov 29, 2022
1 parent 08bb908 commit bb21757
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.9</version>
<version>4.9.2</version>
</dependency>

<!-- These dependencies are only needed to add manual instrumentation;
Expand Down Expand Up @@ -70,8 +70,7 @@
</filters>
<outputFile>${project.build.directory}/${project.artifactId}.jar</outputFile>
<transformers>
<transformer implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.lightstep.opentelemetry.launcher.example.App</mainClass>
</transformer>
</transformers>
Expand Down

0 comments on commit bb21757

Please sign in to comment.