Skip to content

Commit 9525a67

Browse files
committed
Fix: Remove "default" from altDeploymentRepo
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 <[email protected]>
1 parent df27968 commit 9525a67

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Change syntax for mvn altDeploymentRepository from "staging::default::file"
5+
to "staging::file" to remove warning about legacy syntax.

shell/maven-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ $MVN $MAVEN_GOALS \
2525
-e \
2626
--global-settings "$GLOBAL_SETTINGS_FILE" \
2727
--settings "$SETTINGS_FILE" \
28-
-DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
28+
-DaltDeploymentRepository=staging::file:"$WORKSPACE"/m2repo \
2929
$MAVEN_OPTIONS $MAVEN_PARAMS

shell/sonatype-clm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ export MAVEN_OPTS
2424
$MVN $MAVEN_GOALS dependency:tree com.sonatype.clm:clm-maven-plugin:index \
2525
--global-settings "$GLOBAL_SETTINGS_FILE" \
2626
--settings "$SETTINGS_FILE" \
27-
-DaltDeploymentRepository=staging::default::file:"$WORKSPACE"/m2repo \
27+
-DaltDeploymentRepository=staging::file:"$WORKSPACE"/m2repo \
2828
$MAVEN_OPTIONS $MAVEN_PARAMS

0 commit comments

Comments
 (0)