Hello !
Thank you that link helped me a lot and it works pretty well. Unless for
one thing, all the .java files created by schemagen are encoded in Windows
encoding, I think it's cp1252, and throw me some warnings at the
compilation step :
"unmappable character for encoding utf-8"
Because all my other files are encoded in UTF-8 and my args for the
"maven-compiler-plugin" are :
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
And this as properties :
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
So there is a way to configure the schemagen plugin to create java files
encoded directly in UTF-8 ?
Thanks in advance.
Best.
Julien.
2014/2/3 Andy Seaborne <[email protected]>
> On 31/01/14 08:56, Julien Plu wrote:
>
>> Hello !
>>
>> I saw in the latest Jena version (2.11.1) that there was a new module to
>> run schemagen as a Maven plugin.
>>
>> I wanted to know how is-it possible to use it ? There is a doc somewhere ?
>>
>> Thanks in advance.
>>
>> Julien.
>>
>>
> I can see some documentation in our staging area, but not the published
> site so it may well not be finished yet: e.g. version number of the plugin
> will need adjusting to whatever the release one is (which will not be
> "SNAPSHOT")
>
> http://jena.staging.apache.org/documentation/tools/schemagen-maven.html
>
> Andy
>
>