[ 
https://issues.apache.org/jira/browse/JENA-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276774#comment-14276774
 ] 

Alexander Willner commented on JENA-849:
----------------------------------------

Also, under "Specifying processing options" there seems to be an unescaped 
"<input>" string and the instruction could be enhanced by providing a full 
working example like this one here:
{quote}
                <plugins>
                        <plugin>
                                <groupId>org.apache.jena</groupId>
                                <artifactId>jena-maven-tools</artifactId>
                                <version>0.7</version>
                                <configuration>
                                        <includes>
                                                
<include>src/main/resources/*.ttl</include>
                                        </includes>
                                        <fileOptions>
                                                <source>
                                                        <input>default</input>
                                                        
<output>src/main/java/</output>
                                                        
<package-name>org.example.vocabulary</package-name>
                                                        
<ontology>true</ontology>
                                                </source>
                                        </fileOptions>
                                        <owl>true</owl>
                                        <inference>true</inference>
                                        <noheader>true</noheader> <!-- doesn't 
work? -->
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>schemagen</id>
                                                <goals>
                                                        <goal>translate</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
{quote}


> Incorrect version numbers in schemagen maven documentation
> ----------------------------------------------------------
>
>                 Key: JENA-849
>                 URL: https://issues.apache.org/jira/browse/JENA-849
>             Project: Apache Jena
>          Issue Type: Documentation
>          Components: Maven Tools
>    Affects Versions: Jena 2.12.1
>            Reporter: Ian Dickinson
>            Priority: Minor
>
> Reported by Alexander Willner.
> Documentation for the Schemagen maven plugin has the wrong maven config: it 
> says
> {code:xml}
>     <dependency>
>       <groupId>org.apache.jena.tools</groupId>
>       <artifactId>schemagen</artifactId>
>       <version>0.2-SNAPSHOT</version>
>       <type>maven-plugin</type>
>     </dependency>
> {code}
> it should say:
> {code:xml}
>     <dependency>
>       <groupId>org.apache.jena</groupId>
>       <artifactId>jena-maven-tools</artifactId>
>       <version>0.7</version>
>       <type>maven-plugin</type>
>     </dependency>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to