开发者

How can I lookup the timestamp of the latest maven build of a project?

开发者 https://www.devze.com 2023-03-06 19:52 出处:网络
If I was building from a Terminal I\'d ctrl+F mvn install and check the timestamp, but otherwise (building through NB) is there a file log to which builds history is written?开发者_开发问答You can mod

If I was building from a Terminal I'd ctrl+F mvn install and check the timestamp, but otherwise (building through NB) is there a file log to which builds history is written?开发者_开发问答


You can modify your the name your artifact will generate to have a timestamp appended onto it using finalName.

${project.artifactId}-${project.version}-${maven.build.timestamp}

Other than that, you could use a CI (Continuous Integration) server like Teamcity to build the artifacts for you. Teamcity will then generate logs with timestamps.

0

精彩评论

暂无评论...
验证码 换一张
取 消