We are seeing warnings in our maven jobs that "staging::default::file"
is legacy syntax, and should be replaced with "staging::file". This
patch fixes both instances of this syntax in our scripts.
Change-Id: Ic2a1c5d19670140f8803edb3ef30bb3908e3a995
Issue-ID: IT-28843
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Change syntax for mvn altDeploymentRepository from "staging::default::file"
+ to "staging::file" to remove warning about legacy syntax.
-e \
--global-settings "$GLOBAL_SETTINGS_FILE" \
--settings "$SETTINGS_FILE" \
- -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
+ -DaltDeploymentRepository=staging::file:"$WORKSPACE"/m2repo \
$MAVEN_OPTIONS $MAVEN_PARAMS
$MVN $MAVEN_GOALS dependency:tree com.sonatype.clm:clm-maven-plugin:index \
--global-settings "$GLOBAL_SETTINGS_FILE" \
--settings "$SETTINGS_FILE" \
- -DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
+ -DaltDeploymentRepository=staging::file:"$WORKSPACE"/m2repo \
$MAVEN_OPTIONS $MAVEN_PARAMS