<?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.jwebmp.jackson</groupId>
        <!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
        <artifactId>jackson-parent</artifactId>
        <version>0.66.0.1</version>
    </parent>

    <groupId>com.jwebmp.jackson.core</groupId>
    <artifactId>jackson-annotations</artifactId>
    <name>Jackson-annotations</name>

    <description>Core annotations used for value types, used by Jackson data binding package.
    </description>
    <inceptionYear>2008</inceptionYear>

    <url>http://github.com/FasterXML/jackson</url>
    <scm>
        <connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection>
        <developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection>
        <url>http://github.com/FasterXML/jackson-annotations</url>
        <tag>HEAD</tag>
    </scm>

    <properties>
        <osgi.export>com.jwebmp.jackson.annotation.*;version=${project.version}</osgi.export>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <profiles>
        <profile>
            <id>jdk8</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.moditect</groupId>
                        <artifactId>moditect-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>add-module-infos</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>add-module-info</goal>
                                </goals>
                                <configuration>
                                    <overwriteExistingFiles>true</overwriteExistingFiles>
                                    <module>
                                        <moduleInfoFile>
                                            src/jre11/java/module-info.java
                                        </moduleInfoFile>
                                    </module>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>
