Created
June 8, 2011 23:00
-
-
Save butlermh/1015663 to your computer and use it in GitHub Desktop.
Jena Schemagen in Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>compile</phase> | |
<configuration> | |
<tasks> | |
<property name="runtime_classpath" refid="maven.runtime.classpath" /> | |
<echo | |
message="Extracting DeliSchema from deliSchema.n3 and converting to Java" /> | |
<java classname="jena.schemagen" classpath="${runtime_classpath}"> | |
<arg | |
line="--inference -i config/deliSchema.n3 -e N3 -a http://delicon.sourceforge.net/schema# --package com.hp.hpl.deli -o src/main/java -n DeliSchema" /> | |
</java> | |
</tasks> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
..... | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment