From 747131277039258a4d8aa56cf098d6dada617d55 Mon Sep 17 00:00:00 2001 From: sebastien curt <sebastien.curt@tetras-libre.fr> Date: Mon, 25 May 2020 09:27:20 +0200 Subject: [PATCH] update README.md to notice first compilation --- README.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc1da9d..5de6b5d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,37 @@ A serialization converter from the official UNL format to the proposed RDF-UNL format. -# First use +# First compilation -This program depends on another package. To install into local maven repository the other dependency run ```bash Script/createOrUpdateLocalMavenRepository.sh```. +Three solutions exists choose the preferred way. + +## Use of script createOrUpdateLocalMavenRepository +This program depends on another package. To install into local maven repository the other dependency run ```bash Script/```. The script requires a username and a password to be completed. Enter yours credentials for gitlab.tetras-libre.fr server. + +```shell script +git clone https://gitlab.tetras-libre.fr/unl/unl2rdf.git unlTools +cd unlTools +bash Scripts/createOrUpdateLocalMavenRepository.sh +mvn compile +``` + +## Clone repository rdf-vocabulary + +```shell script +git clone https://gitlab.tetras-libre.fr/unl/rdfunl.git rdf-vocabulary +pushd rdf-vocabulary +cd rdf-vocabulary +mvn install +popd +git clone https://gitlab.tetras-libre.fr/unl/unl2rdf.git unlTools +cd unlTools +mvn compile +``` + +## Install manually rdf-vocabulary + +```shell script +git clone https://gitlab.tetras-libre.fr/unl/rdfunl.git rdf-vocabulary +cd unlTools +mvn install:install-file -Dfile=./rdf/libs/rdf-vocabulary-1.0-SNAPSHOT.jar -DgroupId=fr.tetras_libre.rdf.vocabulary -DartifactId=rdf-vocabulary -Dversion=1.0-SNAPSHOT -Dpackaging=jar -DgeneratePom=true +``` -- GitLab