agentscope-java icon indicating copy to clipboard operation
agentscope-java copied to clipboard

[Bug]: Example run commands in documentation module use a non-existent Maven module path

Open kevinvv03 opened this issue 3 months ago • 0 comments

Describe the bug

The **Run:** Javadoc commands in agentscope-examples/documentation use -pl agentscope-examples/documentation2, but the module's directory and artifactId are documentation. 14 example commands fail immediately, and 6 of them also reference non-existent or misplaced main classes (e.g. StateAutoSaveExample points to documentation2.session.SessionAutoSaveExample, which does not exist).

To Reproduce

mvn exec:java -pl agentscope-examples/documentation2 \
    -Dexec.mainClass=io.agentscope.examples.documentation2.mcp.McpStdioExample

Error messages

[ERROR] Could not find the selected project in the reactor: agentscope-examples/documentation2

Expected behavior

Copy-pasted run commands from the example Javadocs should work as-is.

Environment

  • AgentScope-Java Version: 2.0.3-SNAPSHOT (main)
  • Java Version: 17
  • OS: macOS

A fix PR will follow shortly.

kevinvv03 avatar Sep 01 '26 16:09 kevinvv03