-
Templating and Integration Guide
- Part 1: Concepts
- Part 2: Modules
- Part 3: Templates and Studio
- Part 4: Content Definitions and Views
- Part 5: Advanced Techniques
- Part 6: Setting up an integration environment
- Part 7: Step by step integration
- Further reading and resources
Module creation
Modules can be created manually or using a maven archetype. As the second solution is much faster and safer, we will present this one.
First, place yourself in the folder that will contain your module folder
Next, use one of the following command lines; the first one if you have an internet connection and no firewall issue or the second one if you’ve downloaded the Jahia SDK and/or can’t reach the Jahia’s maven online repository
mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2
mvn archetype:generate –DarchetypeCatalog=local
The prompt will ask you four questions
Choose a number: 3
(The module type you want to create, 3 for a simple module, 5 for a templates set)
Define value for property 'artifactId': the-name-you-want
(the identification of your module, will be used to name the root folder of your module)
Define value for property 'jahiaPackageVersion': 6.6.0
this is the version number your Jahia
Define value for property 'moduleName': the name you want
This is the comprehensive name of the module (just a display name, you can use spaces and accentuated characters), this name will also be used to lookup the resource bundle file (by removing the spaces).

