Skip to content

usnistgov/v2-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HL7 Validation Library

Dependencies

The project has two external dependencies :

xml-util

  • GitHub Repository : https://github.com/usnistgov/xml-util
  • Jar File Location : /dependencies/xml-util-2.1.0/xml-util-2.1.0.jar
  • POM File Location : /dependencies/xml-util-2.1.0/xml-util-2.1.0.pom
  • Maven :
    <groupId>gov.nist</groupId>
    <artifactId>xml-util</artifactId>
    <version>2.1.0</version>
    

validation-report

  • GitHub Repository : https://github.com/usnistgov/validation-report
  • Jar File Location : /dependencies/validation-report-1.1.0/validation-report-1.1.0.jar
  • POM File Location : /dependencies/validation-report-1.1.0/validation-report-1.1.0.pom
  • Maven :
    <groupId>com.github.hl7-tools</groupId>
    <artifactId>validation-report</artifactId>
    <version>1.1.0</version>
    

Installing JARs to local M2

  1. Open terminal
  2. Navigate to "dependencies" folder from root of the project (v2-validation)
  3. Install xml-utils, run command :
    mvn install:install-file 
    -Dfile=xml-util-2.1.0/xml-util-2.1.0.jar
    -DpomFile=xml-util-2.1.0/xml-util-2.1.0.pom
    
  4. Install validation-report, run command :
    mvn install:install-file 
    -Dfile=validation-report-1.1.0/validation-report-1.1.0.jar
    -DpomFile=validation-report-1.1.0/validation-report-1.1.0.pom
    

Build :

  1. First install Scala Build Tool (sbt) : http://www.scala-sbt.org/
  2. Make sure you have installed the external dependencies to your maven repository
  3. Run "sbt" command on project root directory
  4. To run tests you can use "test" command
  5. To build the tool you can use "compile" command