Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
As discussed in WFMP-59, the deploy-artifact goal seems to fail if asked to deploy an artifact that isn't <scope>compile</scope>. Here's a trimmed log where I encounter this problem:
$ mvn wildfly:start wildfly:execute-commands wildfly:deploy-artifact [INFO] Scanning for projects... [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building wildfly-wfmp-59-sample-client 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ... [INFO] --- wildfly-maven-plugin:1.1.0.Alpha11:deploy-artifact (default-cli) @ wildfly-wfmp-59-sample-client --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.168 s [INFO] Finished at: 2016-08-29T11:09:15-04:00 [INFO] Final Memory: 24M/587M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha11:deploy-artifact (default-cli) on project wildfly-wfmp-59-sample-client: Execution default-cli of g oal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha11:deploy-artifact failed: Parameter content is required and cannot be null. -> [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
That was when running against the *-client module in the sample project that I attached to WFMP-59.