<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>com.github.vldrus</groupId>
    <artifactId>cachedrowset-wrapper</artifactId>
    <version>1.0.2</version>

    <name>CachedRowSet Wrapper</name>

    <description>
        A simple javax.sql.rowset.CachedRowSet wrapper.
        Uses com.sun.rowset.CachedRowSetImpl on Java 1.6.
        Avoids direct com.sun.rowset.CachedRowSetImpl usage on Java 1.7+
        (especially on Java 9 which restricts access to com.sun.rowset package).
    </description>

    <url>https://github.com/vldrus/cachedrowset-wrapper</url>

    <licenses>
        <license>
            <name>Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>vldrus</id>
            <name>Vladislav Alekseev</name>
            <url>https://github.com/vldrus</url>
            <timezone>+3</timezone>
        </developer>
    </developers>

    <scm>
        <url>https://github.com/vldrus/cachedrowset-wrapper.git</url>
    </scm>

    <properties>
        <!-- Should be built on Java 1.7+ because of additional API provided in 1.7 -->
        <maven.compiler.source>1.6</maven.compiler.source>
        <maven.compiler.target>1.6</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.3.176</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.0.1</version>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.0.0</version>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
