Closed flanliulf closed 10 years ago
下载了snapshot,执行mvn install报错: [INFO] Reactor Summary: [INFO] [INFO] s2jh :: module :: s2jh-parent ..................... SUCCESS [0.337s] [INFO] s2jh :: module :: assets-resource ................. SUCCESS [13.001s] [INFO] s2jh :: module :: jasperreports-extension ......... SUCCESS [2.946s] [INFO] s2jh :: module :: core-service .................... SUCCESS [2.047s] [INFO] s2jh :: module :: project-tools ................... SUCCESS [0.381s] [INFO] s2jh :: module :: common-service .................. SUCCESS [34.837s] [INFO] s2jh :: module :: crawl-service ................... SUCCESS [0.506s] [INFO] s2jh :: module :: bpm-service ..................... SUCCESS [5.938s] [INFO] s2jh :: prototype ................................. FAILURE [11.031s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:11.543s [INFO] Finished at: Sat Jun 21 11:48:55 CST 2014 [INFO] Final Memory: 16M/1015M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project prototype: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir /Users/flanliulf/git/flanliulf-s2jh/prototype/src/main/deploy/${deploy.env}/webResources does not exist -> [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 :prototype
平时请不要随时更新snapshot,此为开发版本,随时改动代码随时可能导致构建失败。建议阶段性使用采用master版本,相对稳定些。
下载了snapshot,执行mvn install报错: [INFO] Reactor Summary: [INFO] [INFO] s2jh :: module :: s2jh-parent ..................... SUCCESS [0.337s] [INFO] s2jh :: module :: assets-resource ................. SUCCESS [13.001s] [INFO] s2jh :: module :: jasperreports-extension ......... SUCCESS [2.946s] [INFO] s2jh :: module :: core-service .................... SUCCESS [2.047s] [INFO] s2jh :: module :: project-tools ................... SUCCESS [0.381s] [INFO] s2jh :: module :: common-service .................. SUCCESS [34.837s] [INFO] s2jh :: module :: crawl-service ................... SUCCESS [0.506s] [INFO] s2jh :: module :: bpm-service ..................... SUCCESS [5.938s] [INFO] s2jh :: prototype ................................. FAILURE [11.031s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:11.543s [INFO] Finished at: Sat Jun 21 11:48:55 CST 2014 [INFO] Final Memory: 16M/1015M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project prototype: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir /Users/flanliulf/git/flanliulf-s2jh/prototype/src/main/deploy/${deploy.env}/webResources does not exist -> [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 :prototype