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

    <parent>
        <groupId>it.tidalwave.bluebill.android</groupId>
        <artifactId>bluebill</artifactId>
        <version>0.14.1.RC1</version>
        <relativePath>../..</relativePath>
    </parent>

    <groupId>it.tidalwave.bluebill</groupId>
    <artifactId>it-tidalwave-bluebill-mobile</artifactId>
    <version>0.14.1.RC1</version>
    <name>blueBill Mobile - Core</name>
    
    <dependencies>
        <dependency>
            <groupId>it.tidalwave.bluebill.android</groupId>
            <artifactId>it-tidalwave-mobile-utilities</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-taxonomy</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-observation</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-observation-simple</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-factsheet</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-semantic-io</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-semantic-aux</artifactId>
        </dependency>

        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-factsheet-bbc</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xom</groupId>
                    <artifactId>xom</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.netbeans.api</groupId>
                    <artifactId>org-openide-util</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>it.tidalwave.netbeans</groupId>
                    <artifactId>it-tidalwave-netbeans-util</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>it.tidalwave.bluebill</groupId>
                    <artifactId>it-tidalwave-semantic-io</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>it.tidalwave.geo</groupId>
            <artifactId>it-tidalwave-geo</artifactId>
        </dependency>

        <dependency>
            <groupId>it.tidalwave.thesefoolishthings</groupId>
            <artifactId>it-tidalwave-util</artifactId>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.thesefoolishthings</groupId>
            <artifactId>it-tidalwave-util-logging</artifactId>
        </dependency>

        <dependency>
            <groupId>it.tidalwave.bluebill.android</groupId>
            <artifactId>it-tidalwave-mobile-xml</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xom</groupId>
                    <artifactId>xom</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>javax.inject</groupId>
            <artifactId>javax.inject</artifactId>
        </dependency>
        
        <dependency>
            <groupId>it.tidalwave.thesefoolishthings</groupId>
            <artifactId>it-tidalwave-util-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.netbeans</groupId>
            <artifactId>it-tidalwave-netbeans-util-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-io</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill.android</groupId>
            <artifactId>it-tidalwave-mobile-utilities</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>it.tidalwave.bluebill</groupId>
            <artifactId>it-tidalwave-bluebill-factsheet-xenocanto</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
    </dependencies>
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-taxonomy-files</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <artifactItems>
                        <artifactItem>
                            <groupId>it.tidalwave.bluebill</groupId>
                            <artifactId>it-tidalwave-bluebill-taxonomy-birds</artifactId>
                            <type>json</type>
                            <classifier>ebnitalia_2003</classifier>
                            <overWrite>true</overWrite>
                            <outputDirectory>target</outputDirectory>
                            <destFileName>EBNItalia2003.json</destFileName>
                        </artifactItem>
                        <artifactItem>
                            <groupId>it.tidalwave.bluebill</groupId>
                            <artifactId>it-tidalwave-bluebill-taxonomy-birds</artifactId>
                            <type>json</type>
                            <classifier>aou_7th</classifier>
                            <overWrite>true</overWrite>
                            <outputDirectory>target</outputDirectory>
                            <destFileName>AOU7th.json</destFileName>
                        </artifactItem>
                    </artifactItems>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

