<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>bitsensor-plugin</artifactId>
        <groupId>io.bitsensor.plugins</groupId>
        <version>2.1.1-RC2</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>bitsensor-sql</artifactId>
    <name>BitSensor ~ SQL</name>


    <dependencies>
        <dependency>
            <groupId>io.bitsensor.plugins</groupId>
            <artifactId>bitsensor-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.tomcat</groupId>
            <artifactId>tomcat-jdbc</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <scope>test</scope>
        </dependency>

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

        <dependency>
            <groupId>io.bitsensor.plugins</groupId>
            <artifactId>bitsensor-its-collector</artifactId>
            <scope>test</scope>
        </dependency>

    </dependencies>

    <build>
        <plugins>
            <!-- Used for testing only -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <configuration>
                    <source>${java.source-target}</source>
                    <target>${java.source-target}</target>
                    <complianceLevel>${java.source-target}</complianceLevel>
                    <encoding>UTF-8</encoding>
                    <showWeaveInfo>true</showWeaveInfo>
                    <aspectLibraries>
                        <aspectLibrary>
                            <groupId>io.bitsensor.plugins</groupId>
                            <artifactId>bitsensor-core</artifactId>
                        </aspectLibrary>
                    </aspectLibraries>
                    <weaveMainSourceFolder>true</weaveMainSourceFolder>
                </configuration>
                <executions>
                    <execution>
                        <id>aspectj-compile</id>
                        <goals>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>