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

[jira] [Created] (MNG-6881) Inconsistent properly semantics in Maven Model Builder

Michael Osipov created MNG-6881:
-----------------------------------

             Summary: Inconsistent properly semantics 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


The model builder provides following properties:

{{maven.build.timestamp}} ({{build.timestamp}}),  {{maven.version}} and {{maven.build.version}}. From consistency's perspetive, I'd either expect {{maven.build.timestamp}} and {{maven.build.version}} to contain the timestamp at which Maven was built and and the verison 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.
* {{maven.build.version}} needs to be deprecated and replaced with something like {{maven.banner}} {{maven.version-banner}}.





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