[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.6.7:redeploy (deploy) on project mavenplugintest: Execution deploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.6.7:redeploy failed: error submitting remote command: org.glassfish.api.admin.CommandException: Remote server does not listen for requests on [localhost:4848]. Is the server up?: Connection refused -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :mavenplugintest
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.6.7:redeploy (deploy) on project mavenplugintest: Execution deploy of goal org.codehaus.cargo:cargo-maven2-plugin:1.6.7:redeploy failed: error submitting remote command: org.glassfish.api.admin.CommandException: Remote server does not listen for requests on [localhost:4848]. Is the server up?: Connection refused -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mavenplugintest