xugaopeng0 opened a new issue, #11563:
URL: https://github.com/apache/rocketmq/issues/11563

   ### Search before creation
   
   - [x] I searched for an existing report about the missing submodule step in 
the command-line quick starts.
   
   ### Documentation Related
   
   The English and Chinese Controller and DLedger quick starts on `develop` 
still show a plain `git clone` followed by a Maven build. A plain clone leaves 
`rocketmq-apis` uninitialized. The [IntelliJ IDEA 
guide](https://github.com/apache/rocketmq/blob/28960fd2f795a6903665c3d6c037501059df0760/dev/idea/README.md#prepare-the-project-once)
 already documents the required setup.
   
   Affected guides:
   - [Controller 
(English)](https://github.com/apache/rocketmq/blob/28960fd2f795a6903665c3d6c037501059df0760/docs/en/controller/quick_start.md)
 and [Controller 
(Chinese)](https://github.com/apache/rocketmq/blob/28960fd2f795a6903665c3d6c037501059df0760/docs/cn/controller/quick_start.md)
   - [DLedger 
(English)](https://github.com/apache/rocketmq/blob/28960fd2f795a6903665c3d6c037501059df0760/docs/en/dledger/quick_start.md)
 and [DLedger 
(Chinese)](https://github.com/apache/rocketmq/blob/28960fd2f795a6903665c3d6c037501059df0760/docs/cn/dledger/quick_start.md)
   
   I encountered this on Windows 11 building a 5.5.1 checkout from source. 
After a plain clone, `mvn -pl namesrv -am install -Dmaven.test.skip=true` 
reached `rocketmq-auth` and failed because the generated `apache.rocketmq.v2` 
classes were missing. Running `git submodule update --init --recursive` and 
rerunning the build with tests and static checks skipped succeeded for all 10 
modules in that Maven build.
   
   Could we use `git clone --recurse-submodules 
https://github.com/apache/rocketmq.git` in these command-line guides and 
document `git submodule update --init --recursive` for existing clones, before 
the Maven step?


-- 
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