The GitHub Actions job "Validate and test" on pekko-grpc.git/fix/maven-protopaths-imports has succeeded. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: b4167cd98e328e2c57b28f6068a27a22817d5701 / 虎鸣 <[email protected]> fix: pass all protoPaths as -I import params to protoc in Maven plugin Motivation: When using Maven, only the current protoDir was passed as -I to protoc. This prevented proto files from importing definitions in other configured protoPaths (e.g. unpacked artifact dependencies). sbt and Gradle already supported this use case. Modification: Extract normalize helper and normalizedProtoPaths lazy val. Remove protoDir parameter from executeProtoc and instead pass all normalizedProtoPaths as -I include paths. Update Maven docs to document the artifact dependency workflow. Result: All configured protoPaths are now passed as -I to protoc, enabling proto imports from artifact dependencies in Maven builds. Tests: sbt "maven-plugin / compile" — success References: Fixes akka/akka-grpc#1300, Fixes akka/akka-grpc#686, Refs akka/akka-grpc#1768 Report URL: https://github.com/apache/pekko-grpc/actions/runs/28618346448 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
