create app/module:

mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2

Select the option (ex : 4 - jahia-app-archetype for a new JahiApp )
and enter the required data:
- artifactId - Maven artifact ID for your module project (e.g. myapp)
- jahiaPackageVersion - target Jahia version (e.g. 6.6.0.0)
- moduleName - the module name (e.g. myapp)


compile/deploy:

mvn install jahia:deploy