stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

Unable to build with IBM Java 8 #118

Closed bartleyj closed 2 years ago

bartleyj commented 2 years ago

I get the following error when I try to build this project locally with IBM Java 8

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project nist-data-mirror: Compilation failure [ERROR] /tmp/nist-data-mirror/src/main/java/us/springett/nistdatamirror/NistDataMirror.java:[19,52] package com.sun.org.apache.xpath.internal.operations does not exist

I can work around it by removing the unused import of com.sun.org.apache.xpath.internal.operations.Bool in the NistDataMirror.java file. Since it's not actually used, I would think it could simply be removed in the main codebase and then the project would again be compilable with any jdk.

sellersj commented 2 years ago

Removed in https://github.com/stevespringett/nist-data-mirror/commit/49ca3d2879fcb8231d43c82f0e555d88682b4fd0

I think that this issue can be closed.

bartleyj commented 2 years ago

It can, indeed. I've confirmed that I can build again with IBM Java without having to apply any local workaround. Thank you.