实践maven-scm-plugin

The SCM Plugin (maven-scm-plugin) offers vendor independent access to common scm commands by offering a set of command mappings for the configured scm. Each command is implemented as a goal.

1
2
3
4
5
6
7
8
<!-- 提交../bin/run.sh文件 -->
<plugin>
	<artifactId>maven-scm-plugin</artifactId>
	<configuration>
		<message>[maven-scm-plugin] set ${project.version} version in run shell</message>
		<includes>../bin/run.sh</includes>
	</configuration>
</plugin>