<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">
	<modelVersion>4.0.0</modelVersion>

	<!-- <groupId>org.dllearner</groupId> -->
	<artifactId>components-core</artifactId>

	<name>DL Learner Core Components</name>
	<url>http://aksw.org/Projects/DLLearner</url>

	<parent>
		<groupId>org.dllearner</groupId>
		<artifactId>dllearner-parent</artifactId>
		<version>1.5.0</version>
	</parent>

	<properties>
		<automatic.module.name>org.dllearner</automatic.module.name>
	</properties>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<!--Surefire - for JUnits -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-surefire-plugin</artifactId>
						<configuration>
							<!-- Uncomment this when the junits are independent of a runtime directory -->
							<!--<includes> -->
							<!--<include>org/dllearner/test/junit/*</include> -->
							<!--</includes> -->
							<excludes>
								<exclude>org/dllearner/test/*</exclude>
								<exclude>org/dllearner/test/junit/TestOntologies.java</exclude>
								<exclude>org/dllearner/test/junit/PropertyLearningTest.java</exclude>
								<exclude>org/dllearner/test/junit/DisjointClassesLearningTest.java</exclude>
								<!--This line excludes inner classes -->
								<exclude>**/*$*</exclude>
							</excludes>
							<argLine>-Dlog4j.configuration=log4j.properties</argLine>
						</configuration>
					</plugin>
					<!-- Jar the tests up into a separate jar so other components tests'
                        can leverage them -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-jar-plugin</artifactId>
						<executions>
							<execution>
								<goals>
									<goal>test-jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<!-- <plugin> -->
					<!-- <groupId>com.mycila</groupId> -->
					<!-- <artifactId>license-maven-plugin</artifactId> -->
					<!-- <configuration> -->
					<!-- <header>src/etc/header.txt</header> -->
					<!-- </configuration> -->
					<!-- </plugin> -->
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>license-maven-plugin</artifactId>
						<configuration>
							<licenseName>gpl_v3</licenseName>
							<organizationName>AKSW</organizationName>
							<inceptionYear>2007</inceptionYear>
							<roots>
								<root>src/main/java</root>
								<root>src/test/java</root>
							</roots>
							<addSvnKeyWords>true</addSvnKeyWords>
						</configuration>
						<executions>
							<execution>
								<id>download-licenses</id>
								<goals>
									<goal>download-licenses</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<configuration>
							<header></header>
							<show>public</show>
							<links>
								<link>https://docs.oracle.com/javase/8/docs/api/</link>
							</links>
							<nohelp>true</nohelp>
							<destDir>doc/javadoc</destDir>
							<doctitle>DL-Learner Javadoc</doctitle>
							<author>true</author>
							<nodeprecated>false</nodeprecated>
							<nodeprecatedlist>false</nodeprecatedlist>
							<noindex>false</noindex>
							<nonavbar>false</nonavbar>
							<notree>false</notree>
							<overview>src/etc/overview.html</overview>
							<source>${compiler.version}</source>
							<sourcepath>src/main/java</sourcepath>
							<splitindex>true</splitindex>
							<stylesheetfile>src/etc/javadoc2.css</stylesheetfile>
							<use>true</use>
							<version>true</version>
							<linksource>true</linksource>
							<bottom>&lt;img style='float:right'
								src='https://raw.githubusercontent.com/github/media/master/octocats/blacktocat-16.png'
								border='0' alt='Github.com Logo' /&gt; DL-Learner is licenced
								under the terms of the GNU General Public License.&lt;br
								/&gt;Copyright &amp;#169; 2007-2016 Jens Lehmann</bottom>
							<encoding>ISO-8859-1</encoding>
							<windowtitle>DL-Learner Javadoc</windowtitle>
							<doclint>none</doclint>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<build>
		<plugins>
			<!--Surefire - for JUnits -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<!--<configuration>-->
					<!--&lt;!&ndash; Uncomment this when the junits are independent of a runtime directory &ndash;&gt;-->
					<!--&lt;!&ndash;<includes> &ndash;&gt;-->
					<!--&lt;!&ndash;<include>org/dllearner/test/junit/*</include> &ndash;&gt;-->
					<!--&lt;!&ndash;</includes> &ndash;&gt;-->
					<!--<excludes>-->
						<!--<exclude>org/dllearner/test/*</exclude>-->
						<!--<exclude>org/dllearner/test/junit/TestOntologies.java</exclude>-->
						<!--<exclude>org/dllearner/test/junit/PropertyLearningTest.java</exclude>-->
						<!--<exclude>org/dllearner/test/junit/DisjointClassesLearningTest.java</exclude>-->
						<!--&lt;!&ndash;This line excludes inner classes &ndash;&gt;-->
						<!--<exclude>**/*$*</exclude>-->
					<!--</excludes>-->
							<!--<argLine>-Dlog4j.configuration=log4j.properties</argLine>-->
				<!--</configuration>-->
			</plugin>
			<!-- Jar the tests up into a separate jar so other components tests' can 
				leverage them -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<configuration>
					<skipDeploy>true</skipDeploy>
				</configuration>
			</plugin>
			
			<plugin>
				<!-- Deploy the web site -->
				<groupId>com.github.github</groupId>
				<artifactId>site-maven-plugin</artifactId>
				<version>0.12</version>
				<executions>
					<execution>
						<goals>
							<goal>site</goal>
						</goals>
						<!-- select the Maven phase in which the plugin will be executed -->
						<phase>site-deploy</phase>
						<configuration>
							<!-- Plugin configuration ges here -->

							<server>github</server>

							<!-- The commit message -->
							<message>Creating site for ${project.name} ${project.version}</message>
							<!-- The location where the site is uploaded -->
							<path>${project.version}</path>
							<!-- Use merge or override the content -->
							<merge>true</merge>
							<noJekyll>true</noJekyll>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<!--<configuration>-->
					<!--<source>1.8</source>-->
					<!--<target>1.8</target>-->
				<!--</configuration>-->
				<executions>
					<execution>
						<id>default-testCompile</id>
						<phase>test-compile</phase>
						<configuration>
							<testExcludes>
								<exclude>**/QueryToGraphExporter.java</exclude>
							</testExcludes>
						</configuration>
						<goals>
							<goal>testCompile</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- Code coverage -->
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>0.8.4</version>
				<executions>
					<execution>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
					<execution>
						<id>report</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>org.ini4j</groupId>
			<artifactId>ini4j</artifactId>
		</dependency>

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
		</dependency>

		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>owlapi-distribution</artifactId>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>owlapi-api</artifactId>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>owlapi-apibinding</artifactId>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>owlapi-impl</artifactId>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>owlapitools-concurrentimpl</artifactId>
		</dependency>

		<dependency>
			<groupId>com.clarkparsia.pellet</groupId>
			<artifactId>pellet-distribution</artifactId>
			<type>pom</type>
		</dependency>

		<!--
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
            </dependency>
        -->

		<!--   <dependency>
              <groupId>org.apache.jena</groupId>
              <artifactId>jena-arq</artifactId>
          </dependency> -->
		<!--
             <dependency>
                <groupId>org.apache.jena</groupId>
                <artifactId>jena-core</artifactId>
            </dependency>
        -->
		<!--JSON is in Central -->
		<dependency>
			<groupId>org.json</groupId>
			<artifactId>json</artifactId>
		</dependency>

		<dependency>
			<groupId>javax.json</groupId>
			<artifactId>javax.json-api</artifactId>
			<version>1.1.4</version>
		</dependency>
		<dependency>
			<groupId>org.glassfish</groupId>
			<artifactId>javax.json</artifactId>
			<version>1.1.4</version>
		</dependency>

		<!--
            <dependency>
                <groupId>org.apache.xmlbeans</groupId>
                <artifactId>xmlbeans</artifactId>
            </dependency>
        -->

		<dependency>
			<groupId>com.google.code.factplusplus</groupId>
			<artifactId>factpp-owlapi</artifactId>
		</dependency>

		<dependency>
			<groupId>net.sourceforge.owlapi.owllink</groupId>
			<artifactId>owllink</artifactId>
		</dependency>

		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>org.semanticweb.hermit</artifactId>
			<exclusions>
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.geronimo.specs</groupId>
					<artifactId>geronimo-activation_1.1_spec</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.geronimo.specs</groupId>
					<artifactId>geronimo-javamail_1.4_spec</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.apache.geronimo.specs</groupId>
					<artifactId>geronimo-stax-api_1.0_spec</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>org.semanticweb.elk</groupId>
			<artifactId>elk-owlapi</artifactId>
		</dependency>

		<dependency>
			<groupId>de.tudresden.inf.lat.cel</groupId>
			<artifactId>reasoner</artifactId>
			<version>0.5.1</version>
		</dependency>
		<!--
             <dependency>
                <groupId>de.tudresden.inf.lat.cel</groupId>
                <artifactId>jsexp</artifactId>
                <version>0.1.0</version>
            </dependency>
        -->
		<!--<dependency>
			<groupId>eu.trowl</groupId>
			<artifactId>trowl-core</artifactId>
		</dependency>-->

		<dependency>
			<groupId>net.sourceforge.owlapi</groupId>
			<artifactId>jfact</artifactId>
		</dependency>

		<dependency>
			<groupId>com.jamonapi</groupId>
			<artifactId>jamon</artifactId>
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.fuzzy</groupId>
			<artifactId>fuzzydl</artifactId>
			<version>1.0</version>
		</dependency>

		<!-- 		<dependency> -->
		<!-- 			<groupId>fuzzydll</groupId> -->
		<!-- 			<artifactId>fuzzyowl2fuzzydlparser</artifactId> -->
		<!-- 			<version>1.0</version> -->
		<!-- 		</dependency> -->

		<dependency>
			<groupId>org.fuzzy</groupId>
			<artifactId>fuzzyowl</artifactId>
			<version>1.0</version>
		</dependency>

        <!-- This module is a library module, so it needs only to have the slf api dependency to enable logging -->
    <!--
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.5</version>
		</dependency>
    -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
	    <exclusions>
	      <exclusion>
		<groupId>commons-logging</groupId>
		<artifactId>commons-logging</artifactId>
	      </exclusion>
	    </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
        </dependency>
    <!--
        <dependency>
				<groupId>org.apache.lucene</groupId>
				<artifactId>lucene-analyzers-common</artifactId>
			</dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
        </dependency>
        <dependency>
        	<groupId>commons-pool</groupId>
        	<artifactId>commons-pool</artifactId>
        	<version>1.6</version>
        </dependency>
    -->

    <!--
         <dependency>
         	<groupId>xerces</groupId>
         	<artifactId>xercesImpl</artifactId>
         	<version>2.8.0</version>
         </dependency>
    -->

		<dependency>
			<groupId>uk.ac.shef.wit</groupId>
			<artifactId>simmetrics</artifactId>
			<version>1.6.2</version>
		</dependency>
		<dependency>
			<groupId>com.thoughtworks.xstream</groupId>
			<artifactId>xstream</artifactId>
			<version>1.4.16</version>
			<exclusions>
			  <exclusion>
			    <groupId>xpp3</groupId>
			    <artifactId>xpp3_min</artifactId>
			  </exclusion>
			</exclusions>
		</dependency>
		<!--
                <dependency>
                    <groupId>xpp3</groupId>
                    <artifactId>xpp3_min</artifactId>
                    <version>1.1.4c</version>
                </dependency>
                <dependency>
                    <groupId>net.sf.kxml</groupId>
                    <artifactId>kxml2-min</artifactId>
                    <version>2.3.0</version>
                </dependency>
        -->

		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
		</dependency>

		<dependency>
			<groupId>org.aksw.jena-sparql-api</groupId>
			<artifactId>jena-sparql-api-core</artifactId>
			<exclusions>
				<exclusion>
					<artifactId>slf4j-ext</artifactId>
					<groupId>org.slf4j</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.aksw.jena-sparql-api</groupId>
			<artifactId>jena-sparql-api-cache-h2</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-math3</artifactId>
		</dependency>

		<dependency>
			<groupId>org.jgrapht</groupId>
			<artifactId>jgrapht-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.jgrapht</groupId>
			<artifactId>jgrapht-ext</artifactId>
		</dependency>
		<dependency>
			<groupId>org.jgrapht</groupId>
			<artifactId>jgrapht-io</artifactId>
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.tinyjee.jgraphx/jgraphx -->
		<!--
		<dependency>
			<groupId>org.tinyjee.jgraphx</groupId>
			<artifactId>jgraphx</artifactId>
			<version>3.4.1.3</version>
		</dependency>
		-->

		<!--
                <dependency>
                    <groupId>org.apache.commons</groupId>
                    <artifactId>commons-compress</artifactId>
                    <version>1.4.1</version>
                </dependency>
                <dependency>
                    <groupId>com.h2database</groupId>
                    <artifactId>h2</artifactId>
                </dependency>

        -->

		<!--
    <dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
    </dependency>
        -->
		<!-- <dependency>
            <groupId>nz.ac.waikato.cms.weka</groupId>
            <artifactId>weka-stable</artifactId>
            <version>3.6.9</version>
        </dependency> -->
		<dependency>
			<groupId>org.aksw</groupId>
			<artifactId>semlibsvm</artifactId>
			<exclusions>
				<exclusion>
					<artifactId>commons-httpclient</artifactId>
					<groupId>commons-httpclient</groupId>
				</exclusion>
				<exclusion>
				  <artifactId>commons-beanutils-core</artifactId>
				  <groupId>commons-beanutils</groupId>
				</exclusion>
				<exclusion>
				  <groupId>commons-logging</groupId>
				  <artifactId>commons-logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>edu.berkeley.compbio</groupId>
			<artifactId>jlibsvm</artifactId>
			<exclusions>
			  <exclusion>
			    <groupId>com.martiansoftware</groupId>
			    <artifactId>JSAP</artifactId>
			  </exclusion>
			  <exclusion>
			    <groupId>commons-logging</groupId>
			    <artifactId>commons-logging</artifactId>
			  </exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>com.martiansoftware</groupId>
			<artifactId>jsap</artifactId>
			<version>2.1</version>
		</dependency>

		<dependency>
			<groupId>org.reflections</groupId>
			<artifactId>reflections</artifactId>
			<version>0.9.12</version>
		</dependency>

		<dependency>
			<groupId>net.sf.jopt-simple</groupId>
			<artifactId>jopt-simple</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-email</artifactId>
			<version>1.5</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>com.panayotis.gnuplot</groupId>
			<artifactId>javaplot</artifactId>
			<version>0.5.0</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
		</dependency>

		<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>javax.annotation-api</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.xml.ws</groupId>
			<artifactId>jaxws-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-api</artifactId>
			<version>${log4j.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-core</artifactId>
			<version>${log4j.version}</version>
		</dependency>

    </dependencies>
</project>
