How can I add my maven 1 project which uses extends?

If you want to add a project that extends an other, you must add the parent project. When you add a project with sub-projects, Continuum will add all sub-projects, so you need to provide a URL instead of uploading a POM so that Continuum can find all sub-projects.

How can I add my maven 2 project with modules?

If your project has modules, you need to provide a URL instead of uploading a POM. When you add a project with modules, Continuum will add all sub-projects, and this only works by submitting a URL.

How does Continuum detect a successful build?

Continuum uses the command line return code for detecting a successful or failed execution.

If you use maven or ant, you need to add the following line at the end of maven.bat and ant.bat :

if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERRORLEVEL%

If your bat file contains an exit /B at the end, this line must be inserted before it.

This part is for Continuum < 1.0.2 You must also add the following lines at the begin of $CONTINUUM/bin/win32/run.bat, if you run Continuum from the command line :

@echo off set MAVEN_TERMINATE_CMD=on

or this line in wrapper.conf, if you run Continuum as a service (works with command line too) :

set.MAVEN_TERMINATE_CMD=on

You can download fixed scripts for ant and maven here.

Can I use file protocol in Add Project view?

File protocol is disabled by default for security reasons. In Continuum 1.1, you can allow it in $CONTINUUM_HOME/apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml

Uncomment the following line :

file
I'm running on Windows, and Continuum can't log in to my CVS repository! What's going on?

You're probably running the CVSNT client, or another application based on it, like TortoiseCVS. CVSNT stores passwords in the registry, rather than the ~/.cvspass file. You'll need to issue the following command manually (but only once), with the appropriate information filled in:

cvs -d :pserver:account@cvsserver:2401:/rootfolder login

Also, note that the login will only be saved for the particular user who typed it. If you're running Continuum as a service, double-check the user it is running as, and make sure that you run cvs login as that user.

How to configure jabber notifier for google talk?

Jabber Host : talk.google.com
Jabber Port : 5222
Jabber Login : your google talk login without '@gmail.com'
Jabber Domain Name : gmail.com
Is it a SSL Connection? false

Why does Continuum builds keep failing with password is required even if I'm using anonymous or no password in CVS?

If you keep getting this build error on your projects:

Exception: Cannot checkout sources. Exception while executing SCM command. password is required

Modify the SCM URL of your Continuum Project from something like this:

scm:cvs:pserver:username@servername:path_to_repository:module_name

to something like this:

scm:cvs:pserver:username:@servername:path_to_repository:module_name

Please note the : before @servername. Save changes and try to build again, this time checkout should succeed.

You can learn more about SCM URLs here.

How can I run Continuum on a different port? I already have application X running on port 8000/8080.

Continuum uses two ports. Port 8000 is used for XML-RPC calls and port 8080 is used by the instance of Jetty that supplies the web interface for Continuum.

If you have another application already running on port 8000/8080, you will get an exception when you start Continuum. If you want to change the port that Continuum uses you should edit the file apps/continuum/conf/application.xml. Find the following section in that file:

... jetty ${plexus.home}/lib/continuum-web-1.0.2.jar /continuum ${plexus.home}/webapp 8080 xml-rpc 8000 org.apache.maven.continuum.xmlrpc.ContinuumXmlRpc continuum ...

Change the appropriate <port> elements to the port numbers you want for jetty and xml-rpc. You need to restart Continuum for the changes to take effect.

How can I build the entire project recursively from the parent?

If you want to build recursively from the parent, you have to remove the --non-recursive or -N argument under the "Build Definitions" section of your parent project. Or use the checkbox "For multi modules project, load only root as recursive build" when adding a m2 project.

Ensure that your entire project can be checked out using the SCM URL in your parent project.

For CVS users who have each child project in a separate module, you have several options:

  • Refactor the CVS directory structure to a more standard one (i.e. a module with the parent POM at the base and child projects as subdirectories)
  • Keep the structure and create a new module that contains a parent POM and a list of symbolic links to your actual CVS modules
  • These options ensure that your child projects will not be checked out into separate numbered working directories. Instead, they will be checked out correctly under a single working directory.

    Why $CONTINUUM/bin/macosx/run.sh doesn't work for me?

    On some MacOS X version, The Java Service Wrapper used by Continuum doesn't work with an error like this:

    $ run.sh console Running continuum... wrapper | --> Wrapper Started as Console dyld: lazy symbol binding failed: Symbol not found: _ftime

    You can run $CONTINUUM/bin/plexus.sh instead.

    Why $CONTINUUM/bin/solaris/run.sh doesn't work for me?

    This script is only for sparc processor. If you have an Intel processor, you must run $CONTINUUM/bin/plexus.sh instead.

    How can I build projects with a scm post-commit hook?

    If your SCM support hook scripts, you'll need to write an xml-rpc client for Continuum and call it in your post-commit script.

    When I had a maven2 project I always have goals clean install and arguments --batch-mode --non-recursive?

    You have to modify the file application.xml (located in WEB-INF/classes/META-INF/plexus). Find the line with org.apache.maven.continuum.configuration.ConfigurationService and the values in default-goals and default-arguments. org.apache.maven.continuum.configuration.ConfigurationService org.apache.maven.continuum.configuration.DefaultConfigurationService org.apache.maven.continuum.store.ContinuumStore jdo store ${plexus.home} uncomment the component the replace here to override default-goals and default-arguments clean:clean jar:install clean install -B -N