← Back to team overview

dhis2-devs team mailing list archive

Maven for OpenMRS and IzPack

 

Info on OpenMRS built with Maven. I am also thinking of adding IzPack plugin
to our pom.xml so we can build an installer using Maven.

Knut

---------- Forwarded message ----------
From: Matt Blanchette <matt.blanchette@xxxxxxxxx>
Date: Fri, Nov 13, 2009 at 5:50 PM
Subject: [OPENMRS-DEV] Maven omod plugin and OpenMRS build
To: openmrs-devel-l@xxxxxxxxxxxxxxxxxx


Hello everyone,

I'm working with Bruce MacLeod and Brent Atkinson on the MoTECH project
(Bruce previously introduced us in the forum).

We're using Maven for development of our OpenMRS module for the project.
I've seen some discussions about Maven in the past and wanted to bring up
our use of it with OpenMRS and get some feedback.

Maven Plugin for OpenMRS Module:

Brent has developed an OpenMRS module (omod) Maven Plugin for use in our
project.
The main purpose is to build an artifact with the omod extension when the
project packaging is omod.
Other actions provided by the plugin include:
* Automatically includes compile or runtime scoped dependencies (and their
transitive dependencies) in the omod lib folder.
* Provides means to automatically manage list of hibernate mapping files for
use in config.xml and hibernate configuration.
* Verifies the structure of omod based on the config.xml file.
This plugin is still in development and is currently hosted in our Apache
Archiva repository.
Here is the generated site for the project:
http://motech.rcg.usm.maine.edu/projects/maven-openmrs-plugin/
http://motech.rcg.usm.maine.edu/projects/maven-openmrs-plugin/

Maven Build of OpenMRS:

I have setup a Maven build of OpenMRS 1.5.0, starting from the tagged
release.
The main purpose of this build was to explore the possibility of a Maven
build for OpenMRS and to also better understand the dependencies and their
versions.
We are not using this build or its artifacts for our module project. The
OpenMRS artifacts used in our module project were built using the Ant build
and installed in our Archiva repository.
This Wiki provides example usages and also reasons for the changes:
https://motech.rcg.usm.maine.edu/redmine/wiki/openmrs-maven/Usage
https://motech.rcg.usm.maine.edu/redmine/wiki/openmrs-maven/Usage

Thanks,

Matt Blanchette
--
View this message in context:
http://n2.nabble.com/Maven-omod-plugin-and-OpenMRS-build-tp4000338p4000338.html
Sent from the Developers mailing list archive at Nabble.com.

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
LISTSERV@xxxxxxxxxxxxxxxxxx with "SIGNOFF openmrs-devel-l" in the  body (not
the subject) of your e-mail.

[mailto:LISTSERV@xxxxxxxxxxxxxxxxxx?body=SIGNOFF%20openmrs-devel-l]



-- 
Cheers,
Knut Staring