anchor.diff:  	) else if "x!opt!" equ "x-f" (
   		set file=!val!
   	) else if "x!opt!" equ "x-i" (
  -		set repositoryId=%%q
  +		set repositoryId=!val!
  +	) else if "x!opt!" equ "x-t" (
  +		set targetDir=!val!
   	)
   )
   
  
positive.code: call :debug packaging: !packaging!
  call :debug repositoryId: !repositoryId!
  call :debug file: !file!
  
  if not defined command goto :usage
  for %%c in (!commands!) do (
  
negative.code: setlocal enabledelayedexpansion
  
  call :debug test maven installation ...
  set mvnfound=
  call mvn --version>nul 2>&1 && set mvnfound=true
  if not defined mvnfound goto :mvnnotfound
  
  set commands=install get deploy
  rem maven get -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version [-t:targetDir]
  rem maven install -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext
  rem maven deploy -r:http://repo1.maven.org/maven2/ -m:groupId:artifactId:version:packaging -f:x:\path\to\file.ext -i:repositoryId
  
  call :debug supported commands: !commands!
  
  call :debug parse arguments ...
  
  set command=
  set repoUrl=http://repo1.maven.org/maven2/
  for %%c in (%*) do (
  	set arg=%%c
  