hingu-8103 opened a new issue, #351:
URL: https://github.com/apache/hugegraph-computer/issues/351

   ### Feature Description (功能描述)
   
   ## Purpose
   
   Replace `${revision}` with `${project.version}` in artifact file paths and 
`<finalName>` declarations to fix broken builds after running `mvn 
versions:set`.
   
   ## Background
   
   The root POM uses `${revision}` as the version property. However, two files 
reference `${revision}` directly in file path strings and `<finalName>`. When 
`mvn versions:set -DnewVersion=X.Y.Z` is run, it updates `<version>` tags but 
**not** the `${revision}` property — causing the copy tasks to look for JARs 
with the old version in their filename, breaking the build.
   
   ## Problems
   
   - `mvn versions:set` breaks the build — copy tasks reference artifacts that 
no longer exist.
   - Risk of version drift between `${revision}` and the actual built artifact 
filenames.
   
   ## Proposed Fix
   
   In `computer/computer-dist/pom.xml`, replace the two `${revision}` 
occurrences in the `<copy>` file path attributes with `${project.version}`.
   
   In `computer/computer-k8s-operator/pom.xml`, replace the `${revision}` 
occurrence in the `<finalName>` declaration with `${project.version}`.
   


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