环境:哈德森/声纳/ maven2的在Ubuntu本地使用默认参数声纳默认情况下,满足“集装箱状态是:制作”
而且我得到了从下面哈德森日志,我想不通问题出在哪里。
[INFO] Sonar host: http://localhost:9000 [INFO] Sonar version: 2.0.1 [INFO] [sonar-core:internal {execution: default-internal}] [INFO] Database dialect class org.sonar.api.database.dialect.Derby [INFO] ------------- Analyzing Game of Life business logic module [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can not execute Sonar Embedded error: Can not analyze the project Cannot stop. Current container state was: CONSTRUCTED [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Can not execute Sonar
而且我发现它也有问题,当没有哈德森运行命令行
mvn sonar:sonar
我不会在这里附上,请参阅http://pastebin.com/x85ui2qB获取日志文件。 – 2010-04-09 13:58:13