Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

kburger/rdf4j-generator-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdf4j-generator-maven-plugin

Build Status Maven Central

Maven plugin to generate RDF4J style vocabulary classes.

usage

<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.

changelog

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

About

Maven plugin to generate RDF4J style vocabulary classes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages