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." } 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." } diff --git a/scripts/PublishPlugin.groovy b/scripts/PublishPlugin.groovy index e9b348b..241adfa 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") @@ -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)