2015年11月23日 星期一

[Maven] Prepare a Release and Perform a Release ( mvn release:prepare , mvn release:perform )

http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html

Preparing a release goes through the following release phases:
  • Check that there are no uncommitted changes in the sources
  • Check that there are no SNAPSHOT dependencies
  • Change the version in the POMs from x-SNAPSHOT to a new version (you will be prompted for the versions to use)
  • Transform the SCM information in the POM to include the final destination of the tag
  • Run the project tests against the modified POMs to confirm everything is in working order
  • Commit the modified POMs
  • Tag the code in the SCM with a version name (this will be prompted for)
  • Bump the version in the POMs to a new value y-SNAPSHOT (these values will also be prompted for)
  • Commit the modified POMs


Performing a release runs the following release phases:
  • Checkout from an SCM URL with optional tag
  • Run the predefined Maven goals to release the project (by default, deploy site-deploy)

回復天然的模樣

曾經面對過皮膚幽谷的日子。總之就是壞,以及惡性循環。發炎與含膿。就此過渡了令人憧憬的青蔥歲月。 歲月摧人,學習愛護自己。 每天出門都搽防曬。好好睡覺。不喝冷飲。少吃辛辣。 發現原來皮脂管絲是正常的皮膚狀況,不用理會。 漸漸的,發炎與紅腫的地方收歛了、縮小了、變平了。 因為少了油脂...