Tag:Package timestamp

  • Maven packing timestamp problem


    When Maven is packaged, the timestamp attribute can be generated to assemble the package name. <version>5.0.${build.time}B</version> <properties> <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format> </properties> Turn on the filtering function for the resource file, and the POM variable in the resource file will be automatically replaced during the packaging process. You can get the version number by accessing the properties resource […]