These instructions are for installing the java-libs artifact to your local maven artifacts repository, so it can be referenced by your project.
Installing
- Actually, you'll first need to clone the java-libs repo to your machine.
- Then run
mvn clean install
inside the new directory created with the cloned repo.
Using
After you install the artifact, you can use it in your project by adding a dependency to your project's pom.xml file:
<dependency>
<groupId>openehr</groupId>
<artifactId>ref_impl_java</artifactId>
<version>1.0.11-SNAPSHOT</version>
<dependency>
How do I know the parameters above? By looking at the java-libs' pom.xml file.
EDIT: As @Jack pointed, one should reference the specific library needed as dependency, like:
<dependency>
<groupId>openehr</groupId>
<artifactId>archetype-validator</artifactId>
<version>1.0.11-SNAPSHOT</version>
<dependency>