Developer Jahia 7.3

How can I create a module with Jahia 7?

Question

How can I create a module for Jahia 7?

Answer

To create the skeleton of a module for this version, you can: 

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://repo.maven.apache.org/maven2 -DarchetypeGroupId=org.jahia.archetypes -DarchetypeArtifactId=jahia-module-archetype -DarchetypeVersion=2.8 -Dversion=1.0-SNAPSHOT "-DmoduleName=sample" -DartifactId=sample -DdigitalFactoryVersion=7.3.10.0 -DinteractiveMode=false
  • Once the module generated, you can build it and copy the jar to the folder JAHIA_HOME/digital-factory-data/modules. Then, it will be available in the studio.