hudi-bot opened a new issue, #15909:
URL: https://github.com/apache/hudi/issues/15909

   when i build hudi source from root dir, it's ok.
   but when i build a certain module such as hudi-cli, it cause
   
    
   
   ```
   
   [INFO] — maven-checkstyle-plugin:3.0.0:check (default) @ hudi-cli —
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  01:46 min
   [INFO] Finished at: 2023-04-20T15:19:25+08:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (default) on 
project hudi-cli: Failed during checkstyle configuration: cannot initialize 
module TreeWalker - cannot initialize module ImportControl - illegal value 
'/Users/xxx/GitHub/hudi/hudi-cli/style/import-control.xml' for property 'file': 
com.puppycrawl.tools.checkstyle.api.CheckstyleException: Unable to find: 
/Users/xxx/GitHub/hudi/hudi-cli/style/import-control.xml -> [Help 1]
   
   ```
   
   The problem seems clear that import-control.xml is not found. because 
import-control.xml belongs to root style dir. 
   
   I have tried many submodules, they also have this problem. I wonder whether 
hudi design build like this or my individual error.
   
   My env is:
   
   mac os m1 pro. 13.2.1 
   
   jdk 8
   
   mvn 3.6.3
   
    
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-6111
   - Type: Bug
   - Fix version(s):
     - 1.1.0
   
   
   ---
   
   
   ## Comments
   
   02/May/23 20:15;guoyihua;Hi [~lemonjing] could you provide your mvn build 
command of building hudi-cli module?;;;
   
   ---
   
   04/May/23 01:57;taoran;hi. [~guoyihua]  my cmd is "mvn clean package 
-DskipTests". it works in hudi root dir and fails in all sub-modules.;;;
   
   ---
   
   21/Feb/24 09:39;wombatukun;Hi. If you want to build a certain module such as 
hudi-cli, try this command from hudi root: mvn clean package -DskipTests -pl 
hudi-cli -am;;;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to