anchor.diff:      :loopend
   
   
  -rem ######
  -rem Executing maven
  -rem ######
  -
  -echo Executing: %MAVEN_EXECUTABLE% archetype:generate %MVN_PARAMS% -DarchetypeCatalog=local -DarchetypeArtifactId=maven-archetype-openmrs-project -DarchetypeGroupId=org.openmrs.maven.archetypes -DarchetypeVersion=1.0.0-SNAPSHOT -Dpackage=org.openmrs
  +rem ---------------------------------------------------------------
  +rem Executing Maven
  +rem ---------------------------------------------------------------
  +
  +echo Executing: %MAVEN_EXECUTABLE% com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:4.2.3:run %MVN_PARAMS%
   %MAVEN_EXECUTABLE% archetype:generate %MVN_PARAMS% -DarchetypeCatalog=local -DarchetypeArtifactId=maven-archetype-openmrs-project -DarchetypeGroupId=org.openmrs.maven.archetypes -DarchetypeVersion=1.0.0-SNAPSHOT -Dpackage=org.openmrs
   
   rem ---------------------------------------------------------------
  
positive.code:                                     set MVN_PARAMS=-s "%MVN_HOME%\conf\settings.xml" -DinteractiveMode=true
                      set /a ARGI = !ARGI! + 1
                                  goto loopstart
              )  
  
  set MVN_PARAMS=%MVN_PARAMS% %ARG%
  shift
  
negative.code: set MAVEN_EXECUTABLE="%MVN_HOME%\bin\mvn.bat"
  set SDK_VERSION="1.0.1"
  
  rem ---------------------------------------------------------------
  rem Transform Parameters into Maven Parameters
  rem
  rem NOTE: in DOS, all the 'else' statements must be on the same
  rem line as the closing bracket for the 'if' statement.
  rem ---------------------------------------------------------------
  
  set ARGV=.%*
  call :parse_argv
  