<?xml version="1.0" encoding="UTF-8"?>
<!-- #%L
  itests-orm $Id:$ $HeadURL:$
  %%
  Copyright (C) 2016 - 2026 iNovex Information Systems, Inc.
  %%
  This program is free software: you can redistribute it and/or 
  	modify it under the terms of the GNU Affero General Public License as published 
  	by the Free Software Foundation, either version 3 of the License, or (at 
  	your option) any later version. This program is distributed in the hope that 
  	it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 
  	of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 
  	Public License for more details. You should have received a copy of the GNU 
  	Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
  #L% -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<parent>
		<artifactId>mobi-itests</artifactId>
		<groupId>com.mobi</groupId>
		<version>4.4.0</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>

    <artifactId>itests-orm</artifactId>

    <build>
        <plugins>
            <plugin>
                <groupId>com.mobi.orm</groupId>
                <artifactId>rdf-orm-maven-plugin</artifactId>
                <version>${project.version}</version>
                <executions>
                    <execution>
                        <id>generateOrmSources</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>generate-orm</goal>
                        </goals>
                        <inherited>false</inherited>
                        <configuration>
                            <generates>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/ontologies/crazy.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.delimited</outputPackage>
                                    <ontologyName>Delimited</ontologyName>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/ontologies/crazy2.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.inherit</outputPackage>
                                    <ontologyName>InheritTest</ontologyName>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/ontologies/provo.ttl</ontologyFile>
                                    <outputPackage>org.provo</outputPackage>
                                    <ontologyName>ProvO</ontologyName>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/../../com.mobi.rdf.orm.ontologies/src/main/resources/foaf.owl</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.foaf</outputPackage>
                                    <ontologyName>FOAF</ontologyName>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/ontologies/test-ont.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.test</outputPackage>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/inheritsImportsTests/child.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.inherits.child</outputPackage>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/inheritsImportsTests/parent.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.inherits.parent</outputPackage>
                                </ontology>
                            </generates>
                            <references>
                                <ontology>
                                    <ontologyFile>${project.basedir}/src/test/resources/inheritsImportsTests/parent.trig</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.inherits.parent</outputPackage>
                                </ontology>
                                <ontology>
                                    <ontologyFile>${project.basedir}/../../com.mobi.rdf.orm.ontologies/src/main/resources/foaf.owl</ontologyFile>
                                    <outputPackage>com.mobi.itests.orm.ontologies.foaf</outputPackage>
                                    <ontologyName>FOAF</ontologyName>
                                </ontology>
                            </references>
                            <outputLocation>${project.basedir}/src/test/java</outputLocation>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
