Sonar default, meet "container state was: CONSTRUCTED"

Posted by larry cai on Stack Overflow See other posts from Stack Overflow or by larry cai
Published on 2010-04-07T06:10:17Z Indexed on 2010/04/10 15:23 UTC
Read the original article Hit count: 457

Filed under:
|

Environment: hudson/sonar/maven2 in ubuntu locally with default parameters

And I got the log from hudson below, I can't figure out where is the problem.

[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

And I notice it also has problem when run it command line without hudson

mvn sonar:sonar

© Stack Overflow or respective owner

Related posts about sonar

Related posts about maven-2