Tutorial that shows how to access and clone a project from the Git repository using IDEA from IntelliJ.


This tutorial provides step-by-step instructions on how to:

  • Retrieve and clone a project from the Magnolia Git repository
  • Import Maven projects

Git and IntelliJ IDEA

Git and IntelliJ IDEA are third party software. More background and details can be found in the on-line book Pro Git and in Git usage. Earlier source code is still available via Subversion (SVN). Note that certain Magnolia CMS files may still contain references to SVN URLs.

See also:

Using IntelliJ to access the Magnolia CMS codebase on Git

Magnolia CMS source code needs to be retrieved from Magnolia's Git repository in order to build and modify the code.

To retrieve the source code from the Git repository :

  1. Select Check out from Version Control
  2. Enter the URL to clone from the Magnolia Git repository, together with the Parent Directory and the Directory Name.
  3. Click Clone.
  4. Click Yes to open the newly created project.


To check if the repository URL is valid use the Test button before trying to clone the repository.

Checking out a specific tag

To use a specific file version (indicated by 'tags' in Git) for your Magnolia build.

  1. From the IDEA main menu select VCS > Git > Branches
  2. In the dialog, click Checkout Tag or Revision
  3. In the edit field type the specific tag to check out.
  4. After retrieving the code, you need to Import Changes in Maven.


You can find tags by browsing the Magnolia Git repository on the web, for example http://git.magnolia-cms.com/gitweb/?p=magnolia_main.pub.git;a=tags

Next: Create IDEA runtime configuration