mirror of
https://github.com/apache/nifi.git
synced 2025-03-06 09:29:33 +00:00
NIFI-8066: Bump GRPC dependency versions (#4716)
This commit is contained in:
parent
0af736dc0b
commit
8d2fd39bdb
@ -38,32 +38,32 @@ language governing permissions and limitations under the License. -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.9</version>
|
||||
<version>3.11</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>2.8.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-netty</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>${grpc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-protobuf</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>${grpc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-stub</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>${grpc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
||||
<version>2.0.7.Final</version>
|
||||
<version>2.0.35.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
@ -76,18 +76,13 @@ language governing permissions and limitations under the License. -->
|
||||
<artifactId>nifi-ssl-context-service</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>kr.motd.maven</groupId>
|
||||
<artifactId>os-maven-plugin</artifactId>
|
||||
<version>1.5.0.Final</version>
|
||||
<version>1.6.2</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
|
||||
@ -102,11 +97,11 @@ language governing permissions and limitations under the License. -->
|
||||
<plugin>
|
||||
<groupId>org.xolstice.maven.plugins</groupId>
|
||||
<artifactId>protobuf-maven-plugin</artifactId>
|
||||
<version>0.5.1</version>
|
||||
<version>0.6.1</version>
|
||||
<configuration>
|
||||
<protocArtifact>com.google.protobuf:protoc:3.5.0:exe:${os.detected.classifier}</protocArtifact>
|
||||
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
|
||||
<pluginId>grpc-java</pluginId>
|
||||
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.8.0:exe:${os.detected.classifier}</pluginArtifact>
|
||||
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
||||
<protoSourceRoot>${basedir}/src/main/resources/proto</protoSourceRoot>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
@ -268,7 +268,7 @@ public class InvokeGRPC extends AbstractProcessor {
|
||||
nettyChannelBuilder.sslContext(sslContextBuilder.build());
|
||||
|
||||
} else {
|
||||
nettyChannelBuilder.usePlaintext(true);
|
||||
nettyChannelBuilder.usePlaintext();
|
||||
}
|
||||
|
||||
final ManagedChannel channel = nettyChannelBuilder.build();
|
||||
|
@ -125,7 +125,7 @@ public class TestGRPCClient {
|
||||
sslContextBuilder = GrpcSslContexts.configure(sslContextBuilder);
|
||||
channelBuilder = channelBuilder.sslContext(sslContextBuilder.build());
|
||||
} else {
|
||||
channelBuilder.usePlaintext(true);
|
||||
channelBuilder.usePlaintext();
|
||||
}
|
||||
return channelBuilder.build();
|
||||
}
|
||||
|
@ -22,7 +22,6 @@
|
||||
<version>1.13.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
<artifactId>nifi-grpc-bundle</artifactId>
|
||||
<version>1.13.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
@ -33,6 +32,11 @@
|
||||
<module>nifi-grpc-nar</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<grpc.version>1.34.0</grpc.version>
|
||||
<protoc.version>3.14.0</protoc.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
Loading…
x
Reference in New Issue
Block a user