X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fsonatype-clm.sh;h=4abe70ebd01ef44fd353ad63b4f0726d94a82146;hb=4867c0799530acf13f7527c6a026879bdfb34e06;hp=504ef7b36a58171738b4463ef57c0ea020da6808;hpb=f32a666231103080ac65a3184c507202e5ba6a0e;p=releng%2Fglobal-jjb.git diff --git a/shell/sonatype-clm.sh b/shell/sonatype-clm.sh index 504ef7b3..4abe70eb 100644 --- a/shell/sonatype-clm.sh +++ b/shell/sonatype-clm.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2017 The Linux Foundation and others. # @@ -8,7 +8,7 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> sonatype-clm.sh" # This script builds a Maven project and deploys it into a staging repo which # can be used to deploy elsewhere later eg. Nexus staging / snapshot repos. @@ -21,8 +21,8 @@ export MAVEN_OPTS # Disable SC2086 because we want to allow word splitting for $MAVEN_* parameters. # shellcheck disable=SC2086 -$MVN clean install dependency:tree com.sonatype.clm:clm-maven-plugin:index \ +$MVN $MAVEN_GOALS dependency:tree com.sonatype.clm:clm-maven-plugin:2.41.0-02:index \ --global-settings "$GLOBAL_SETTINGS_FILE" \ --settings "$SETTINGS_FILE" \ -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \ - $MAVEN_PARAMS $MAVEN_OPTIONS + $MAVEN_OPTIONS $MAVEN_PARAMS