[Solved] Maven Publish Error: Failed to execute goal org.apache.maven.pluginsmaven-deploy-plugin2.8.2deploy

Maven released jar package

error: failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy

Cause: missing configuration

Solution: Add configuration to the Maven configuration file settings.xml

Open the file settings.xml under the directory …apache-maven-3.2.3-binapache-maven-3.2.3conf and add the configuration.

<!-- servers
   | This is a list of authentication profiles, keyed by the server-id used within the system.
   | Authentication profiles can be used whenever maven must make a connection to a remote server.
    <!-- server
     | Specifies the authentication information to use when connecting to a particular server, identified by
     | a unique name within the system (referred to by the 'id' attribute below).
     | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are 
     |       used together.
    <!-- Another sample, using keys to authenticate.
      <passphrase>optional; leave empty if not used.</passphrase>

Read More: