Skip to content
Snippets Groups Projects
Commit a4c5225a authored by Sebastien's avatar Sebastien
Browse files

update project script to auto install into local maven repository rdf-vocabulary jar file

parent d138e9ca
No related branches found
No related tags found
No related merge requests found
A serialization converter from the official UNL format to the proposed RDF-UNL format.
\ No newline at end of file
A serialization converter from the official UNL format to the proposed RDF-UNL format.
# First use
This program depends on another package. To install into local maven repository the other dependency run ```bash Script/createOrUpdateLocalMavenRepository.sh```.
The script requires a username and a password to be completed. Enter yours credentials for gitlab.tetras-libre.fr server.
#!/usr/bin/env bash
tempDir=temp-rdf-vocabulary
git clone https://gitlab.tetras-libre.fr/unl/rdfunl.git temp-rdf-vocabulary
pushd "${tempDir}"
mvn install
popd
rm -rf "${tempDir}"
\ No newline at end of file
#!/usr/bin/env bash
mvn install:install-file -Dfile=rdf/libs/rdf-vocabulary-1.0-SNAPSHOT.jar -DgroupId=fr.tetras_libre.rdf.unlVocabulary -DartifactId=rdf-vocabulary -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
\ No newline at end of file
......@@ -32,9 +32,9 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>fr.tetras_libre.rdf.unlVocabulary</groupId>
<groupId>fr.tetras_libre.rdf.vocabulary</groupId>
<artifactId>rdf-vocabulary</artifactId>
<version>1.0</version>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -45,7 +45,7 @@
<orderEntry type="library" name="Maven: org.apache.jena:jena-rdfconnection:3.14.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.26" level="project" />
<orderEntry type="module" module-name="unl-parser" />
<orderEntry type="library" name="Maven: fr.tetras_libre.rdf.unlVocabulary:rdf-vocabulary:1.0" level="project" />
<orderEntry type="library" name="Maven: fr.tetras_libre.rdf.vocabulary:rdf-vocabulary:1.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.7.0-M1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.7.0-M1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.0" level="project" />
......
......@@ -47,7 +47,7 @@
<orderEntry type="library" name="Maven: org.apache.jena:jena-dboe-index:3.14.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.jena:jena-rdfconnection:3.14.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.26" level="project" />
<orderEntry type="library" name="Maven: fr.tetras_libre.rdf.unlVocabulary:rdf-vocabulary:1.0" level="project" />
<orderEntry type="library" name="Maven: fr.tetras_libre.rdf.vocabulary:rdf-vocabulary:1.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.7.0-M1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.7.0-M1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.0" level="project" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment