Skip to content

Commit f43041b

Browse files
committed
#9 Add missing default parameter
Signed-off-by: Philipp Pixel <[email protected]>
1 parent f8bf44d commit f43041b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vars/withMavenSettings.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def settingsWithEnvHome(def nexusCredentials, String cesFQDN, String mirrorNexus
7676
* @param mirrorNexusPath relative path to a maven central mirror hosted inside a nexus instance. The prefix <code>/nexus/repository</code> will be added automatically. Defaults to "maven-central"
7777
* @param mvnCallArgs these arguments contain the Maven arguments
7878
*/
79-
def mvnWithSettings(def nexusCredentials, String cesFQDN, String mirrorNexusPath, String mvnCallArgs) {
79+
def mvnWithSettings(def nexusCredentials, String cesFQDN, String mirrorNexusPath=defaultMavenCentralRepoName, String mvnCallArgs) {
8080
def currentHome = env.HOME
8181
settings(nexusCredentials, cesFQDN, currentHome, mirrorNexusPath) { settingsXml ->
8282
mvn settingsXml, mvnCallArgs

0 commit comments

Comments
 (0)