This project is archived. Its data is
read-only
.
Changes
Page history
Create home
authored
May 26, 2020
by
Sebastien
Show whitespace changes
Inline
Side-by-side
home.md
0 → 100644
View page @
f5b83b4f
# Rdf-vocabulary.
Java library of rdfunl schema
It includes rdf schema and the schemagen jena tool to generate java file associated to the rdf schema.
# requirements.
-
Maven 3+
# How to update unl java class from the schema
1.
Install maven 3 or higher (see wiki of your OS)
2.
Clone the repository :
```git clone https://gitlab.tetras-libre.fr/unl/rdf-vocabulary.git```
3.
Modify the file "rdf-vocabulary/src/main/vocabs/unlVocabulary.ttl"
4.
Run command
```mvn package```
to compile and create package
5.
Run command
```mvn install```
to install to your local maven repository the package.
# Use the generated jar with maven based project
Insert in the
`pom.xml`
the following lines
```
xml
<dependencies>
...
<dependency>
<groupId>
fr.tetras_libre.rdf.vocabulary
</groupId>
<artifactId>
rdf-vocabulary
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
...
</dependencies>
```