大概简明的讲一下啊。。。发现很多人项目都跑不起来
下了代码之后 执行maven build
INFO] Building groupon-site-web 1.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ groupon-site-web --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/yh/Documents/imoocmall/Site/Web/src/main/java [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ groupon-site-web --- [INFO] No sources to compile [INFO] [INFO] >>> maven-source-plugin:2.1:jar (default) > generate-sources @ groupon-site-web >>> [INFO] [INFO] <<< maven-source-plugin:2.1:jar (default) < generate-sources @ groupon-site-web <<< [INFO] [INFO] --- maven-source-plugin:2.1:jar (default) @ groupon-site-web --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] groupon ............................................ SUCCESS [ 0.614 s] [INFO] groupon-service .................................... SUCCESS [ 1.520 s] [INFO] groupon-site ....................................... SUCCESS [ 0.004 s] [INFO] groupon-site-controller ............................ SUCCESS [ 2.458 s] [INFO] groupon-site-web ................................... FAILURE [ 0.058 s] [INFO] groupon-admin ...................................... SKIPPED [INFO] groupon-admin-controller ........................... SKIPPED [INFO] groupon-admin-web .................................. SKIPPED [INFO] groupon-image-server ............................... SKIPPED [INFO] road-alipay ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.868 s [INFO] Finished at: 2017-04-07T00:12:18+08:00 [INFO] Final Memory: 24M/274M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:2.1:jar (default) on project groupon-site-web: Error creating source archive: You must set at least one file. -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :groupon-site-web
所以 这个项目应该怎么跑起来.....对maven不是精通,折腾好几个小时了,还是不行,希望老师大概讲下怎么运行项目