Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

New developers can start here. Step-by-step on how to create a new project and import it into Eclipse IDE.


  • Java 8 JDK Installed
  • Maven Installed
    • Suggested Maven 3.3+
    • settings.xml created (See Maven setup).

Create the project

New Magnolia projects start with the archetype.

From the command line run:

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=

Choose archetype:
1: An archetype to create STK Theme modules
2: An archetype to create a Magnolia project (a parent pom and a webapp)
3: An archetype to create basic Magnolia modules
4: An archetype to create a Magnolia module to be hosted on the Magnolia Forge
5: An archetype to create Magnolia modules using Blossom

Each archetype can have it's own set of versions.

Choose info.magnolia.maven.archetypes:magnolia-project-archetype version:
1: 1.1.0
2: 1.2.0
3: 1.2.1
4: 1.2.2
5: 1.2.3-SNAPSHOT

Define the project:

packagecom.mycompany.webapps (press enter key to accept)

Webapp types

  • Community or Enterprise
  • Enterprise Std or Enterprise pro
  • Empty Webapp

parent pom
<!-- Option A -->
<!-- Importing dependencyManagement of CE bundle. -->

<!-- Option B -->
<!-- If you want to use the Enterprise Edition. -->

  • No labels