OpenLMIS Service Util

This library contains code that is shared between Services.

License

License

GroupId

GroupId

org.openlmis
ArtifactId

ArtifactId

openlmis-service-util
Last Version

Last Version

3.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

OpenLMIS Service Util
This library contains code that is shared between Services.
Project URL

Project URL

https://openlmis.org
Source Code Management

Source Code Management

https://github.com/openlmis/openlmis-service-util

Download openlmis-service-util

How to add to project

<!-- https://jarcasting.com/artifacts/org.openlmis/openlmis-service-util/ -->
<dependency>
    <groupId>org.openlmis</groupId>
    <artifactId>openlmis-service-util</artifactId>
    <version>3.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.openlmis/openlmis-service-util/
implementation 'org.openlmis:openlmis-service-util:3.1.0'
// https://jarcasting.com/artifacts/org.openlmis/openlmis-service-util/
implementation ("org.openlmis:openlmis-service-util:3.1.0")
'org.openlmis:openlmis-service-util:jar:3.1.0'
<dependency org="org.openlmis" name="openlmis-service-util" rev="3.1.0">
  <artifact name="openlmis-service-util" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.openlmis', module='openlmis-service-util', version='3.1.0')
)
libraryDependencies += "org.openlmis" % "openlmis-service-util" % "3.1.0"
[org.openlmis/openlmis-service-util "3.1.0"]

Dependencies

compile (6)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.8
commons-beanutils : commons-beanutils jar 1.9.3
org.hibernate.javax.persistence : hibernate-jpa-2.1-api jar 1.0.0.Final
org.joda : joda-money jar 0.12
javax.validation : validation-api jar 1.1.0.Final
org.slf4j : slf4j-api jar 1.7.16

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

OpenLMIS Service Util

This library contains code that is shared between Services.

Prerequisites

  • Docker 1.11+
  • Docker Compose 1.6+

Quick Start

  1. Fork/clone this repository from GitHub.
git clone https://github.com/OpenLMIS/openlmis-service-util.git
  1. Assemble the outputs of project and create jar file by running docker-compose run builder.

Including this library in a service

  1. Add OSS Snapshot under repositories section of build.gradle.
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  1. Modify dependencies to include openlmis-service-util.
compile 'org.openlmis:openlmis-service-util:3.0.0-SNAPSHOT'

Adding shared classes

When adding utilities to this library:

  • Do not use Spring dependencies
  • When adding dependent libraries that may also be used in the services, be careful about their versions. Make sure there are no conflicts.
  • Add only Java classes
org.openlmis

OpenLMIS

Shared, open source solution for managing medical commodity distribution in low- and middle-income countries.

Versions

Version
3.1.0
3.1.0-RC1
3.0.0