java - How to install and use openEHR libraries with maven -
i need use these libraries https://github.com/openehr/java-libs netbeans , installation guide tells do:
requirements: java 1.6 or higher maven 3.0.4 or higher instalation instructions: installation: java-libs/mvn clean install
i meet java requirements , netbeans has bundled maven 3.0.5, can't find way install , use libraries in java project, me?
these instructions installing java-libs artifact local maven artifacts repository, can referenced project.
installing
- actually, you'll first need clone java-libs repo machine.
- then run
mvn clean install
inside new directory created cloned repo.
using
after install artifact, can use in project adding dependency project's pom.xml file:
<dependency> <groupid>openehr</groupid> <artifactid>ref_impl_java</artifactid> <version>1.0.11-snapshot</version> <dependency>
how know parameters above? looking @ java-libs' pom.xml file.
edit: @jack pointed, 1 should reference specific library needed dependency, like:
<dependency> <groupid>openehr</groupid> <artifactid>archetype-validator</artifactid> <version>1.0.11-snapshot</version> <dependency>
Comments
Post a Comment