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)

亞健康狀態

因著不同事務要處理,最近的晚上已經實行不到九時半入睡的習慣;結果身體一直處於亞健康狀態,早上超級眼瞓(!!!!!),幾乎睜不開眼T.T 這種掙扎中的狀態真痛苦…… 結果星期中真的不行了,放下一切要處理的事務,吃完飯八時半就去睡了,而終於……終於!第二天早上找回了靈魂,工作不用再因...