#set( $command = ${project.commands.publish})
Publishes project artifacts to a maven repository by performing a maven deploy.
The repository url and additional configuration such as gpg key setup must be
performed in-code. Therefore as a prerequisite to using this command you must
have a gpg executable on your system path. The following options are supported:

   ${command.artifactOption}:   the name of the artifact to be published. The artifacts
               directory is checked for classes, source and javadoc containing
               artifacts that match the name. If this option isn't specified
               then all discovered artifacts are published.

   ${command.userOption}:       used if the publish command has been configured for a remote
               protocol such as scp.
		
   ${command.keyOption}:        the path to the private key for scp key-based authentication. If
               not specified then the default key location is used if it exists.
		
   ${command.passwordOption}:   the password for scp transport if specified.

   ${command.passphraseOption}: the passphrase for scp key-based authentication. Can be left out
               if there is no passphrase for the given key.

Example:

   ${layout.scriptName} "${command.delegate.name} -${command.userOption} bob -${command.keyOption} ~/.ssh/myprivatekey"
