This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a commit to branch custos-signer
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
The following commit(s) were added to refs/heads/custos-signer by this push:
new b08d84edd fix protobuf stubs generation issues
b08d84edd is described below
commit b08d84edd9a8b5f7e68eeaa7c3bc815a02130f5e
Author: lahiruj <[email protected]>
AuthorDate: Mon Dec 1 10:28:45 2025 -0500
fix protobuf stubs generation issues
---
access-ci-service/pom.xml | 1 +
core/pom.xml | 20 ++++++++++++++++++++
signer/signer-service/pom.xml | 6 ++----
3 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/access-ci-service/pom.xml b/access-ci-service/pom.xml
index cc79ef6d9..d253a1a91 100644
--- a/access-ci-service/pom.xml
+++ b/access-ci-service/pom.xml
@@ -170,6 +170,7 @@
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/protobuf/java</source>
+
<source>${project.build.directory}/generated-sources/protobuf/grpc-java</source>
</sources>
</configuration>
</execution>
diff --git a/core/pom.xml b/core/pom.xml
index 87d5ef4af..370c3fc42 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -81,6 +81,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>${maven.build.helper.plugin}</version>
+ <executions>
+ <execution>
+ <id>add-generated-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+
<source>${project.build.directory}/generated-sources/protobuf/java</source>
+
<source>${project.build.directory}/generated-sources/protobuf/grpc-java</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/signer/signer-service/pom.xml b/signer/signer-service/pom.xml
index 464171868..4ec113223 100644
--- a/signer/signer-service/pom.xml
+++ b/signer/signer-service/pom.xml
@@ -194,11 +194,9 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf.maven.plugin}</version>
<configuration>
-
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
- </protocArtifact>
+
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${io.grpc.version}:exe:${os.detected.classifier}
- </pluginArtifact>
+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${io.grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
<executions>
<execution>