[Commented] (MARTIFACT-6) create buildinfo file in root artifact instead of last module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Commented] (MARTIFACT-6) create buildinfo file in root artifact instead of last module

Herve Boutemy (Jira)

    [ https://issues.apache.org/jira/browse/MARTIFACT-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264664#comment-17264664 ]

Herve Boutemy commented on MARTIFACT-6:
---------------------------------------

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

> create buildinfo file in root artifact instead of last module
> -------------------------------------------------------------
>
>                 Key: MARTIFACT-6
>                 URL: https://issues.apache.org/jira/browse/MARTIFACT-6
>             Project: Maven Artifact Plugin
>          Issue Type: New Feature
>          Components: artifact:buildinfo
>    Affects Versions: 0.1
>            Reporter: Herve Boutemy
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)