您这个问题解决了吗? 2013-09-22
toudsf 发件人:qin wu <wqxiaoaojian...@gmail.com> 发送时间:2013-08-12 20:41 主题:在windows下编译cloudstack4.1.1 收件人:"cloudstack-users...@incubator.apache.org"<cloudstack-users...@incubator.apache.org> 抄送: 我按照《1 cloudstack开发环境设置-windows篇》进行了配置,尝试编译4.1.1。命令: mvn clean install -P systemvm ,developer但出现一下问题 main: [delete] Deleting directory C:\workspace\cloudstack\tools\marvin\marvin\cloudstackAPI [INFO] Executed tasks [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-marvin --- [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (package) @ cloud-marvin --- Traceback (most recent call last): File "setup.py", line 19, in <module> from setuptools import setup ImportError: No module named setuptools [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack ................................. SUCCESS [9.312s] [INFO] Apache CloudStack Utils ........................... SUCCESS [36.469s] [INFO] Apache CloudStack API ............................. SUCCESS [56.156s] [INFO] Apache CloudStack Core ............................ SUCCESS [18.157s] [INFO] Apache CloudStack Agents .......................... SUCCESS [32.765s] [INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [4.094s] [INFO] Apache CloudStack Console Proxy ................... SUCCESS [35.031s] [INFO] Apache CloudStack Framework ....................... SUCCESS [0.250s] [INFO] Apache CloudStack Framework - IPC ................. SUCCESS [13.313s] [INFO] Apache CloudStack Framework - REST ................ SUCCESS [10.765s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.219s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [11.391s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [4.265s] [INFO] Apache CloudStack Server .......................... SUCCESS [1:50.313s] [INFO] Apache CloudStack Usage Server .................... SUCCESS [38.531s] [INFO] Apache XenSource XAPI ............................. SUCCESS [15.750s] [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.953s] [INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [13.625s] [INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [8.891s] [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [4.875s] [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SUCCESS [4.484s] [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SUCCESS [4.828s] [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [4.407s] [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [7.000s] [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [4.531s] [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [14.953s] [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [7.656s] [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [10.406s] [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [30.282s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [7.297s] [INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SUCCESS [11.765s] [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer SUCCESS [5.578s] [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [16.438s] [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SUCCESS [9.062s] [INFO] Apache CloudStack Plugin - Storage Allocator Random SUCCESS [3.719s] [INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [3.719s] [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [3.906s] [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SUCCESS [4.078s] [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted SUCCESS [6.344s] [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [3.687s] [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [8.657s] [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [3.015s] [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [10.219s] [INFO] Apache CloudStack Plugin - Storage Volume solidfire SUCCESS [5.656s] [INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [5.203s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [3.547s] [INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [10.438s] [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [1.734s] [INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS [5.578s] [INFO] Apache CloudStack Engine Storage Image Motion Component SUCCESS [15.235s] [INFO] Apache CloudStack Engine Storage Snapshot Component SUCCESS [5.406s] [INFO] Apache CloudStack Client UI ....................... SUCCESS [2:35.078s] [INFO] Apache CloudStack Test ............................ SUCCESS [38.703s] [INFO] Apache CloudStack Engine Storage integration test Component SUCCESS [16.938s] [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [32.578s] [INFO] Apache CloudStack Developer Tools ................. SUCCESS [1.390s] [INFO] Apache CloudStack apidoc Tools .................... SUCCESS [1:55.735s] [INFO] Apache CloudStack DevCloud ........................ SUCCESS [1.234s] [INFO] Apache CloudStack DevCloud-KVM .................... SUCCESS [0.469s] [INFO] Apache CloudStack Developer Tools: marvin ......... FAILURE [20.797s] [INFO] Apache CloudStack Developer Tools: cloudmonkey cli SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17:28.546s [INFO] Finished at: Mon Aug 12 20:27:26 CST 2013 [INFO] Final Memory: 34M/91M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project cloud-marvinue: 1) -> [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 :cloud-marvin 而使用:mvn clean install -P systemvm,则编译成功,这两条命令区别在什么地方?该如何解决呢?