<?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>
    <parent>
        <groupId>com.fasterxml.jackson</groupId>
        <artifactId>jackson-parent</artifactId>
        <version>2.5.1</version>
    </parent>
    <groupId>com.fasterxml.jackson.module</groupId>
    <artifactId>jackson-module-guice</artifactId>
    <version>2.5.3</version>

    <name>Jackson-module-guice</name>
    <description>Stuff to make integration with Guice a bit easier</description>
    <url>http://wiki.fasterxml.com/JacksonHome</url>

    <issueManagement>
        <url>https://github.com/FasterXML/jackson-module-guice/issues</url>
    </issueManagement>
    <scm>
        <connection>scm:git:git@github.com:FasterXML/jackson-module-guice.git</connection>
        <developerConnection>scm:git:git@github.com:FasterXML/jackson-module-guice.git</developerConnection>
        <url>http://github.com/FasterXML/jackson-module-guice</url>
        <tag>2.5.3b</tag>
    </scm>

    <properties>
        <jackson.core.version>2.5.3</jackson.core.version>
        <!-- Generate PackageVersion.java into this directory. -->
        <packageVersion.dir>com/fasterxml/jackson/module/guice</packageVersion.dir>
        <packageVersion.package>${project.groupId}.guice</packageVersion.package>
        <osgi.export>
            ${project.groupId}.guice
        </osgi.export>
        <osgi.import>
            com.fasterxml.jackson.core
            ,com.fasterxml.jackson.core.type
            ,com.fasterxml.jackson.core.util
            ,com.fasterxml.jackson.databind
            ,com.fasterxml.jackson.databind.type
	    ,javax.inject
            ,org.objectweb.asm;resolution:=optional
        </osgi.import>
    </properties>

    <dependencies>
        <!-- Extends Jackson mapper, but also uses types from core, hence direct dep as well
    -->
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-core</artifactId>
            <version>${jackson.core.version}</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>${jackson.core.version}</version>
        </dependency>
        <dependency>
            <groupId>com.google.inject</groupId>
            <artifactId>guice</artifactId>
            <version>3.0</version>
        </dependency>
        <!-- and for testing, JUnit (or TestNG?) is needed -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <!-- Inherited from oss-base. Generate PackageVersion.java.-->
                <groupId>com.google.code.maven-replacer-plugin</groupId>
                <artifactId>replacer</artifactId>
                <executions>
                    <execution>
                        <id>process-packageVersion</id>
                        <phase>generate-sources</phase>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>com/fasterxml/jackson/module/guice/failing/*.java</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
