base/run-plugin/src/main/com/thesett/maven/run/ProductionScriptGenMojo.java
public void execute() throws MojoExecutionException, MojoFailureException
    {
        //log.debug("public void execute() throws MojoExecutionException: called");

        // Turn each of the test runner command lines into a script.
        for (String commandName : commands.keySet())
        {
            if (prodScriptOutDirectory != null)
            {
                writeUnixScript(commandName, prodScriptOutDirectory);
                writeWindowsScript(commandName, prodScriptOutDirectory);
            }
        }
    }
public void execute() throws MojoExecutionException, MojoFailureException
    {
        //log.debug("public void execute() throws MojoExecutionException: called");

        // Turn each of the test runner command lines into a script.
        for (String commandName : commands.keySet())
        {
            if (prodScriptOutDirectory != null)
            {
                writeUnixScript(commandName, prodScriptOutDirectory);
                writeWindowsScript(commandName, prodScriptOutDirectory);
            }
        }
    }
Implementation of the prod-script goal.

@throws org.apache.maven.plugin.MojoExecutionException