diff --git a/README.md b/README.md index bc1da9d4adfd774b3ceaed00abc28265b03304df..5de6b5d9f31c224d20f0731e1b534d008375bd94 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 +```