<?xml version="1.0" encoding="UTF-8"?>
<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>

    <!--The identifier of the parent POM-->
    <parent>
        <groupId>es.ucm.fdi.gaia</groupId>
        <artifactId>jCOLIBRI-Meta</artifactId>
        <version>${revision}</version>
		<relativePath>../jCOLIBRI-Meta/pom.xml</relativePath>
    </parent>

	<artifactId>jCOLIBRI-Tests</artifactId>
	<build>
	<plugins>
      <plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <version>3.1.0</version>
        <executions>
          <execution>
            <id>copy-jcolibri3-api</id>
            <!-- here the phase you need -->
            <phase>validate</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>src/main/java/apidocs</outputDirectory>
              <resources>          
                <resource>
                  <directory>../jCOLIBRI3/target/apidocs</directory>
                  <filtering>true</filtering>
                </resource>
              </resources>              
            </configuration>            
          </execution>
        <execution>
            <id>copy-tests-api</id>
            <!-- here the phase you need -->
            <phase>package</phase>
            <goals>
              <goal>copy-resources</goal>
            </goals>
            <configuration>
              <outputDirectory>src/main/java/apidocs</outputDirectory>
              <resources>          
                <resource>
                  <directory>target/apidocs</directory>
                  <filtering>true</filtering>
                </resource>
              </resources>              
            </configuration>            
          </execution>
        </executions>
      </plugin>   
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<archive>
						<manifest>
							<mainClass>es.ucm.fdi.gaia.jcolibri.test.main.MainTester</mainClass>
						</manifest>
					</archive>
				</configuration>
			</plugin>
	</plugins>
	</build>



	<dependencies>
		<dependency>
			<groupId>es.ucm.fdi.gaia</groupId>
			<artifactId>jCOLIBRI</artifactId>
			<version>${revision}</version>
		</dependency>
		
		<!-- https://mvnrepository.com/artifact/org.hsqldb/hsqldb -->
		<dependency>
		    <groupId>org.hsqldb</groupId>
		    <artifactId>hsqldb</artifactId>
		    <version>2.4.1</version>
		</dependency>
		<!-- https://mvnrepository.com/artifact/org.hsqldb/sqltool -->
		<dependency>
		    <groupId>org.hsqldb</groupId>
		    <artifactId>sqltool</artifactId>
		    <version>2.4.1</version>
		</dependency>
	
		
	</dependencies>

	<name>jCOLIBRI3-Tests</name>
	<url>http://gaia.fdi.ucm.es/research/colibri/jcolibri/</url>
	<description>Examples and tests of the jCOLIBRI framework</description>
</project>