The Launch Script

There are environment variables that need to be set prior to launching Maven. This is accomplished by creating a script that sets the necessary environment variables and then launches Maven. This script is what is specified in the mavenscript attribute of the CruiseControl config.xml file above. The script should contain the following lines:

set PATH=c:\spl\CM_​PROJ1\runtime\;%PATH%

set COBSW=(+S5)

call c:\myMavenDir\bin\maven.bat %*