<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to you under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<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>org.apache.logging</groupId>
    <artifactId>logging-parent</artifactId>
    <version>10.6.0</version>
    <relativePath></relativePath>
  </parent>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-api-scala-parent</artifactId>
  <version>13.1.0</version>
  <packaging>pom</packaging>
  <url>https://logging.apache.org/log4j/scala/</url>
  <licenses>
    <license>
      <name>Apache-2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>ggregory</id>
      <name>Gary Gregory</name>
      <email>ggregory@apache.org</email>
      <url>https://www.garygregory.com</url>
      <organization>The Apache Software Foundation</organization>
      <organizationUrl>https://www.apache.org/</organizationUrl>
      <roles>
        <role>PMC Member</role>
      </roles>
      <timezone>America/New_York</timezone>
    </developer>
    <developer>
      <id>mattsicker</id>
      <name>Matt Sicker</name>
      <email>mattsicker@apache.org</email>
      <organization>Apple</organization>
      <roles>
        <role>PMC Member</role>
      </roles>
      <timezone>America/Chicago</timezone>
    </developer>
    <developer>
      <id>pkarwasz</id>
      <name>Piotr P. Karwasz</name>
      <email>pkarwasz@apache.org</email>
      <roles>
        <role>PMC Member</role>
      </roles>
      <timezone>Europe/Warsaw</timezone>
    </developer>
    <developer>
      <id>vy</id>
      <name>Volkan Yazıcı</name>
      <email>vy@apache.org</email>
      <roles>
        <role>PMC Chair</role>
      </roles>
      <timezone>Europe/Amsterdam</timezone>
    </developer>
  </developers>
  <modules>
    <module>log4j-api-scala_2.10</module>
    <module>log4j-api-scala_2.11</module>
    <module>log4j-api-scala_2.12</module>
    <module>log4j-api-scala_2.13</module>
    <module>log4j-api-scala_3</module>
  </modules>
  <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
    <connection>scm:git:git@github.com:apache/logging-log4j-scala.git</connection>
    <developerConnection>scm:git:git@github.com:apache/logging-log4j-scala.git</developerConnection>
    <url>https://github.com/apache/logging-log4j-scala</url>
  </scm>
  <issueManagement>
    <system>GitHub Issues</system>
    <url>https://github.com/apache/logging-log4j-scala/issues</url>
  </issueManagement>
  <ciManagement>
    <system>GitHub Actions</system>
    <url>https://github.com/apache/logging-log4j-scala/actions</url>
  </ciManagement>
  <distributionManagement>
    <downloadUrl>https://logging.apache.org/log4j/scala/latest/#distribution</downloadUrl>
  </distributionManagement>
  <properties>
    <maven.compiler.release>8</maven.compiler.release>
    <minimalJavaBuildVersion>[17,18)</minimalJavaBuildVersion>
    <maven.compiler.source>8</maven.compiler.source>
    <scalatestplus.version>3.2.10.0</scalatestplus.version>
    <maven.site.skip>true</maven.site.skip>
    <scala-maven-plugin.version>4.8.1</scala-maven-plugin.version>
    <mockito.version>4.11.0</mockito.version>
    <scala.version.group>2.10</scala.version.group>
    <bnd-extra-package-options>scala.reflect.*;resolution:=optional</bnd-extra-package-options>
    <bnd-module-name>org.apache.logging.log4j.api.scala</bnd-module-name>
    <maven-toolchains-plugin.version>3.1.0</maven-toolchains-plugin.version>
    <revision>13.1.0</revision>
    <spotless-maven-plugin.version>2.30.0</spotless-maven-plugin.version>
    <maven.compiler.target>8</maven.compiler.target>
    <spotbugs.skip>true</spotbugs.skip>
    <scalatest.version>3.2.10</scalatest.version>
    <project.build.outputTimestamp>2024-02-01T09:39:00Z</project.build.outputTimestamp>
    <log4j.version>2.22.1</log4j.version>
    <bnd-extra-module-options>scala.library;substitute="scala-library",
      scala.reflect;substitute="scala-reflect";transitive=false</bnd-extra-module-options>
    <maven.site.deploy.skip>true</maven.site.deploy.skip>
    <junit.version>4.13.2</junit.version>
    <scala.version>${scala.version.group}.7</scala.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-bom</artifactId>
        <version>${log4j.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </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.scalatest</groupId>
        <artifactId>scalatest_${scala.version.group}</artifactId>
        <version>${scalatest.version}</version>
      </dependency>
      <dependency>
        <groupId>org.scalatest</groupId>
        <artifactId>scalatest-funsuite_${scala.version.group}</artifactId>
        <version>${scalatest.version}</version>
      </dependency>
      <dependency>
        <groupId>org.scalatest</groupId>
        <artifactId>scalatest-matchers-core_${scala.version.group}</artifactId>
        <version>${scalatest.version}</version>
      </dependency>
      <dependency>
        <groupId>org.scalatestplus</groupId>
        <artifactId>junit-4-13_${scala.version.group}</artifactId>
        <version>${scalatestplus.version}</version>
      </dependency>
      <dependency>
        <groupId>org.scalatestplus</groupId>
        <artifactId>mockito-3-12_${scala.version.group}</artifactId>
        <version>${scalatestplus.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>osgi.annotation</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>src/main/scala</sourceDirectory>
    <testSourceDirectory>src/test/scala</testSourceDirectory>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>net.alchim31.maven</groupId>
          <artifactId>scala-maven-plugin</artifactId>
          <version>${scala-maven-plugin.version}</version>
          <executions>
            <execution>
              <id>scala-${scala.version.group}</id>
              <goals>
                <goal>compile</goal>
                <goal>testCompile</goal>
              </goals>
              <configuration>
                <scalaVersion>${scala.version}</scalaVersion>
                <recompileMode>all</recompileMode>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-toolchains-plugin</artifactId>
          <version>${maven-toolchains-plugin.version}</version>
          <executions>
            <execution>
              <id>java-8</id>
              <goals>
                <goal>toolchain</goal>
              </goals>
              <configuration>
                <toolchains>
                  <jdk>
                    <version>[1.8,9)</version>
                  </jdk>
                </toolchains>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>
