tommyquak opened a new issue, #3484:
URL: https://github.com/apache/hugegraph/issues/3484

   ### Bug Type (问题类型)
   
   others (please edit later)
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: master (f60b628)
   - OS: macOS arm64, JDK 17 (Temurin), Maven 3.10.0
   
   ### Expected & Actual behavior (期望与实际表现)
   
   `docs/CONTRIBUTING.md` and `AGENTS.md` give this command to build the server 
and its dependencies:
   
   ```bash
   mvn clean install -pl hugegraph-server -am -DskipTests
   ```
   
   On master it reports BUILD SUCCESS, but only the root POM and the 
`hugegraph-server` parent POM are built:
   
   ```
   [INFO] Reactor Summary for hugegraph 1.8.0:
   [INFO] hugegraph .......................................... SUCCESS [  1.434 
s]
   [INFO] hugegraph-server ................................... SUCCESS [  0.921 
s]
   [INFO] BUILD SUCCESS
   [INFO] Total time:  3.460 s
   ```
   
   No server module is compiled and there is no 
`hugegraph-server/apache-hugegraph-server-*` directory afterwards. If one 
exists from an earlier build, `clean` removes it and it isn't rebuilt.
   
   I think this is because `-pl hugegraph-server` selects only that parent POM, 
and `-am` adds the projects it depends on, not its child modules.
   
   Pointing `-pl` at the dist module, as `run-api-test.sh` does, builds 20 
projects and the server directory:
   
   ```bash
   mvn clean install -pl hugegraph-server/hugegraph-dist -am -DskipTests
   ```
   
   I only have Maven 3.10.0 to test with. I can open a PR for the two lines.
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


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