mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
* ATS-421 : ATS-400: Create Travis build for "alfresco-transform-core" - rename mvn profile from 'enterpriseDocker' to 'local' - add config to publish docker image on both Quay and Docker - remove unused 'master' profile - similar to ATS, publish images only from master branch and on Release - update <distributionManagement> to publish artefacts to Nexus public (rather than Enterprise Releases) - add travis build configs - include SP branches to travis build - add documentation on build&release process
23 lines
699 B
Bash
23 lines
699 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo "=========================== Starting WhiteSource Script ==========================="
|
|
PS4="\[\e[35m\]+ \[\e[m\]"
|
|
set -vex
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
|
|
|
|
|
mvn clean install \
|
|
-DskipTests org.whitesource:whitesource-maven-plugin:update \
|
|
-Dorg.whitesource.failOnError=true \
|
|
-Dorg.whitesource.forceUpdate=true \
|
|
-Dorg.whitesource.checkPolicies=true \
|
|
-Dorg.whitesource.forceCheckAllDependencies=true \
|
|
-Dorg.whitesource.ignorePomModules=false \
|
|
"-Dorg.whitesource.product=Transform Service" \
|
|
-Dmaven.wagon.http.pool=false
|
|
|
|
popd
|
|
set +vex
|
|
echo "=========================== Finishing WhiteSource Script =========================="
|
|
|