Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Automatic Using the Maven Archetype

The easiest way to create a module is to Use the Module Maven Archetype.

It will create the project skeleton and a pom.xml file with all the dependencies for OpenMRS APIs and modules.

Video Guide from OpenMRS University

  1. Creating an OpenMRS Module using the Maven Archetype - Part 1
  2. Creating an OpenMRS Module using the Maven Archetype - Part 2
  3. Adobe Connect Playback

Manual Step by Step Instructions

There is really no reason to do anything other than use the maven archetype (see above), but if you want to create the module structure manually:

  1. See How create an OpenMRS module
  2. Build your module using maven.  "mvn package" at command line or "right click on project, run as --> maven package"
  3. Try out your module
    1. Go to your openmrs installation Administration-->Manage Modules
    2. Choose Upload and browse to the "omod/target" folder in your checked out code. choose the latest.omod file
  4. Document your module
    • Modules should have a home page that describes their purpose, features, instructions, known issues, etc.
    • Feel free to create a wiki page for your module on this wiki. Your page should be called "FooBar Module" if you have created a module called FooBar.
    • Create it as a child of the Active Projects page
  5. Publish the resulting .omod file
  • No labels