Skip to content

[MARTIFACT-6] create buildinfo file in root artifact instead of last module #93

Open

Description

@jira-importer

Hervé Boutemy opened MARTIFACT-6 and commented

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

Remote Links:

Activity

  1. jira-importer commented on Jan 14, 2021

    @jira-importer
    Author

    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

  2. jira-importer commented on Jan 14, 2021

    @jira-importer
    Author

    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

  3. added
    enhancement
    priority:major
    on Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:major

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions