Geomajas Community Documentation

4.2. Plug-in creation

To add a plug-in to the Geomajas project, you should write a proposal which is sent to the Geomajas developers mailing list (majas-dev). It will be discussed and once some kind of consensus seems to be reached, you can initiate a vote to allow creation of the plug-in. The vote should contain the following details

  • plug-in name

  • plug-in lead

  • general description

  • technical description

If the persons developing the plug-in don't have commit rights yet, they can get a directory in the sandbox (a part of our version control system) where they can prove their skills until they get full commit rights.

When the vote is accepted and commit rights are in place, the plug-in can be moved to trunk and a jira module and continuous integration can be set up. The module should also be added to the aggregate.sh file (which assures all documentation can be found in one place), and it should be added in the geomajas-dep pom (until the first release, it should be commented in that file).

To start the actual coding, we have provided a plug-in archetype which can be used using the following command line (to use the latest release):

mvn archetype:generate -DarchetypeCatalog=http://apps.geomajas.org/nexus/content/groups/released/

Example 4.3. Create project using GWT Maven archetype


Alternatively, you can use the very latest (snapshot) archetype using the following command.

mvn archetype:generate -DarchetypeCatalog=http://apps.geomajas.org/nexus/content/groups/latest/

Example 4.4. Create project using GWT Maven archetype


You first have to select the archetype you want to build (geomajas-plugin-archetype). Then it will ask you the "groupId", "artifactId", version and base package. Once you confirmed the settings, the project will be created in a sub-directory with a name equalling the "artifactId" you choose.