0
点赞
收藏
分享

微信扫一扫

【maven插件】org.codehaus.mojo:build-helper-maven-plugin:timestamp-property

青乌 2024-08-29 阅读 25
<plugin>
	<groupid>org.codehaus.mojo</groupid>
	<artifactid>build-helper-maven-plugin</artifactid>
	<executions>
		<execution>
			<goals>
				<goal>timestamp-property</goal>
			</goals>
			<configuration>
				<name>mojo.time</name>
				<pattern>yyyy年MM月dd日HH时mm分ss秒</pattern>
				<locale>zh_CN</locale>
				<timezone>GMT+8</timezone>
			</configuration>
		</execution>
	</executions>
</plugin>
  • 使用方式
<finalname>${project.artifactId}-${project.version}-${mojo.time}</finalname>
举报

相关推荐

0 条评论