Skip to content

Commit ae3b0e6

Browse files
authored
Merge pull request #20 from CDCgov/libs-nist-173-cdc-imagehub
added NIST dependencies into a local /lib folder and removed pom.xml reference to nist nexus
2 parents e059e58 + 811ab95 commit ae3b0e6

File tree

16 files changed

+337
-15
lines changed

16 files changed

+337
-15
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,6 @@ hs_err_pid*
199199
# Used by previous versions of JEnv
200200
.jenv-version
201201

202+
# Allow JARs in lib/ (bundled NIST dependencies)
203+
!lib/**/*.jar
204+

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,17 @@ used for our unit tests. Inside that folder, you will find the XML files mention
5151
# NIST Dependency
5252
This project uses some 3rd party code from NIST. The source code is available at https://github.com/usnistgov/v2-validation
5353

54-
## Contact Info:
55-
56-
|Name|Email| Role |
57-
|----|-----|-------|
58-
|Snelick, Robert D.| <robert.snelick@nist.gov> | (Fed) |
59-
|Hossam Tamri | <hossam.tamri@nist.gov> | (Tech) |
60-
|Caroline Rosin | <caroline.rosin@nist.gov> | (Fed) |
61-
|Crouzier, Nicolas | <nicolas.crouzier@nist.gov> | (Assoc) |
6254

6355
## Building this project
6456

65-
NIST has its jar files available on a public Nexus repository (https://hit-nexus.nist.gov/repository/releases/). This library is currently using version 1.6.3 of the NIST library.
57+
The NIST HL7v2 validation libraries (v1.7.3) are bundled in the `lib/` directory as a local Maven repository. No external repository access is required to build. These libraries have additionally been cached and available on the CDC ImageHub Nexus repository (https://imagehub.cdc.gov/#browse/browse:maven-ede).
58+
59+
To build the project:
60+
61+
<code>mvn clean package</code>
6662

67-
To make the libraries available, make sure you run maven with the following parameters:
63+
To run tests:
6864

69-
<code>mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validtidy.dates=true {targets}</code>
65+
<code>mvn clean test</code>
7066

7167

change-log.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log - lib-hl7v2-nist-validator
22

3+
## v 1.5.0- 2026/04/03
4+
5+
- Added local lib folder with NIST artifacts dependencies
6+
7+
38
## v 1.4.0- 2025/08/29
49

510
- Updated NIST v2-validation dependency to v1.7.3
Binary file not shown.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.github.hl7-tools</groupId>
8+
<artifactId>validation-report</artifactId>
9+
<version>1.2.0</version>
10+
11+
<description>
12+
This project describes a validation report API, an abstract representation of a
13+
report entry and various utilities for transforming and manipulating the report.
14+
</description>
15+
16+
<developers>
17+
<developer>
18+
<name>Salifou Sidi M. Malick</name>
19+
</developer>
20+
</developers>
21+
22+
<properties>
23+
<finalName>${project.artifactId}</finalName>
24+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25+
<java.version>1.8</java.version>
26+
<jackson.version>2.17.0</jackson.version>
27+
<junit.version>4.13.2</junit.version>
28+
</properties>
29+
30+
<build>
31+
<finalName>${finalName}</finalName>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-compiler-plugin</artifactId>
36+
<version>3.2</version>
37+
<configuration>
38+
<source>${java.version}</source>
39+
<target>${java.version}</target>
40+
</configuration>
41+
</plugin>
42+
</plugins>
43+
</build>
44+
45+
<dependencies>
46+
47+
<dependency>
48+
<groupId>com.fasterxml.jackson.core</groupId>
49+
<artifactId>jackson-databind</artifactId>
50+
<version>${jackson.version}</version>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>junit</groupId>
55+
<artifactId>junit</artifactId>
56+
<version>${junit.version}</version>
57+
<scope>test</scope>
58+
</dependency>
59+
60+
</dependencies>
61+
62+
<distributionManagement>
63+
64+
<repository>
65+
<id>releases</id>
66+
<url>https://hit-nexus.nist.gov/repository/releases</url>
67+
</repository>
68+
69+
<snapshotRepository>
70+
<id>snapshots</id>
71+
<url>https://hit-nexus.nist.gov/repository/snapshots</url>
72+
</snapshotRepository>
73+
74+
</distributionManagement>
75+
76+
</project>
18.3 KB
Binary file not shown.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>gov.nist.hit</groupId>
5+
<artifactId>hl7-v2-schemas</artifactId>
6+
<name>hl7-v2-schemas</name>
7+
<version>1.7.2</version>
8+
<properties>
9+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10+
</properties>
11+
<build>
12+
<plugins>
13+
<plugin>
14+
<groupId>org.apache.maven.plugins</groupId>
15+
<artifactId>maven-compiler-plugin</artifactId>
16+
<version>3.8.1</version>
17+
<configuration>
18+
<source>8</source>
19+
<target>8</target>
20+
</configuration>
21+
</plugin>
22+
<plugin>
23+
<groupId>org.apache.maven.plugins</groupId>
24+
<artifactId>maven-surefire-plugin</artifactId>
25+
<version>2.22.0</version>
26+
<dependencies>
27+
<dependency>
28+
<groupId>org.apache.maven.surefire</groupId>
29+
<artifactId>surefire-junit4</artifactId>
30+
<version>2.22.0</version>
31+
</dependency>
32+
</dependencies>
33+
<configuration>
34+
<includes>
35+
<include>**/*.java</include>
36+
</includes>
37+
</configuration>
38+
</plugin>
39+
</plugins>
40+
</build>
41+
<dependencies>
42+
<dependency>
43+
<groupId>junit</groupId>
44+
<artifactId>junit</artifactId>
45+
<version>4.13.1</version>
46+
<scope>test</scope>
47+
</dependency>
48+
</dependencies>
49+
<distributionManagement>
50+
<repository>
51+
<id>hit-nexus</id>
52+
<url>https://hit-nexus.nist.gov/repository/releases</url>
53+
</repository>
54+
<snapshotRepository>
55+
<id>snapshots</id>
56+
<url>https://hit-nexus.nist.gov/repository/snapshots</url>
57+
</snapshotRepository>
58+
</distributionManagement>
59+
</project>
229 KB
Binary file not shown.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>gov.nist</groupId>
5+
<artifactId>hl7-v2-parser</artifactId>
6+
<packaging>jar</packaging>
7+
<description>hl7-v2-parser</description>
8+
<version>1.7.3</version>
9+
<name>hl7-v2-parser</name>
10+
<organization>
11+
<name>gov.nist</name>
12+
</organization>
13+
<dependencies>
14+
<dependency>
15+
<groupId>org.scala-lang</groupId>
16+
<artifactId>scala-library</artifactId>
17+
<version>2.13.10</version>
18+
</dependency>
19+
<dependency>
20+
<groupId>gov.nist</groupId>
21+
<artifactId>hl7-v2-profile</artifactId>
22+
<version>1.7.3</version>
23+
</dependency>
24+
</dependencies>
25+
<repositories>
26+
<repository>
27+
<id>HIT Nexus</id>
28+
<name>HIT Nexus</name>
29+
<url>https://hit-nexus.nist.gov/repository/releases/</url>
30+
<layout>default</layout>
31+
</repository>
32+
</repositories>
33+
</project>
124 KB
Binary file not shown.

0 commit comments

Comments
 (0)