anchor.diff:  	set new_version=%current_version:.0-SNAPSHOT=%.%BUILD_NUMBER%-%branch_name%
   )
   
  -:: build new version
  -:: set new_version=%current_version%-%branch_name%
  -
  -echo %new_version%
  +echo new_version is %new_version%
   
   :: Sets the current projects version, updating the details of any child modules as necessary.
   call mvn versions:set -DgenerateBackupPoms=false -DnewVersion=%new_version%
  
positive.code: )
  
  ::
  :: get git branch_name
  ::
  
  if %branch_name%==dev (
  	echo It is dev branch build
  	set new_version=%current_version%
  ) else if %branch_name%==master (
  	echo It is master branch build
  	:: replace .0-SNAPSHOT with empty and append build number
  
negative.code: :: Scans the current projects child modules, updating the versions of any which use the current project to the version of the current project.
  ::call mvn versions:update-child-modules -DgenerateBackupPoms=false -DnewVersion=%new_version%
  
  :: reset the working directory
  popd
  
  :end