You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MARTIFACT-6] create buildinfo file in root artifact instead of last module #93
when used with multi-modules build, current implementation creates the buildinfo file in the last module (that will be deployed to repository, more precisely)
This is because buildinfo records fingerprints/hashes of the result of the build, then artifacts to be fingerprinted are available only at the end of the build
It works, but it adds a level of complexity to find the buildinfo file
It would be a lot easier to use if buildinfo could be generated (and eventually deployed) in root directory
Affects: 3.0.0
Issue Links:
MARTIFACT-8 multi-module: copy aggregate buildinfo to root target
now that I opened this issue and took time to clearly describe it, generating a buildinfo file in the root directory is not hard: what is harder is to install/deploy it, because root artifact and attached sub-artifacts have already been deployed
then it would be easy to generate a buildinfo file on local disk that could not be deployed during the buildinfo goal: this could perhaps be a good initial compromise to discover next steps
perhaps it would be better even to currently drop the "attach" feature of the goal: given buildinfo file format is not really stable, publishing it to Central Repository makes half sense
Activity
jira-importer commentedon Jan 14, 2021
Hervé Boutemy commented
now that I opened this issue and took time to clearly describe it, generating a buildinfo file in the root directory is not hard: what is harder is to install/deploy it, because root artifact and attached sub-artifacts have already been deployed
then it would be easy to generate a buildinfo file on local disk that could not be deployed during the buildinfo goal: this could perhaps be a good initial compromise to discover next steps
jira-importer commentedon Jan 14, 2021
Hervé Boutemy commented
perhaps it would be better even to currently drop the "attach" feature of the goal: given buildinfo file format is not really stable, publishing it to Central Repository makes half sense