<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.atlassian.pom</groupId>
    <artifactId>central-pom</artifactId>
    <version>7.0.10</version>
    <relativePath></relativePath>
  </parent>
  <groupId>net.java.dev.activeobjects</groupId>
  <artifactId>activeobjects-parent</artifactId>
  <version>6.1.2-e61d15b22</version>
  <packaging>pom</packaging>
  <name>Active Objects - Parent POM</name>
  <description>ActiveObjects is an intuitive, pure-Java ORM. AO is designed from the ground up to be extremely simple
        and easy to use from an API standpoint.</description>
  <url>https://bitbucket.org/server-platform/activeobjects/</url>
  <inceptionYear>2007</inceptionYear>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>
  <developers>
    <developer>
      <organization>Atlassian</organization>
    </developer>
  </developers>
  <modules>
    <module>activeobjects-core</module>
    <module>activeobjects-builder</module>
    <module>activeobjects-test</module>
    <module>activeobjects-integration-test</module>
    <module>activeobjects-integration-test-model</module>
    <module>activeobjects-ant-task</module>
    <module>activeobjects</module>
    <module>activeobjects-benchmark</module>
    <module>activeobjects-integration-profiles</module>
  </modules>
  <scm>
    <connection>scm:git:git@bitbucket.org:server-platform/activeobjects.git</connection>
    <developerConnection>scm:git:git@bitbucket.org:server-platform/activeobjects.git</developerConnection>
    <tag>aggregator-6.1.2-e61d15b22</tag>
    <url>https://bitbucket.org/server-platform/activeobjects</url>
  </scm>
  <issueManagement>
    <system>JIRA</system>
    <url>https://ecosystem.atlassian.net/browse/AO</url>
  </issueManagement>
  <ciManagement>
    <system>Bamboo</system>
    <url>https://ecosystem-bamboo.internal.atlassian.com/browse/AO</url>
  </ciManagement>
  <properties>
    <javadoc.additional.params>-Xdoclint:none</javadoc.additional.params>
    <atlassian-profiling.version>5.0.1</atlassian-profiling.version>
    <platform.version>7.0.6</platform.version>
    <dbcp.version>1.4</dbcp.version>
    <proxool.version>0.9.1</proxool.version>
    <mockito.version>2.28.2</mockito.version>
    <h2.version>2.1.210</h2.version>
    <dbpool.version>4.9.3-jdbc3</dbpool.version>
    <hamcrest.version>1.4-atlassian-1</hamcrest.version>
    <jacoco.report.file>../jacoco-aggregator/target/site/jacoco-aggregate/jacoco.xml</jacoco.report.file>
    <tomcat-dbcp.version>9.0.56</tomcat-dbcp.version>
    <slf4j.version>1.7.32</slf4j.version>
    <dbcp2.version>2.9.0</dbcp2.version>
    <junit.version>4.13.2</junit.version>
    <plugins.version>8.1.0</plugins.version>
    <commons-io.version>2.18.0</commons-io.version>
    <c3p0.version>0.9.5.5</c3p0.version>
    <mysql.version>8.0.26</mysql.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.atlassian.platform.dependencies</groupId>
        <artifactId>platform-public-api</artifactId>
        <version>${platform.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>com.atlassian.platform.dependencies</groupId>
        <artifactId>platform-deprecated-public-api</artifactId>
        <version>${platform.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>com.atlassian.platform.dependencies</groupId>
        <artifactId>platform-internal-api</artifactId>
        <version>${platform.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>net.java.dev.activeobjects</groupId>
        <artifactId>activeobjects</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>net.java.dev.activeobjects</groupId>
        <artifactId>activeobjects-builder</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>net.java.dev.activeobjects</groupId>
        <artifactId>activeobjects-core</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>net.java.dev.activeobjects</groupId>
        <artifactId>activeobjects-test</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>net.java.dev.activeobjects</groupId>
        <artifactId>activeobjects-integration-test-model</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>${mockito.version}</version>
      </dependency>
      <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-library</artifactId>
        <version>${hamcrest.version}</version>
      </dependency>
      <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-core</artifactId>
        <version>${hamcrest.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>32.1.3-jre</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.14.0</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <version>${slf4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.17-atlassian-13</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>0.8.7</version>
        </plugin>
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>3.7.0</version>
          <configuration>
            <doclint>none</doclint>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.leberrigaud.maven.plugins</groupId>
          <artifactId>database-maven-plugin</artifactId>
          <version>0.10</version>
        </plugin>
        <plugin>
          <groupId>io.fabric8</groupId>
          <artifactId>docker-maven-plugin</artifactId>
          <version>0.36.1</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>sql-maven-plugin</artifactId>
          <version>1.5</version>
        </plugin>
        <plugin>
          <artifactId>maven-shade-plugin</artifactId>
          <version>3.5.2</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-maven</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireMavenVersion>
                  <message>You must use maven 3.3.3 or above to build Active Objects</message>
                  <version>[3.3.3,)</version>
                </requireMavenVersion>
                <requireJavaVersion>
                  <message>Active Objects requires Java 8 or later to be built.</message>
                  <version>[1.8,)</version>
                </requireJavaVersion>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.diffplug.spotless</groupId>
        <artifactId>spotless-maven-plugin</artifactId>
        <version>2.43.0</version>
        <configuration>
          <java>
            <palantirJavaFormat>
              <version>2.28.0</version>
            </palantirJavaFormat>
            <importOrder>
              <wildcardsLast>true</wildcardsLast>
              <order>java|javax,lombok,org.spring|org|com|io,,com.atlassian,com.atlassian.beacon|\#,\#com.atlassian</order>
            </importOrder>
            <removeUnusedImports />
          </java>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>flatten-maven-plugin</artifactId>
            <version>1.6.0</version>
            <executions>
              <execution>
                <id>flatten</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>flatten</goal>
                </goals>
              </execution>
              <execution>
                <id>flatten.clean</id>
                <phase>clean</phase>
                <goals>
                  <goal>clean</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <updatePomFile>true</updatePomFile>
              <flattenMode>resolveCiFriendliesOnly</flattenMode>
              <pomElements>
                <name />
                <description />
                <url />
                <developers />
                <scm />
              </pomElements>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>3.2.4</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>3.7.0</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <version>3.3.1</version>
          </plugin>
        </plugins>
      </build>
      <properties>
        <skipTests>true</skipTests>
      </properties>
    </profile>
    <profile>
      <id>jacoco</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>agent-for-ut</id>
                <goals>
                  <goal>prepare-agent</goal>
                </goals>
                <configuration>
                  <propertyName>jacoco.agent.argLine</propertyName>
                  <includes>
                    <include>${jacoco.include.pattern}</include>
                  </includes>
                </configuration>
              </execution>
              <execution>
                <id>agent-for-it</id>
                <phase>initialize</phase>
                <goals>
                  <goal>prepare-agent-integration</goal>
                </goals>
                <configuration>
                  <propertyName>jacoco.agent.it.argLine</propertyName>
                  <includes>
                    <include>${jacoco.include.pattern}</include>
                  </includes>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <argLine>@{jacoco.agent.argLine}</argLine>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
              <argLine>@{jacoco.agent.it.argLine}</argLine>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <properties>
        <jacoco.include.pattern>net/java/ao/**</jacoco.include.pattern>
      </properties>
    </profile>
  </profiles>
</project>
