From 81dd4bde55b97bbd4e9d3e21b3da154b396a4e74 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 22 May 2025 11:04:37 +0100 Subject: [PATCH] Add m2e hints for IDE --- samples/grpc-client/pom.xml | 1 + samples/grpc-oauth2/pom.xml | 1 + samples/grpc-reactive/pom.xml | 1 + samples/grpc-secure/pom.xml | 1 + samples/grpc-server-kotlin/pom.xml | 439 ++++++++++++----------- samples/grpc-server-netty-shaded/pom.xml | 1 + samples/grpc-server/pom.xml | 1 + samples/grpc-tomcat-secure/pom.xml | 1 + samples/grpc-tomcat/pom.xml | 1 + samples/grpc-webflux/pom.xml | 1 + 10 files changed, 229 insertions(+), 219 deletions(-) diff --git a/samples/grpc-client/pom.xml b/samples/grpc-client/pom.xml index 1b4b6cb..38e5790 100644 --- a/samples/grpc-client/pom.xml +++ b/samples/grpc-client/pom.xml @@ -127,6 +127,7 @@ + generate diff --git a/samples/grpc-oauth2/pom.xml b/samples/grpc-oauth2/pom.xml index 3886a76..d68cc62 100644 --- a/samples/grpc-oauth2/pom.xml +++ b/samples/grpc-oauth2/pom.xml @@ -138,6 +138,7 @@ + generate diff --git a/samples/grpc-reactive/pom.xml b/samples/grpc-reactive/pom.xml index 4d8df62..4a86be0 100644 --- a/samples/grpc-reactive/pom.xml +++ b/samples/grpc-reactive/pom.xml @@ -160,6 +160,7 @@ + generate diff --git a/samples/grpc-secure/pom.xml b/samples/grpc-secure/pom.xml index f76707e..69ff5b5 100644 --- a/samples/grpc-secure/pom.xml +++ b/samples/grpc-secure/pom.xml @@ -131,6 +131,7 @@ + generate diff --git a/samples/grpc-server-kotlin/pom.xml b/samples/grpc-server-kotlin/pom.xml index 9523d18..7b21e5a 100644 --- a/samples/grpc-server-kotlin/pom.xml +++ b/samples/grpc-server-kotlin/pom.xml @@ -1,227 +1,228 @@ - 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 3.4.5 - - - org.springframework.grpc - grpc-server-kotlin-sample - 0.9.0-SNAPSHOT - Spring gRPC Kotlin Server Sample - Demo project for Spring gRPC - - - - - - - - - - - - - - - 17 - 0.0.43 - 4.30.2 - 1.72.0 - 1.4.3 - 1.9.22 - - - - - org.springframework.grpc - spring-grpc-dependencies - 0.9.0-SNAPSHOT - pom - import - - - - - - org.springframework.grpc - spring-grpc-spring-boot-starter - - - org.jetbrains.kotlinx - kotlinx-coroutines-core - - - io.grpc - grpc-kotlin-stub - ${grpc.kotlin.version} - - - io.grpc - grpc-services - - - org.springframework.boot - spring-boot-starter-actuator - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.5 + + + org.springframework.grpc + grpc-server-kotlin-sample + 0.9.0-SNAPSHOT + Spring gRPC Kotlin Server Sample + Demo project for Spring gRPC + + + + + + + + + + + + + + + 17 + 0.0.43 + 4.30.2 + 1.72.0 + 1.4.3 + 1.9.22 + + + + + org.springframework.grpc + spring-grpc-dependencies + 0.9.0-SNAPSHOT + pom + import + + + + + + org.springframework.grpc + spring-grpc-spring-boot-starter + + + org.jetbrains.kotlinx + kotlinx-coroutines-core + + + io.grpc + grpc-kotlin-stub + ${grpc.kotlin.version} + + + io.grpc + grpc-services + + + org.springframework.boot + spring-boot-starter-actuator + - - - io.netty - netty-transport-native-epoll - linux-x86_64 - test - - - org.springframework.grpc - spring-grpc-test - test - - + + + io.netty + netty-transport-native-epoll + linux-x86_64 + test + + + org.springframework.grpc + spring-grpc-test + test + + - - src/main/kotlin - - - kr.motd.maven - os-maven-plugin - 1.7.1 - - - - - org.jetbrains.kotlin - kotlin-maven-plugin - ${kotlin.version} - - - compile - - compile - - - - test-compile - - test-compile - - - - - - org.graalvm.buildtools - native-maven-plugin - - - --verbose - - - - - org.springframework.boot - spring-boot-maven-plugin - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - io.spring.javaformat - spring-javaformat-maven-plugin - ${spring-javaformat-maven-plugin.version} - - - - validate - true - - validate - - - - - - io.github.ascopes - protobuf-maven-plugin - 3.1.2 - - ${protobuf-java.version} - - - io.grpc - protoc-gen-grpc-java - ${grpc.version} - ${os.detected.classifier} - jakarta_omit,@generated=omit - - - - - io.grpc - protoc-gen-grpc-kotlin - ${grpc.kotlin.version} - jdk8 - jar - io.grpc.kotlin.generator.GeneratorRunner - jakarta_omit,@generated=omit - - - - - - - generate - - - - + + src/main/kotlin + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + + + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + + + compile + + compile + + + + test-compile + + test-compile + + + + + + org.graalvm.buildtools + native-maven-plugin + + + --verbose + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + io.spring.javaformat + spring-javaformat-maven-plugin + ${spring-javaformat-maven-plugin.version} + + + + validate + true + + validate + + + + + + io.github.ascopes + protobuf-maven-plugin + 3.1.2 + + ${protobuf-java.version} + + + io.grpc + protoc-gen-grpc-java + ${grpc.version} + ${os.detected.classifier} + jakarta_omit,@generated=omit + + + + + io.grpc + protoc-gen-grpc-kotlin + ${grpc.kotlin.version} + jdk8 + jar + io.grpc.kotlin.generator.GeneratorRunner + jakarta_omit,@generated=omit + + + + + + + + generate + + + + - - + + - - - spring-milestones - Spring Milestones - https://repo.spring.io/milestone - - false - - - - spring-snapshots - Spring Snapshots - https://repo.spring.io/snapshot - - false - - - - - - spring-milestones - Spring Milestones - https://repo.spring.io/milestone - - false - - - - spring-snapshots - Spring Snapshots - https://repo.spring.io/snapshot - - false - - - + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + - + \ No newline at end of file diff --git a/samples/grpc-server-netty-shaded/pom.xml b/samples/grpc-server-netty-shaded/pom.xml index ba1a86f..367954a 100644 --- a/samples/grpc-server-netty-shaded/pom.xml +++ b/samples/grpc-server-netty-shaded/pom.xml @@ -128,6 +128,7 @@ + generate diff --git a/samples/grpc-server/pom.xml b/samples/grpc-server/pom.xml index 1b90210..cb1ef71 100644 --- a/samples/grpc-server/pom.xml +++ b/samples/grpc-server/pom.xml @@ -134,6 +134,7 @@ + generate diff --git a/samples/grpc-tomcat-secure/pom.xml b/samples/grpc-tomcat-secure/pom.xml index 4b1ab9a..110cfcd 100644 --- a/samples/grpc-tomcat-secure/pom.xml +++ b/samples/grpc-tomcat-secure/pom.xml @@ -126,6 +126,7 @@ + generate diff --git a/samples/grpc-tomcat/pom.xml b/samples/grpc-tomcat/pom.xml index 6806f2e..b179a3e 100644 --- a/samples/grpc-tomcat/pom.xml +++ b/samples/grpc-tomcat/pom.xml @@ -131,6 +131,7 @@ + generate diff --git a/samples/grpc-webflux/pom.xml b/samples/grpc-webflux/pom.xml index 84f60eb..99fbd2b 100644 --- a/samples/grpc-webflux/pom.xml +++ b/samples/grpc-webflux/pom.xml @@ -126,6 +126,7 @@ + generate