Maven plugin to generate RDF4J style vocabulary classes.
<build>
...
<plugins>
...
<plugin>
<groupId>com.github.kburger</groupId>
<artifactId>rdf4j-generator-maven-plugin</artifactId>
<version>0.2.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<package>com.example.vocab</package>
<vocabularies>
<vocabulary>
<url>http://purl.org/dc/terms/</url>
</vocabulary>
</vocabularies>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
See the examples for more usage examples.
0.2.0
- added
addGeneratedAnnotation
parameter to mark the generated classes as 'generated' - added
cacheFiles
parameter to cache remote files locally - added
includeDeprecated
parameter to in/exclude deprecated RDF types/properties.
0.1.0
- initial release