All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.telenav.cactus.maven.ccm Maven / Gradle / Ivy

There is a newer version: 1.5.49
Show newest version
#!/bin/sh

VERSION=__PLUGIN_VERSION_PLACEHOLDER__

if [ -n "$1" ]; then
    if [ '--push' = "$1" ] || [ '-p' = "$1" ]; then
        export PUSH=true
        shift
    else
        export PUSH=false
    fi
fi

# TODO: Horrible but works to get the argument quote correctly:

MSG=-Dcactus.commit-message=
MSG=$MSG"'"
MSG=$MSG$@
MSG=$MSG"'"

# Note, we don't use the run-maven function for this, because
# combining $@ into a single argument is not compatible with
# running maven via `eval`.

mvn \
    -Dcactus.scope=all \
    "${MSG}" \
    -Dcactus.include-root=true \
    com.telenav.cactus:cactus-maven-plugin:${VERSION}:commit




© 2015 - 2024 Weber Informatics LLC | Privacy Policy