<?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/maven-v4_0_0.xsd">
    <parent>
        <groupId>eu.dnetlib</groupId>
        <artifactId>dnet-parent</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>eu.dnetlib</groupId>
    <artifactId>uoa-espas-common</artifactId>
    <packaging>jar</packaging>
    <version>3.0-SNAPSHOT</version>
        
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>                
                <version>2.16</version>
                <configuration>
                    <systemPropertyVariables>
                        <systemPropertyVariables>
                            <log4j.configuration>${basedir}/src/main/resources/log4j.properties</log4j.configuration>
                        </systemPropertyVariables>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <version>1.5</version>
                <executions>
                    <execution>
                        <id>xjc</id>
                        <goals>
                            <goal>xjc</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <schemaDirectory>${basedir}/src/main/resources/schemas</schemaDirectory>
                    <packageName>eu.dnetlib.espas.download.jaxb</packageName> 
                </configuration>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <!-- added by gathanas at 10/07/2013 for espas-->
        <dependency>
            <groupId>org.geotoolkit.pending</groupId>
            <artifactId>geotk-xml-ogc</artifactId>
            <version>3.21</version>
        </dependency>
        <dependency>
            <groupId>org.geotoolkit.pending</groupId>
            <artifactId>jaxb-xml-binding</artifactId>
            <version>3.21</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>org.geotoolkit.pending</groupId>
            <artifactId>geotk-xml-xsd</artifactId>
            <version>3.21</version>
        </dependency>
        <dependency>
            <groupId>org.geotoolkit.pending</groupId>
            <artifactId>geotk-xml-gml</artifactId>
            <version>3.21</version>
        </dependency>
        <dependency>
            <groupId>xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.8.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.geotoolkit.pending</groupId>
            <artifactId>geotk-jtswrapper</artifactId>
            <version>3.21</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.geotoolkit</groupId>
            <artifactId>geotk-xml-base</artifactId>
            <version>3.21</version>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
            <version>2.2.5</version>
        </dependency>
        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <scope>runtime</scope>
            <version>9.2-1003-jdbc4</version>
        </dependency>
    </dependencies>

    <!-- added by gathanas at 10/07/2013 for espas-->
    <repositories>
        <repository>
            <id>central</id>
            <name>Central Repository</name>
            <url>http://repo1.maven.org/maven2/</url>
        </repository>
        <repository>
            <id>osgeo</id>
            <name>Open Source Geospatial Foundation Repository</name>
            <url>http://download.osgeo.org/webdav/geotools/</url>
        </repository>
        <repository>
            <id>EuropaMaven</id>
            <name>Europa Nexus</name>
            <url>https://joinup.ec.europa.eu/nexus</url>
        </repository>
        <repository>
            <id>opengeo</id>
            <name>OpenGeo Maven Repository</name>
            <url>http://repo.opengeo.org</url>
        </repository>
        <repository>
            <id>GeotoolKit</id>
            <name>Geotoolkit Maven Repository</name>
            <url>http://maven.geotoolkit.org/</url>
        </repository>
    </repositories>        
</project>
