Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running cruisecontrol with maven to build a Scala-project.

When I run mvn package outside cruisecontrol,the build takes less than 10 seconds, but when I invoke the build from cruisecontrol, the compilation-phase takes about 300 seconds. I am looking for hints and tips regarding how to speed up the compilation with maven.

One thing I have noticed is that CruiseControl keeps getting the error: Failed to reach dashboard instance : http://localhost:8080/dashboard/buildloop/listener either the dashboard has not started up or there is a network problem.

When I google the problem, I see that it is frequent if you don't have a in your config, but since I have this one, I am puzzled by this error.

My config.xml looks something like this:

                                password="XXX" />
                                password="XXX" />
                                goal="clean package"
                                pomfile="XXX/XXX/checkout/trunk/pom.xml" />

                <log dir="logs/remote-control-api-trunk">
                                pattern="TEST-*.xml" />
share|improve this question

config.xml is doing clean package while you mentioned doing just mvn package outside cruise control. Try running mvn clean package.

Some other things you might want to check:

  1. Maven versions used by cruise control and command line, are they same?
  2. Maven super-pom/profiles active in both invocation
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.