Skip to content

Commit 75012a5

Browse files
authoredAug 13, 2024··
examples: Upgrade Maven plugin versions
Upgrade Maven to 3.8.8, the oldest supported version, as the plugins required a newer version.
1 parent d584044 commit 75012a5

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed
 

‎buildscripts/grpc-java-artifacts/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ RUN mkdir -p "$ANDROID_HOME/cmdline-tools" && \
2828
yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --licenses
2929

3030
# Install Maven
31-
RUN curl -Ls https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.tar.gz | \
31+
RUN curl -Ls https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz | \
3232
tar xz -C /var/local
33-
ENV PATH /var/local/apache-maven-3.3.9/bin:$PATH
33+
ENV PATH /var/local/apache-maven-3.8.8/bin:$PATH

‎examples/example-debug/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<plugin>
9999
<groupId>org.apache.maven.plugins</groupId>
100100
<artifactId>maven-enforcer-plugin</artifactId>
101-
<version>1.4.1</version>
101+
<version>3.5.0</version>
102102
<executions>
103103
<execution>
104104
<id>enforce</id>

‎examples/example-dualstack/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<plugin>
103103
<groupId>org.apache.maven.plugins</groupId>
104104
<artifactId>maven-enforcer-plugin</artifactId>
105-
<version>1.4.1</version>
105+
<version>3.5.0</version>
106106
<executions>
107107
<execution>
108108
<id>enforce</id>

‎examples/example-gauth/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<plugin>
9797
<groupId>org.apache.maven.plugins</groupId>
9898
<artifactId>maven-enforcer-plugin</artifactId>
99-
<version>1.4.1</version>
99+
<version>3.5.0</version>
100100
<executions>
101101
<execution>
102102
<id>enforce</id>

‎examples/example-hostname/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<plugin>
9999
<groupId>org.apache.maven.plugins</groupId>
100100
<artifactId>maven-enforcer-plugin</artifactId>
101-
<version>1.4.1</version>
101+
<version>3.5.0</version>
102102
<executions>
103103
<execution>
104104
<id>enforce</id>

‎examples/example-jwt-auth/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<plugin>
9595
<groupId>org.xolstice.maven.plugins</groupId>
9696
<artifactId>protobuf-maven-plugin</artifactId>
97-
<version>0.5.1</version>
97+
<version>0.6.1</version>
9898
<configuration>
9999
<protocArtifact>
100100
com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}
@@ -116,7 +116,7 @@
116116
<plugin>
117117
<groupId>org.apache.maven.plugins</groupId>
118118
<artifactId>maven-enforcer-plugin</artifactId>
119-
<version>1.4.1</version>
119+
<version>3.5.0</version>
120120
<executions>
121121
<execution>
122122
<id>enforce</id>

‎examples/example-oauth/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<plugin>
100100
<groupId>org.xolstice.maven.plugins</groupId>
101101
<artifactId>protobuf-maven-plugin</artifactId>
102-
<version>0.5.1</version>
102+
<version>0.6.1</version>
103103
<configuration>
104104
<protocArtifact>
105105
com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}
@@ -121,7 +121,7 @@
121121
<plugin>
122122
<groupId>org.apache.maven.plugins</groupId>
123123
<artifactId>maven-enforcer-plugin</artifactId>
124-
<version>1.4.1</version>
124+
<version>3.5.0</version>
125125
<executions>
126126
<execution>
127127
<id>enforce</id>

‎examples/example-tls/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-enforcer-plugin</artifactId>
85-
<version>1.4.1</version>
85+
<version>3.5.0</version>
8686
<executions>
8787
<execution>
8888
<id>enforce</id>

‎examples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<plugin>
111111
<groupId>org.apache.maven.plugins</groupId>
112112
<artifactId>maven-enforcer-plugin</artifactId>
113-
<version>1.4.1</version>
113+
<version>3.5.0</version>
114114
<executions>
115115
<execution>
116116
<id>enforce</id>

0 commit comments

Comments
 (0)
Please sign in to comment.