grails deploy errors
####grails < 2.3
####grails >= 2.3
attempt to deploy a snapshot into a release repository
grails prod maven-deploy --repository=nectar-nexus-repo-release --non-interactive
...
[DASHBOARD] No external configuration file defined.
[DASHBOARD] (*) grails.config.locations = []
| Done creating WAR target/dashboard-0.2-SNAPSHOT.war
| POM generated: /Users/hor22n/src/dashboard/target/pom.xml..
| Error Error deploying artifact: Error deploying artifact 'au.org.ala:dashboard:war': Error deploying artifact: Failed to transfer file: http://130.56.249.242/nexus/content/repositories/releases/au/org/ala/dashboard/0.2-SNAPSHOT/dashboard-0.2-20141110.004045-1.war. Return code is: 400
| Error Have you specified a configured repository to deploy to (--repository argument) or specified distributionManagement in your POM?
wrong/unknown repository name/id
grails prod maven-deploy --repository=nectar-nexus-repo-snap --non-interactive
...
[DASHBOARD] No external configuration file defined.
[DASHBOARD] (*) grails.config.locations = []
| Done creating WAR target/dashboard-0.2-SNAPSHOT.war
| POM generated: /Users/hor22n/src/dashboard/target/pom.xml..
| Error Error deploying artifact: A distributionManagement element or remoteRepository element is required to deploy
| Error Have you specified a configured repository to deploy to (--repository argument) or specified distributionManagement in your POM?
wrong username
grails prod maven-deploy --repository=nectar-nexus-repo-snapshot --non-interactive
...
[DASHBOARD] No external configuration file defined.
[DASHBOARD] (*) grails.config.locations = []
| Done creating WAR target/dashboard-0.2-SNAPSHOT.war
| POM generated: /Users/hor22n/src/dashboard/target/pom.xml..
| Error Error deploying artifact: Error deploying artifact 'au.org.ala:dashboard:war': Error deploying artifact: Failed to transfer file: http://130.56.249.242/nexus/content/repositories/snapshots/au/org/ala/dashboard/0.2-SNAPSHOT/dashboard-0.2-20141110.003507-8.war. Return code is: 401
| Error Have you specified a configured repository to deploy to (--repository argument) or specified distributionManagement in your POM?
wrong password
grails prod maven-deploy --repository=nectar-nexus-repo-snapshot --non-interactive
...
[DASHBOARD] No external configuration file defined.
[DASHBOARD] (*) grails.config.locations = []
| Done creating WAR target/dashboard-0.2-SNAPSHOT.war
| POM generated: /Users/hor22n/src/dashboard/target/pom.xml..
| Error Error deploying artifact: Error deploying artifact 'au.org.ala:dashboard:war': Error deploying artifact: Failed to transfer file: http://130.56.249.242/nexus/content/repositories/snapshots/au/org/ala/dashboard/0.2-SNAPSHOT/dashboard-0.2-20141110.002903-8.war. Return code is: 401
| Error Have you specified a configured repository to deploy to (--repository argument) or specified distributionManagement in your POM?