Skip to content

Instantly share code, notes, and snippets.

@ssmusoke
Created June 25, 2019 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssmusoke/180fd898e398a8d010c40e55835e8734 to your computer and use it in GitHub Desktop.
Save ssmusoke/180fd898e398a8d010c40e55835e8734 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.openmrs.module</groupId>
<artifactId>aijar</artifactId>
<version>2.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Aijar</name>
<description>Customizations for Uganda OpenMRS distribution</description>
<url>https://wiki.openmrs.org/display/docs/aijar+Module+Module</url>
<developers>
<developer>
<name>Charles Olupot</name>
</developer>
<developer>
<name>Jonathan Mpango</name>
</developer>
<developer>
<name>Samuel Lubwama</name>
</developer>
<developer>
<name>Simon Peter Muwanga</name>
</developer>
<developer>
<name>Stephen S. Musoke</name>
</developer>
</developers>
<organization>
<name>Monitoring and Evaluation Technical Support Project (METS)</name>
<url>http://mets.or.ug</url>
</organization>
<scm>
<connection>scm:git:git@github.com:METS-Programme/openmrs-module-aijar.git</connection>
<developerConnection>scm:git:git@github.com:METS-Programme/openmrs-module-aijar.git</developerConnection>
<url>scm:git:https://github.com/METS-Programme/openmrs-module-aijar</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>api</module>
<module>omod</module>
<module>tools</module>
</modules>
<properties>
<openMRSVersion>2.0.6</openMRSVersion>
<openmrsTestutilsVersion>1.3</openmrsTestutilsVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webservices.restModuleVersion>2.24.0</webservices.restModuleVersion>
<!-- Modules Bundled for Uganda distribution -->
<!-- TODO: Arrange the dependencies and variables in alphabetical order -->
<!-- TODO: Remove dependencies on API where omods are available -->
<adminuiVersion>1.2.3</adminuiVersion>
<addresshierarchyVersion>2.11.0</addresshierarchyVersion>
<allergyuiVersion>1.6</allergyuiVersion>
<appframeworkVersion>2.11.0</appframeworkVersion>
<appuiVersion>1.9.0</appuiVersion>
<appointmentschedulingVersion>1.7.0</appointmentschedulingVersion>
<appointmentschedulinguiVersion>1.5.0</appointmentschedulinguiVersion>
<calculationVersion>1.2</calculationVersion>
<coreappsVersion>1.22.0</coreappsVersion>
<databaseBackupVersion>1.3.0</databaseBackupVersion>
<dataEntryStatisticsVersion>1.6.0</dataEntryStatisticsVersion>
<dataexchangeVersion>1.3.2</dataexchangeVersion>
<dataintegrityVersion>4.4.1</dataintegrityVersion>
<emrapiVersion>1.27.0</emrapiVersion>
<eventVersion>2.6.0</eventVersion>
<fhirVersion>1.13.0</fhirVersion>
<formentryappVersion>1.4.2</formentryappVersion>
<formfilterVersion>1.0.0</formfilterVersion>
<htmlformentryuiVersion>1.7.0</htmlformentryuiVersion>
<htmlformentryVersion>3.8.0</htmlformentryVersion>
<htmlwidgetsVersion>1.9.0</htmlwidgetsVersion>
<idgenVersion>4.5.0</idgenVersion>
<jacksonVersion>1.8.3</jacksonVersion>
<junitParamsVersion>1.0.4</junitParamsVersion>
<legacyuiVersion>1.4.0</legacyuiVersion>
<metadatadeployVersion>1.10.0</metadatadeployVersion>
<metadatamappingVersion>1.3.4</metadatamappingVersion>
<metadatasharingVersion>1.5.0</metadatasharingVersion>
<openconceptlabVersion>1.1</openconceptlabVersion>
<openwebappsVersion>1.9.0</openwebappsVersion>
<patientFlagsVersion>3.0.0</patientFlagsVersion>
<providermanagementVersion>2.10.0</providermanagementVersion>
<referenceapplicationVersion>2.6.0</referenceapplicationVersion>
<referencemetadataVersion>2.6.0</referencemetadataVersion>
<registrationappVersion>1.12.0</registrationappVersion>
<registrationcoreVersion>1.8.0</registrationcoreVersion>
<reportingRestVersion>1.10.0</reportingRestVersion>
<reportingVersion>1.16.0</reportingVersion>
<reportingCompatibilityVersion>2.0.6</reportingCompatibilityVersion>
<reportingUIVersion>1.6.0</reportingUIVersion>
<serializationxstreamVersion>0.2.14</serializationxstreamVersion>
<uicommonsVersion>2.6.1</uicommonsVersion>
<uiframeworkVersion>3.15.0</uiframeworkVersion>
<uilibraryVersion>2.0.6</uilibraryVersion>
<ugandaemrfingerprintVersion>1.0.8</ugandaemrfingerprintVersion>
<xformsVersion>4.3.12</xformsVersion>
<!-- core configuration library -->
<ugandaemrReportsVersion>2.0.9</ugandaemrReportsVersion>
<!-- Open Web Apps -->
<sysadminVersion>1.1</sysadminVersion>
</properties>
<dependencyManagement>
<dependencies>
<!--
Libraries to add as dependencies with compile or runtime scope:
Find matching dependencies in the maven central repository.
<dependency>
<groupId>org.other.library</groupId>
<artifactId>library-name</artifactId>
<version>library.version</version>
<scope>compile</scope>
</dependency>
-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>test</scope>
</dependency>
<!-- Begin OpenMRS core -->
<dependency>
<groupId>org.openmrs.api</groupId>
<artifactId>openmrs-api</artifactId>
<version>${openMRSVersion}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.web</groupId>
<artifactId>openmrs-web</artifactId>
<version>${openMRSVersion}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.api</groupId>
<artifactId>openmrs-api</artifactId>
<version>${openMRSVersion}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.web</groupId>
<artifactId>openmrs-web</artifactId>
<version>${openMRSVersion}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.test</groupId>
<artifactId>openmrs-test</artifactId>
<version>${openMRSVersion}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>${jacksonVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${jacksonVersion}</version>
<scope>provided</scope>
</dependency>
<!-- End OpenMRS core -->
<!-- custom module -->
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>addresshierarchy-api</artifactId>
<version>${addresshierarchyVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>appframework-api</artifactId>
<version>${appframeworkVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>appui-omod</artifactId>
<version>${appuiVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>calculation-api</artifactId>
<version>${calculationVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>dataexchange-api</artifactId>
<version>${dataexchangeVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>dataintegrity-api</artifactId>
<version>${dataintegrityVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api</artifactId>
<version>${emrapiVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api-1.12</artifactId>
<version>${emrapiVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>emrapi-api-pre2.2</artifactId>
<version>${emrapiVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs</groupId>
<artifactId>event-api</artifactId>
<version>${eventVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>fhir-api</artifactId>
<version>${fhirVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>formentryapp-omod</artifactId>
<version>${formentryappVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentryui-api</artifactId>
<version>${htmlformentryuiVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api</artifactId>
<version>${htmlformentryVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api-1.10</artifactId>
<version>${htmlformentryVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>htmlformentry-api-2.0</artifactId>
<version>${htmlformentryVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>idgen-api</artifactId>
<version>${idgenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>legacyui-omod</artifactId>
<version>${legacyuiVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatadeploy-api</artifactId>
<version>${metadatadeployVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatamapping-api</artifactId>
<version>${metadatamappingVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>metadatasharing-api</artifactId>
<version>${metadatasharingVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>patientflags-api</artifactId>
<version>${patientFlagsVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>providermanagement-api</artifactId>
<version>${providermanagementVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>referenceapplication-omod</artifactId>
<version>${referenceapplicationVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>registrationcore-api</artifactId>
<version>${registrationcoreVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>registrationapp-api</artifactId>
<version>${registrationappVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>reporting-api</artifactId>
<version>${reportingVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>reporting-api-1.9</artifactId>
<version>${reportingVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>reportingcompatibility-api</artifactId>
<version>${reportingCompatibilityVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>serialization.xstream-api</artifactId>
<version>${serializationxstreamVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>serialization.xstream-api-2.0</artifactId>
<version>${serializationxstreamVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.contrib</groupId>
<artifactId>testutils</artifactId>
<version>${openmrsTestutilsVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>uiframework-api</artifactId>
<version>${uiframeworkVersion}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
<version>${junitParamsVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openmrs.module</groupId>
<artifactId>webservices.rest-omod-common</artifactId>
<version>${webservices.restModuleVersion}</version>
<scope>test</scope>
</dependency>
<!-- upgrade to Apache HTTP Components to enable sending of multipart data -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.5</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/webapp</directory>
<filtering>true</filtering>
<excludes>
<exclude>resources</exclude>
</excludes>
<targetPath>web/module</targetPath>
</resource>
<resource>
<directory>src/main/webapp</directory>
<filtering>false</filtering>
<includes>
<include>resources</include>
</includes>
<targetPath>web/module</targetPath>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>1.7</target>
<source>1.7</source>
</configuration>
</plugin>
<plugin>
<groupId>org.openmrs.maven.plugins</groupId>
<artifactId>maven-openmrs-plugin</artifactId>
<version>1.0.1</version>
<extensions>true</extensions>
<executions>
<execution>
<id>init</id>
<phase>initialize</phase>
<goals>
<goal>initialize-module</goal>
</goals>
</execution>
<execution>
<id>pack</id>
<phase>package</phase>
<goals>
<goal>package-module</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>Expand moduleApplicationContext and messages</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<includeGroupIds>${project.parent.groupId}</includeGroupIds>
<includeArtifactIds>${project.parent.artifactId}-api</includeArtifactIds>
<excludeTransitive>true</excludeTransitive>
<includes>**/*</includes>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<archive>
<manifestEntries>
<Build-Timestamp>${TIMESTAMP}</Build-Timestamp>
<Specification-Version>${openmrs.version.shortnumericonly}</Specification-Version>
<Specification-Vendor>${openmrs.version.long}</Specification-Vendor>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<repository>
<id>openmrs-repo-modules</id>
<name>OpenMRS Modules</name>
<url>https://mavenrepo.openmrs.org/nexus/content/repositories/modules</url>
</repository>
<snapshotRepository>
<id>openmrs-repo-snapshots</id>
<name>OpenMRS Snapshots</name>
<url>https://openmrs.jfrog.io/openmrs/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>https://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>https://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment