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

Michael Osipov updated MNG-6881:
--------------------------------
    Description: 
The 
[https://maven.apache.org/ref/3.6.3/maven-model-builder/#Model_Interpolation|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; 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}}.



  was:
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; 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}}.




> 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
>            Priority: Major
>
> The 
> [https://maven.apache.org/ref/3.6.3/maven-model-builder/#Model_Interpolation|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; 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)

Reply via email to