<?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>org.avaje</groupId>
    <artifactId>java8-oss</artifactId>
    <version>3.2</version>
  </parent>

  <groupId>io.avaje</groupId>
  <artifactId>avaje-jsonb-parent</artifactId>
  <version>0.7</version>

  <packaging>pom</packaging>
  <name>jsonb parent</name>
  <description>parent pom for jsonb</description>

  <scm>
    <developerConnection>scm:git:git@github.com:avaje/avaje-jsonb.git</developerConnection>
    <tag>avaje-jsonb-parent-0.7</tag>
  </scm>

  <properties>
<!--    <java.version>11</java.version>-->
    <nexus.staging.autoReleaseAfterClose>false</nexus.staging.autoReleaseAfterClose>
  </properties>

  <profiles>
    <profile>
      <id>release</id>
      <modules>
        <module>jsonb</module>
        <module>jsonb-generator</module>
      </modules>
    </profile>
    <profile>
      <id>default</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <modules>
        <module>jsonb</module>
        <module>jsonb-generator</module>
        <module>blackbox-test</module>
      </modules>
    </profile>
  </profiles>

  <build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.8</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>${nexus.staging.autoReleaseAfterClose}</autoReleaseAfterClose>
        </configuration>
        <dependencies>
          <!--
            TODO:
              Remove after OSSRH-66257, NEXUS-26993 are fixed,
              possibly via https://github.com/sonatype/nexus-maven-plugins/pull/91
          -->
          <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.4.15</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
</project>

