In Eclipse
Execution Goals:
Deploy:deploy
Error:
[INFO] Scanning for projects ... [INFO] [INFO]------------------------------------------------------------------------[INFO] Building Dubbo-hehetang-api 0.0.1-snapshot[info]------------------------------------------------------------------------[INFO] [INFO]--- Maven-deploy-plugin:2.7:deploy (DEFAULT-CLI) @ dubbo-hehetang-api---[INFO]--------------------------------------- ---------------------------------[INFO] BUILD Failure[info]----------------------------------------------------- -------------------[INFO] Total Time:0.376s[info] finished at:wed June 17:08:08 CST 2016[info] Final memory:5m/121m[i NFO]------------------------------------------------------------------------[ERROR] Failed to execute goal Org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (DEFAULT-CLI) on Project dubbo-hehetang-api:the Packaging For this project does not assign a file to the build artifact, [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 on the errors and possible solutions, please read the following articles:[error] [Help 1] http://c Wiki.apache.org/confluence/display/maven/mojoexecutionexception
The reasons for the query are:
Http://stackoverflow.com/questions/6308162/maven-the-packaging-for-this-project-did-not-assign-a-file-to-the-build-artifac
is the command life cycle issue, modified to deploy after success.
Deploy to a