mirror of
https://github.com/nasa/openmct.git
synced 2025-05-28 13:14:20 +00:00
[About] Use timestamp, build number
Use timestamp and build number (as filterable properties) in the built core bundle. WTD-699.
This commit is contained in:
parent
740dde63a7
commit
e4def8a3f5
@ -7,13 +7,19 @@
|
||||
{
|
||||
"name": "Open MCT Web",
|
||||
"value": "${project.version}",
|
||||
"priority": 1000
|
||||
"priority": 999
|
||||
},
|
||||
{
|
||||
"name": "Built",
|
||||
"value": "YYYY-MM-DDTHH:MM:ssZ",
|
||||
"value": "${timestamp}",
|
||||
"description": "The date on which this version of the client was built.",
|
||||
"priority": 990
|
||||
},
|
||||
{
|
||||
"name": "Revision",
|
||||
"value": "${buildNumber}",
|
||||
"description": "A unique revision identifier for the client sources.",
|
||||
"priority": 995
|
||||
}
|
||||
],
|
||||
"components": [
|
||||
|
14
pom.xml
14
pom.xml
@ -13,6 +13,11 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<!-- SCM info, for build number plugin -->
|
||||
<scm>
|
||||
<connection>scm:git:${basedir}</connection>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
@ -64,17 +69,12 @@
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create-timestamp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<timestampFormat>yyyy-MM-dd HH:mm:ss</timestampFormat>
|
||||
<timestampFormat>{0,date,yyyy-MM-dd HH:mm:ss.SSSZ}</timestampFormat>
|
||||
<doCheck>true</doCheck>
|
||||
<doUpdate>false</doUpdate>
|
||||
<revisionOnScmFailure>Unknown</revisionOnScmFailure>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user