You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version changes a hardcoded repository name into a changeable repository name in the `withMavenSettings.mvnWithSettings()` part. It does default to `maven-central` though. But if the need arises to choose a different repository, the new signature looks like this:
* Provides a simple custom maven settings.xml file to current working directory with Maven Central mirror in the
5
3
* current CES instance.
@@ -22,7 +20,7 @@ final String defaultMavenCentralRepoName = "maven-central"
22
20
* @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"
23
21
* @param closure This closure will be executed when the Maven <code>settings.xml</code> file was successfully created.
* @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"
65
63
* @param closure This closure will be executed when the Maven <code>settings.xml</code> file was successfully created.
* @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"
77
75
* @param mvnCallArgs these arguments contain the Maven arguments
0 commit comments