You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by wa...@apache.org on 2025/01/22 07:09:55 UTC

(incubator-pegasus) branch master updated: fix(java-client): package `org.apache.pegasus.utils` does not exist while building java client (#2187)

This is an automated email from the ASF dual-hosted git repository.

wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new 22222303f fix(java-client): package `org.apache.pegasus.utils` does not exist while building java client (#2187)
22222303f is described below

commit 22222303fa12eb0974d98ed3f33b607271f76716
Author: Dan Wang <wa...@apache.org>
AuthorDate: Wed Jan 22 15:09:51 2025 +0800

    fix(java-client): package `org.apache.pegasus.utils` does not exist while building java client (#2187)
    
    Fix https://github.com/apache/incubator-pegasus/issues/2188.
    
    `idl/utils.thrift` was introduced before and has not been added into java client
    to generate necessary source files which make workflow for building failed. It
    should also be excluded from spotless check just like what have been done for
    other thrift files, since the check would fail due to code style.
---
 java-client/pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/java-client/pom.xml b/java-client/pom.xml
index 14afe2250..82a12fbb6 100644
--- a/java-client/pom.xml
+++ b/java-client/pom.xml
@@ -427,6 +427,7 @@
             <excludes>
               <exclude>src/main/java/org/apache/pegasus/apps/*</exclude>
               <exclude>src/main/java/org/apache/pegasus/replication/*</exclude>
+              <exclude>src/main/java/org/apache/pegasus/utils/*</exclude>
             </excludes>
             <googleJavaFormat>
               <version>1.7</version>
@@ -487,6 +488,7 @@
             <include>partition_split.thrift</include>
             <include>rrdb.thrift</include>
             <include>security.thrift</include>
+            <include>utils.thrift</include>
           </includes>
           <thriftExecutable>thrift</thriftExecutable>
           <outputDirectory>${project.basedir}/src/main/java</outputDirectory>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org