adoroszlai opened a new pull request, #7544:
URL: https://github.com/apache/ozone/pull/7544

   ## What changes were proposed in this pull request?
   
   This change switches from `makeAggregateBom` to `makeBom`, which only 
affects the BOM built for the root module.
   
   > * `makeBom`: creates a BOM for each Maven module with its dependencies,
   > * `makeAggregateBom`: creates an aggregate BOM at build root (with 
dependencies from the whole multi-modules build), and eventually a BOM for each 
module,
   
   It is a workaround for 
https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/410, which causes 
unnecessary attempts to download Ozone snapshot artifacts from 
repository.apache.org.
   
   https://issues.apache.org/jira/browse/HDDS-11882
   
   ## How was this patch tested?
   
   ```
   mvn -B -DskipTests -Dskip.installnodenpm -Dskip.npx -DskipShade \
       --log-file build.log \
       -Pdist clean package
   
   grep -c 'Downloading.*repository.apache.org.*org/apache/ozone' build.log
   ```
   
   - on `master`: 81
   - with this fix: 0
   
   https://github.com/adoroszlai/ozone/actions/runs/12221790282


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