環境:哈德森/聲納/ 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