Skip to content
Snippets Groups Projects

A serialization converter from the official UNL format to the proposed RDF-UNL format.

First compilation

UnlTools program requires rdf-vocabulary package within tetras-libre repositories. Three solutions exists add the other dependency, choose your preferred way.

Requirements

  • Maven 3+
  • Git
  • Java jdk 11+

Unix base system check list

  • The mvn --version notice java version 11+

Example of valid output:

$ mvn --version                                    
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 13.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/13.0.2+8_2/libexec/openjdk.jdk/Contents/Home
Default locale: en_FR, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.3", arch: "x86_64", family: "mac"

if java version is lower to 11 follow instructions maven.apache.org/intall

Windows check list

  • The JAVA_HOME system environment variable is configured
  • The MAVEN_HOME system environment variable is configured
  • The PATH system environment variable contains path to %JAVA_HOME%/bin and also %MAVEN_HOME%/bin directories
  • The PATH system environment variable contains path to git binary executable

Use of script createOrUpdateLocalTetrasArtifactsRepository.

The script createOrUpdateLocalMavenRepository

  • Linux platform
git clone https://gitlab.tetras-libre.fr/unl/unlTools.git unlTools
pushd unlTools
sh Scripts/createOrUpdateLocalMavenRepository.sh
mvn compile
popd
  • Windows plateform