anchor.diff:    exit /B 1
   )
   
  -set MAVEN_OPTS=-Xmx768M -XX:MaxPermSize=256M 
  +set MAVEN_OPTS=-Xmx768M -XX:MaxPermSize=256M
   set MVN_PARAMS=-s "%MVN_HOME%\conf\settings.xml" -DinteractiveMode=false -DartifactId=openmrs-project -DgroupId=org.openmrs -Dversion=1.0.0-SNAPSHOT
   
   set ARGI = 0
  
positive.code:     :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
  %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 ---------------------------------------------------------------
  
negative.code:                                     set MVN_PARAMS=-s "%MVN_HOME%\conf\settings.xml" -DinteractiveMode=true
                      set /a ARGI = !ARGI! + 1
                                  goto loopstart
              )  else (
  
  set MVN_PARAMS=%MVN_PARAMS% %ARG%
  shift
  