Archetype Project to create an OpenCms Module with Maven.
OpenCms is a Content Management System that is based on Open Source Software. Complex Intranet and Internet websites can be quickly and cost-effectively created, maintained and managed.
This archetypes allows you to generate a template for an OpenCms Module Package.
So, creating the template of the Opencms-Module is as easy as executing:
mvn archetype:generate -DarchetypeCatalog=http://bp-cms-commons.sourceforge.net/m2repo Select option 1, set properties and that's all!
after calling 'mvn archetype:generate' the following Properties must be defined.
Choose archetype: 1: ... -> opencms-module-archetype (Create an OpenCms Module with Maven. Version 1.0) Choose a number: (1): 1 Define value for property 'groupId': : at.infonova.opencms.modules.demo Define value for property 'artifactId': : at.infonova.opencms.modules.demo.content Define value for property 'version': 1.0-SNAPSHOT: Define value for property 'package': at.infonova.opencms.modules.demo: at.infonova.opencms.modules.demo.content Define value for property 'projectName': : Demo Module Content
The artifactId should be a full qualified name. This will be the name of your OpenCms Module.
Maven Repository: http://bp-cms-commons.sourceforge.net/m2repo/
Maven Site Documentation: http://bp-cms-commons.sourceforge.net/m2site/