Consider adding a Manifest pointing to the Main class in the CLI.
That way the jar file can be used directly like this:
java -jar hdt-java-cli/target/hdt-java-cli-3.0.10.jar
See https://maven.apache.org/shared/maven-archiver/examples/classpath.html
This would certainly require to package the CLI as a fat JAR to include all required dependencies.
The current way (/bin/rdf2hdt.sh) is highly depending on running from the right directory, it will fail if started from the root of the repository.
Consider adding a Manifest pointing to the Main class in the CLI.
That way the jar file can be used directly like this:
See https://maven.apache.org/shared/maven-archiver/examples/classpath.html
This would certainly require to package the CLI as a fat JAR to include all required dependencies.
The current way (
/bin/rdf2hdt.sh) is highly depending on running from the right directory, it will fail if started from the root of the repository.