imbajin commented on code in PR #511:
URL: https://github.com/apache/hugegraph-doc/pull/511#discussion_r4263562151


##########
content/en/docs/contribution-guidelines/contribute.md:
##########
@@ -74,9 +81,22 @@ GitHub requires a username and token for Git authentication 
instead of a usernam
 
 When adding a third-party dependency, also update the license information 
included in the distribution:
 
-1. Add the dependency's license file to 
`hugegraph-server/hugegraph-dist/release-docs/licenses/`.
-2. Update `hugegraph-server/hugegraph-dist/release-docs/LICENSE`. If the 
dependency includes a NOTICE file, update `NOTICE` as well.
-3. Run 
`hugegraph-server/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh`
 to update the known-dependency list.
+1. Add the dependency's license file to `install-dist/release-docs/licenses/`.
+2. Update `install-dist/release-docs/LICENSE`. If the dependency includes a 
NOTICE file, update `NOTICE` as well.
+3. From the repository root, prepare the current revision's Server, PD and 
Store distribution libraries before regenerating the inventory:
+
+   ```bash
+   mvn clean install -DskipTests -Dmaven.javadoc.skip=true
+   bash install-dist/scripts/dependency/regenerate_known_dependencies.sh
+   ```
+
+   Clean rebuilds the current revision's distributions to avoid stale 
dependency jars.
+   It also removes root-level `*.tar.gz` distribution archives; other revision 
directories remain.

Review Comment:
   Addressed in b4a816788: specified that clean removes *.tar and *.tar.gz 
files under hugegraph-server/, hugegraph-pd/ and hugegraph-store/, and 
apache-hugegraph-<revision>.tar.gz at repository root, in both Chinese and 
English guides.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to