From f6813377d1e03878d455c54b5fbb10292f9e2e8f Mon Sep 17 00:00:00 2001 From: Andrew Kew Date: Wed, 15 Apr 2020 16:03:12 +0100 Subject: [PATCH 1/4] Fixing simple typo method is userInput used when prompting for authentication when deploying to remote repo --- scripts/PublishPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/PublishPlugin.groovy b/scripts/PublishPlugin.groovy index e9b348b..aa69112 100644 --- a/scripts/PublishPlugin.groovy +++ b/scripts/PublishPlugin.groovy @@ -213,7 +213,7 @@ target(publishPlugin: "Publishes a plugin to a Maven repository.") { if (argsMap["prompt-auth"]) { def inputHelper = new CommandLineHelper() - username = usernput( + username = userInput( inputHelper, "Username for repository: ", "You haven't configured the plugin repository username - required in non-interactive mode") From 002c1327bcbb6cc391d2b9bf1bf29ede92fefdec Mon Sep 17 00:00:00 2001 From: Andrew Kew Date: Wed, 15 Apr 2020 16:32:57 +0100 Subject: [PATCH 2/4] Another typo configuring the repo configurer, repoDfn => repoDefn --- scripts/PublishPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/PublishPlugin.groovy b/scripts/PublishPlugin.groovy index aa69112..241adfa 100644 --- a/scripts/PublishPlugin.groovy +++ b/scripts/PublishPlugin.groovy @@ -222,7 +222,7 @@ target(publishPlugin: "Publishes a plugin to a Maven repository.") { "Password for repository: ", "You haven't configured the plugin repository password - required in non-interactive mode") - repoDfn.configurer = { authentication username: username, password: password } + repoDefn.configurer = { authentication username: username, password: password } } deployer = classLoader.loadClass("grails.plugins.publish.maven.MavenDeployer").newInstance(ant, repoDefn, protocol) From d5e2914ac980be3b63720a9f1318de37e638e4a7 Mon Sep 17 00:00:00 2001 From: Andrew Kew Date: Thu, 16 Apr 2020 15:02:59 +0100 Subject: [PATCH 3/4] Typo on the word artifact --- scripts/MavenDeploy.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/MavenDeploy.groovy b/scripts/MavenDeploy.groovy index 71b801f..1808add 100644 --- a/scripts/MavenDeploy.groovy +++ b/scripts/MavenDeploy.groovy @@ -16,7 +16,7 @@ includeTargets << new File(releasePluginDir, "scripts/_GrailsMaven.groovy") -target(main:"Installs a Grails plugin as a Maven artefact") { +target(main:"Installs a Grails plugin as a Maven artifact") { depends(parseArguments, mavenDeploy) println "Maven deploy complete." } From 0ced4fcf30f5c516772d9b2aeb5900a360c6b42b Mon Sep 17 00:00:00 2001 From: Andrew Kew Date: Thu, 16 Apr 2020 15:03:40 +0100 Subject: [PATCH 4/4] Typo on the word artifact --- scripts/MavenInstall.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/MavenInstall.groovy b/scripts/MavenInstall.groovy index f51d228..207f846 100644 --- a/scripts/MavenInstall.groovy +++ b/scripts/MavenInstall.groovy @@ -16,7 +16,7 @@ includeTargets << new File(releasePluginDir, "scripts/_GrailsMaven.groovy") -target(main:"Installs a Grails plugin as a Maven artefact") { +target(main:"Installs a Grails plugin as a Maven artifact") { depends(parseArguments, mavenInstall) println "Maven install complete." }