What I read about using maven-artifact-plugin (reproducible builds) says it
will generate a single buildinfo file but I have one of my maven
multimodule builds that generates 2.

Does anyone know why there is more than one buildinfo file.

The logs look like this showing "Saved aggregate info on build" to one file
(in the folder for the last of the submodules built) and then "Aggregate
buildinfo copied" to another file (in the folder with the base pom -- the
pom with the <module> tag in it:

2025-08-25T20:51:20.2852156Z [INFO] Saved aggregate info on build to
/home/runner/work/my_company_web_services/my_company_web_services/my_company_webservices/session_close_client/target/my_company_ws_session_close_client-4.0.8-1ff00d1d.buildinfo
2025-08-25T20:51:20.2856358Z [INFO] Aggregate buildinfo copied to
/home/runner/work/my_company_web_services/my_company_web_services/target/my_company_web_services-4.0.8-1ff00d1d.buildinfo
2025-08-25T20:51:20.2860141Z [INFO] Attaching buildinfo
2025-08-25T20:51:20.2863240Z [INFO]
------------------------------------------------------------------------
2025-08-25T20:51:20.2864099Z [INFO] Reactor Summary for
my_company_web_services 4.0.8-1ff00d1d:

I haven't compared the two buildinfo files byte by byte but both show all
20 submodules and the 3 output files for each (pom, jar and -classifier.jar)

Can anyone explain why?

-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com

Reply via email to