You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2020/03/28 17:37:00 UTC

[jira] [Updated] (MNG-6881) Inconsistent property semantics against their names in Maven Model Builder

     [ https://issues.apache.org/jira/browse/MNG-6881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MNG-6881:
-------------------------------
    Summary: Inconsistent property semantics against their names in Maven Model Builder  (was: Inconsistent properly semantics in Maven Model Builder)

> Inconsistent property semantics against their names in Maven Model Builder
> --------------------------------------------------------------------------
>
>                 Key: MNG-6881
>                 URL: https://issues.apache.org/jira/browse/MNG-6881
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.3
>            Reporter: Michael Osipov
>            Priority: Major
>
> The [model builder|https://maven.apache.org/ref/3.6.3/maven-model-builder/#Model_Interpolation] provides following properties:
> * {{maven.build.timestamp}},
> * ({{build.timestamp}}), 
> * {{maven.version}}
> * and {{maven.build.version}}.
> From consistency's perspective, I'd either expect {{maven.build.timestamp}} and {{maven.build.version}} to contain the timestamp at which Maven was built and and the version of this Maven build.
> *But*, it contains the timestamp of the currently built project while the other property still refers to Maven itself.
> This is inconsistent. I'd expect everything build related to be in {{project.build.*}} and with {{project.build.timestamp}}/{{project.build.outputTimestamp}}.
> * {{maven.build.timestamp}} along with the format property need to be deprecated and removed; resolved in {{project.build.timestamp}}/{{project.build.timestamp.format}}
> * {{maven.build.version}} needs to be deprecated and replaced with something like {{maven.banner}}/{{maven.versionBanner}}.



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