#!/bin/sh

VERBOSE=false
if [ $# -ge 1 ]; then
  case "$1" in
    "-v" | "--verbose")
        VERBOSE=true;;
  esac
fi

echo
echo "Atlassian Plugin SDK Help"
echo "========================="
echo
echo "The following scripts are available to assist with plugin development"
echo

        



    echo "atlas-run-standalone"
    echo "    Runs any product standalone, with no plugin project defined."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the product to run (default is RELEASE)."
                    echo
                                                                                    echo "    -c [value], --container [value]"
                                                                echo "        Container to run in (default is tomcat6x)."
                    echo
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    -ajp [value], --ajp-port [value]"
                                                                echo "        AJP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --jvmargs [value]"
                                                                echo "        Additional JVM arguments if required."
                    echo
                                                                                    echo "    --log4j [value]"
                                                                echo "        Log4j properties file."
                    echo
                                                                                    echo "    --test-version [value]"
                                                                echo "        Version to use for test resources. DEPRECATED: use data-version instead."
                    echo
                                                                                    echo "    --data-version [value]"
                                                                echo "        Version to use for data resources (default is RELEASE)"
                    echo
                                                                                    echo "    --product-data-path [value]"
                                                                echo "        Path to a custom test resources zip"
                    echo
                                                                                    echo "    --sal-version [value]"
                                                                echo "        Version of SAL to use."
                    echo
                                                                                    echo "    --rest-version [value]"
                                                                echo "        Version of the Atlassian REST module to use."
                    echo
                                                                                    echo "    --plugins [value]"
                                                                echo "        Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --lib-plugins [value]"
                                                                echo "        Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --bundled-plugins [value]"
                                                                echo "        Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --product [value]"
                                                                echo "        The product to launch with the plugin."
                    echo
                    fi
    

        



    echo "atlas-create-bamboo-plugin"
    echo "    Creates a Bamboo plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        


    echo "atlas-unit-test"
    echo "    Runs the unit tests for the plugin (runs mvn test)."
    echo

    

        




    echo "atlas-create-jira4-plugin [DEPRECATED]"
    echo "    Creates a JIRA 4.x (or earlier) plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    DEPRECATED"
            echo "    JIRA 4.x and earlier have reach End of Support - see https://confluence.atlassian.com/x/HQCID."
            echo
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-stash-plugin"
    echo "    Creates a Stash plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-stash-plugin-module"
    echo "    Creates a Stash Plugin Module"
    echo

    

        



    echo "atlas-create-jira-plugin"
    echo "    Creates a JIRA plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        

    echo "atlas-release-rollback"
    echo "    Rolls back a release of the plugin (runs mvn release:rollback)."
    echo

    

        



    echo "atlas-create-jira-plugin-module"
    echo "    Creates a JIRA Plugin Module"
    echo

    

        



    echo "atlas-create-fecru-plugin"
    echo "    Creates a FishEye/Crucible plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-run"
    echo "    Runs the product with your plugin installed."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the product to run (default is RELEASE)."
                    echo
                                                                                    echo "    -c [value], --container [value]"
                                                                echo "        Container to run in (default is tomcat6x)."
                    echo
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    -ajp [value], --ajp-port [value]"
                                                                echo "        AJP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --jvmargs [value]"
                                                                echo "        Additional JVM arguments if required."
                    echo
                                                                                    echo "    --log4j [value]"
                                                                echo "        Log4j properties file."
                    echo
                                                                                    echo "    --test-version [value]"
                                                                echo "        Version to use for test resources. DEPRECATED: use data-version instead."
                    echo
                                                                                    echo "    --data-version [value]"
                                                                echo "        Version to use for data resources (default is RELEASE)"
                    echo
                                                                                    echo "    --sal-version [value]"
                                                                echo "        Version of SAL to use."
                    echo
                                                                                    echo "    --rest-version [value]"
                                                                echo "        Version of the Atlassian REST module to use."
                    echo
                                                                                    echo "    --plugins [value]"
                                                                echo "        Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --lib-plugins [value]"
                                                                echo "        Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --bundled-plugins [value]"
                                                                echo "        Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --product [value]"
                                                                echo "        The product to launch with the plugin."
                    echo
                                                                                    echo "    --instanceId [value]"
                                                                echo "        The product instance to launch with the plugin."
                    echo
                                                                                    echo "    --testGroup [value]"
                                                                echo "        Test group whose products will be launched with the plugin."
                    echo
                    fi
    

        



    echo "atlas-create-bitbucket-plugin-module"
    echo "    Creates a Bitbucket Plugin Module"
    echo

    

        


    echo "atlas-integration-test"
    echo "    Runs the the integration tests for the plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the product to run (default is RELEASE)."
                    echo
                                                                                    echo "    -c [value], --container [value]"
                                                                echo "        Container to run in (default is tomcat6x)."
                    echo
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --jvmargs [value]"
                                                                echo "        Additional JVM arguments if required."
                    echo
                                                                                    echo "    --log4j [value]"
                                                                echo "        Log4j properties file."
                    echo
                                                                                    echo "    --test-version [value]"
                                                                echo "        Version to use for test resources. DEPRECATED: use data-version instead."
                    echo
                                                                                    echo "    --data-version [value]"
                                                                echo "        Version to use for data resources (default is RELEASE)"
                    echo
                                                                                    echo "    --sal-version [value]"
                                                                echo "        Version of SAL to use."
                    echo
                                                                                    echo "    --rest-version [value]"
                                                                echo "        Version of the Atlassian REST module to use."
                    echo
                                                                                    echo "    --plugins [value]"
                                                                echo "        Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --lib-plugins [value]"
                                                                echo "        Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --bundled-plugins [value]"
                                                                echo "        Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --product [value]"
                                                                echo "        The product to launch with the plugin."
                    echo
                                                                                    echo "    --no-webapp"
                                                                echo "        Do not start the application."
                    echo
                                                                                    echo "    --skip-tests"
                                                                echo "        Skip the tests."
                    echo
                    fi
    

        



    echo "atlas-create-confluence-plugin"
    echo "    Creates a Confluence plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-refapp-plugin-module"
    echo "    Creates a Ref App Plugin Module"
    echo

    

        


    echo "atlas-mvn"
    echo "    Execute arbitrary Maven commands using the version of Maven bundled with the Atlassian Plugin SDK."
    echo

    

        



    echo "atlas-remote-test"
    echo "    Runs the the integration tests for the plugin on a remote server."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --pdkUsername [value]"
                                                                echo "        Username to use when logging in via PDK"
                    echo
                                                                                    echo "    --pdkPassword [value]"
                                                                echo "        Password to use when logging in via PDK"
                    echo
                                                                                    echo "    --jvmargs [value]"
                                                                echo "        Additional JVM arguments if required."
                    echo
                                                                                    echo "    --log4j [value]"
                                                                echo "        Log4j properties file."
                    echo
                    fi
    

        

    echo "atlas-package"
    echo "    Packages the plugin artifacts (runs mvn package)."
    echo

    

        


    echo "atlas-update"
    echo "    Updates your SDK to the latest released version from developer.atlassian.com (runs mvn com.atlassian.maven.plugins:amps-maven-plugin:9.9.1:update)."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -v [value], --update-version [value]"
                                                                echo "        Update with this version of the SDK (default is the latest)."
                    echo
                                                                                    echo "    -s [value], --sdk-archive-path [value]"
                                                                echo "        Use this SDK archive (zip for Windows, tar.gz for Mac/Unix) instead of downloading it from the Internet."
                    echo
                                                                                    echo "    -f [value], --force-update-check [value]"
                                                                echo "        Force the update check to happen regardless of the last time it happened."
                    echo
                    fi
    

        



    echo "atlas-create-refapp-plugin"
    echo "    Creates a Ref App plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-fecru-plugin-module"
    echo "    Creates a FishEye/Crucible Plugin Module"
    echo

    

        



    echo "atlas-create-home-zip"
    echo "    Creates a test-resources zip of the home directory (runs mvn com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:9.9.1:create-home-zip)."
    echo

    

        



    echo "atlas-create-bitbucket-plugin"
    echo "    Creates a Bitbucket plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-version"
    echo "    Displays version and runtime information for the Atlassian Plugin SDK."
    echo

    

        



    echo "atlas-create-crowd-plugin"
    echo "    Creates a Crowd plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-crowd-plugin-module"
    echo "    Creates a Crowd Plugin Module"
    echo

    

        


    echo "atlas-compile"
    echo "    Compiles the sources of your project (runs mvn compile)."
    echo

    

        




    echo "atlas-create-jira5-plugin [DEPRECATED]"
    echo "    Creates a JIRA 5.x plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    DEPRECATED"
            echo "    Use atlas-create-jira-plugin and edit jira.version in the generated pom.xml."
            echo
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

        



    echo "atlas-create-confluence-plugin-module"
    echo "    Creates a Confluence Plugin Module"
    echo

    

        



    echo "atlas-release"
    echo "    Performs a release of the plugin (runs mvn com.atlassian.maven.plugins:amps-dispatcher-maven-plugin:9.9.1:release)."
    echo

    

        


    echo "atlas-clean"
    echo "    Removes files generated during the build-time in a project's directory (runs mvn clean)."
    echo

    

        



    echo "atlas-debug"
    echo "    Runs the product in debug mode with your plugin installed."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the product to run (default is RELEASE)."
                    echo
                                                                                    echo "    -c [value], --container [value]"
                                                                echo "        Container to run in (default is tomcat6x)."
                    echo
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    -ajp [value], --ajp-port [value]"
                                                                echo "        AJP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --jvmargs [value]"
                                                                echo "        Additional JVM arguments if required."
                    echo
                                                                                    echo "    --log4j [value]"
                                                                echo "        Log4j properties file."
                    echo
                                                                                    echo "    --test-version [value]"
                                                                echo "        Version to use for test resources. DEPRECATED: use data-version instead."
                    echo
                                                                                    echo "    --data-version [value]"
                                                                echo "        Version to use for data resources (default is RELEASE)"
                    echo
                                                                                    echo "    --sal-version [value]"
                                                                echo "        Version of SAL to use."
                    echo
                                                                                    echo "    --rest-version [value]"
                                                                echo "        Version of the Atlassian REST module to use."
                    echo
                                                                                    echo "    --plugins [value]"
                                                                echo "        Comma-delimited list of plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --lib-plugins [value]"
                                                                echo "        Comma-delimited list of lib artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --bundled-plugins [value]"
                                                                echo "        Comma-delimited list of bundled plugin artifacts in GROUP_ID:ARTIFACT_ID:VERSION form, where version can be ommitted, defaulting to LATEST."
                    echo
                                                                                    echo "    --product [value]"
                                                                echo "        The product to launch with the plugin."
                    echo
                                                                                    echo "    --instanceId [value]"
                                                                echo "        The product instance to launch with the plugin."
                    echo
                                                                                    echo "    --testGroup [value]"
                                                                echo "        Test group whose products will be launched with the plugin."
                    echo
                                                                                    echo "    --jvm-debug-port [value]"
                                                                echo "        Port open to accept connections for remote debugging (default is 5005)."
                    echo
                                                                                    echo "    --jvm-debug-suspend"
                                                                echo "        Suspend JVM until debugger connects."
                    echo
                    fi
    

        



    echo "atlas-create-bamboo-plugin-module"
    echo "    Creates a Bamboo Plugin Module"
    echo

    

        



    echo "atlas-install-plugin"
    echo "    Installs the plugin into a running application."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -p [value], --http-port [value]"
                                                                echo "        HTTP port for the servlet container."
                    echo
                                                                                    echo "    --context-path [value]"
                                                                echo "        Application context path (include the leading forward slash)."
                    echo
                                                                                    echo "    --server [value]"
                                                                echo "        Host name of the application server (default is localhost)."
                    echo
                                                                                    echo "    --username [value]"
                                                                echo "        Username of administrator to access the plugin system (default is admin)."
                    echo
                                                                                    echo "    --password [value]"
                                                                echo "        Password of administrator to access the plugin system (default is admin)."
                    echo
                                                                                    echo "    --plugin-key [value]"
                                                                echo "        Unique key identifying the plugin."
                    echo
                    fi
    

        



    echo "atlas-create-plugin"
    echo "    Creates a Cross Product plugin."
    echo

            if [ ${VERBOSE} = "true" ]; then
                        echo "    The following options are available:"
                                                                                    echo "    -a [value], --artifact-id [value]"
                                                                echo "        Name of the project (corresponds to the Maven artifactId)."
                    echo
                                                                                    echo "    -g [value], --group-id [value]"
                                                                echo "        Identifier for the logical group of artifacts associated with the project (corresponds to the Maven groupId)."
                    echo
                                                                                    echo "    -v [value], --version [value]"
                                                                echo "        Version of the project (default is 1.0-SNAPSHOT)."
                    echo
                                                                                    echo "    -p [value], --package [value]"
                                                                echo "        Java package that will contain the plugin source code (default is group-id value)."
                    echo
                                                                                    echo "    --non-interactive"
                                                                echo "        Does not prompt the user for input. Turns off interactive mode."
                    echo
                    fi
    

echo "For detailed information on a particular script, use the '--help' option, eg. 'atlas-run --help'."
echo "For an entire list of all scripts and their parameters, run 'atlas-help --verbose'."
echo
