开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜