Skip to content

Commit 4ba2882

Browse files
updates docker and library dependencies to the latest version (#224)
Signed-off-by: Adrian Cole <[email protected]> Co-authored-by: Andriy Redko <[email protected]>
1 parent c30ef2f commit 4ba2882

File tree

15 files changed

+217
-165
lines changed

15 files changed

+217
-165
lines changed

.github/workflows/security.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: security
33

44
# We don't scan documentation-only commits.
55
on: # yamllint disable-line rule:truthy
6+
workflow_dispatch: # trigger ad-hoc runs of this action
67
push: # non-tagged pushes to master
78
branches:
89
- master

.mvn/wrapper/maven-wrapper.jar

481 Bytes
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
wrapperVersion=3.3.2
18+
distributionType=bin
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
20+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar

aws-junit/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<!-- CVE fix versions -->
2525
<!-- TODO: considering switching to something that doesn't use scala, such
2626
as testcontainers+localstack, as CVEs are common here. -->
27-
<scala.version>2.13.14</scala.version>
27+
<scala.version>2.13.16</scala.version>
2828

2929
<!-- Only used in this repo's tests, which use floor JDK 17 -->
3030
<maven.compiler.source>17</maven.compiler.source>
@@ -64,7 +64,7 @@
6464
<dependency>
6565
<groupId>org.elasticmq</groupId>
6666
<artifactId>elasticmq-server_2.13</artifactId>
67-
<version>1.6.1</version>
67+
<version>1.6.11</version>
6868
<exclusions>
6969
<exclusion>
7070
<groupId>ch.qos.logback</groupId>

brave/instrumentation-aws-java-sdk-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<dependency>
6969
<groupId>uk.org.webcompere</groupId>
7070
<artifactId>system-stubs-jupiter</artifactId>
71-
<version>2.1.6</version>
71+
<version>2.1.7</version>
7272
<scope>test</scope>
7373
</dependency>
7474
</dependencies>

build-bin/docker-compose-zipkin-aws-unauthenticated.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
# TODO: this will pass because X-Ray just sends UDP at the moment.
44
# Authenticate and use the other modules: sqs,kinesis,elasticsearch
55

6-
# Use fixed service and container name 'sut; so our test script can copy/pasta
6+
# Use fixed service and container name sut; so our test script can copy/pasta
77
sut:
88
# This is the image just built. It is not in a remote repository.
99
image: openzipkin/zipkin-aws:test

build-bin/maven/maven_unjar

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fi
5858

5959
if ! test -f ${artifact_id}.jar && [ ${is_release} = "true" ]; then
6060
mvn_get="mvn -q --batch-mode -Denforcer.fail=false \
61-
org.apache.maven.plugins:maven-dependency-plugin:3.6.1:get \
61+
org.apache.maven.plugins:maven-dependency-plugin:3.8.1:get \
6262
-Dtransitive=false -DgroupId=${group_id} -DartifactId=${artifact_id} -Dversion=${version}"
6363

6464
if [ -n "${classifier}" ]; then

collector/kinesis/pom.xml

+16-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
<maven.compiler.source>17</maven.compiler.source>
2626
<maven.compiler.target>17</maven.compiler.target>
2727
<maven.compiler.release>17</maven.compiler.release>
28+
29+
<!-- Avoid CVEs in kinesis deps -->
30+
<protobuf.version>3.25.5</protobuf.version>
2831
</properties>
2932

3033
<dependencies>
@@ -38,7 +41,19 @@
3841
<dependency>
3942
<groupId>com.amazonaws</groupId>
4043
<artifactId>amazon-kinesis-client</artifactId>
41-
<version>1.15.1</version>
44+
<version>1.15.2</version>
45+
<exclusions>
46+
<exclusion>
47+
<groupId>com.google.protobuf</groupId>
48+
<artifactId>protobuf-java</artifactId>
49+
</exclusion>
50+
</exclusions>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>com.google.protobuf</groupId>
55+
<artifactId>protobuf-java</artifactId>
56+
<version>${protobuf.version}</version>
4257
</dependency>
4358

4459
<dependency>

collector/sqs/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>javax.xml.bind</groupId>
4444
<artifactId>jaxb-api</artifactId>
45-
<version>2.2.12</version>
45+
<version>2.3.1</version>
4646
<scope>provided</scope>
4747
</dependency>
4848

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
#
55

66
# zipkin version should match zipkin.version in /pom.xml
7-
ARG zipkin_version=3.4.0
7+
ARG zipkin_version=3.5.0
88

99
# java_version is used during the installation process to build or download the module jar.
1010
#
1111
# Use latest version here: https://github.com/orgs/openzipkin/packages/container/package/java
1212
# This is defined in many places because Docker has no "env" script functionality unless you use
1313
# docker-compose: When updating, update everywhere.
14-
ARG java_version=21.0.3_p9
14+
ARG java_version=21.0.6_p7
1515

1616
# We copy files from the context into a scratch container first to avoid a problem where docker and
1717
# docker-compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.

module/pom.xml

+8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828

2929
<dependencyManagement>
3030
<dependencies>
31+
<!-- Avoid CVEs in armeria deps -->
32+
<dependency>
33+
<groupId>io.netty</groupId>
34+
<artifactId>netty-bom</artifactId>
35+
<version>${netty.version}</version>
36+
<type>pom</type>
37+
<scope>import</scope>
38+
</dependency>
3139
<dependency>
3240
<groupId>com.fasterxml.jackson.dataformat</groupId>
3341
<artifactId>jackson-dataformat-cbor</artifactId>

0 commit comments

Comments
 (0)