<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.logging.log4j</groupId>

    <artifactId>log4j</artifactId>

    <version>2.17.0</version>

    <relativePath>../</relativePath>

  </parent>

  <artifactId>log4j-to-slf4j</artifactId>

  <packaging>jar</packaging>

  <name>Apache Log4j to SLF4J Adapter</name>

  <description>The Apache Log4j binding between Log4j 2 API and SLF4J.</description>

  <properties>
    <log4jParentDir>${basedir}/..</log4jParentDir>

    <docLabel>SLF4J Documentation</docLabel>

    <projectDir>/log4j-to-slf4j</projectDir>

    <module.name>org.apache.logging.slf4j</module.name>

    <maven.doap.skip>true</maven.doap.skip>

  </properties>

  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>

      <artifactId>slf4j-api</artifactId>

    </dependency>

    <dependency>
      <groupId>org.apache.logging.log4j</groupId>

      <artifactId>log4j-api</artifactId>

    </dependency>

    <dependency>
      <groupId>ch.qos.logback</groupId>

      <artifactId>logback-core</artifactId>

      <scope>test</scope>

    </dependency>

    <dependency>
      <groupId>ch.qos.logback</groupId>

      <artifactId>logback-core</artifactId>

      <type>test-jar</type>

      <scope>test</scope>

    </dependency>

    <dependency>
      <groupId>ch.qos.logback</groupId>

      <artifactId>logback-classic</artifactId>

      <scope>test</scope>

    </dependency>

    <dependency>
      <groupId>org.junit.vintage</groupId>

      <artifactId>junit-vintage-engine</artifactId>

    </dependency>

    <dependency>
      <groupId>org.junit.jupiter</groupId>

      <artifactId>junit-jupiter-engine</artifactId>

    </dependency>

    <dependency>
      <groupId>org.hamcrest</groupId>

      <artifactId>hamcrest</artifactId>

      <scope>test</scope>

    </dependency>

  </dependencies>

  <build>
    <plugins>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-remote-resources-plugin</artifactId>

        <executions>
          <execution>
            <goals>
              <goal>process</goal>

            </goals>

            <configuration>
              <skip>false</skip>

            </configuration>

          </execution>

        </executions>

      </plugin>

      <plugin>
        <groupId>org.apache.felix</groupId>

        <artifactId>maven-bundle-plugin</artifactId>

        <configuration>
          <instructions>
            <Export-Package>org.apache.logging.slf4j</Export-Package>

          </instructions>

        </configuration>

      </plugin>

    </plugins>

  </build>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-changes-plugin</artifactId>

        <version>${changes.plugin.version}</version>

        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>

            </reports>

          </reportSet>

        </reportSets>

        <configuration>
          <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>

          <useJql>true</useJql>

        </configuration>

      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-checkstyle-plugin</artifactId>

        <version>${checkstyle.plugin.version}</version>

        <configuration>
          
          <configLocation>${log4jParentDir}/checkstyle.xml</configLocation>

          <suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>

          <enableRulesSummary>false</enableRulesSummary>

          <propertyExpansion>basedir=${basedir}</propertyExpansion>

          <propertyExpansion>licensedir=${log4jParentDir}/checkstyle-header.txt</propertyExpansion>

        </configuration>

      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-javadoc-plugin</artifactId>

        <version>${javadoc.plugin.version}</version>

        <configuration>
          <bottom>&lt;p align="center">Copyright &amp;#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.&lt;br />
            Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
            and the Apache Log4j logo are trademarks of The Apache Software Foundation.&lt;/p></bottom>

          
          <detectOfflineLinks>false</detectOfflineLinks>

          <linksource>true</linksource>

        </configuration>

        <reportSets>
          <reportSet>
            <id>non-aggregate</id>

            <reports>
              <report>javadoc</report>

            </reports>

          </reportSet>

        </reportSets>

      </plugin>

      <plugin>
        <groupId>com.github.spotbugs</groupId>

        <artifactId>spotbugs-maven-plugin</artifactId>

      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-jxr-plugin</artifactId>

        <version>${jxr.plugin.version}</version>

        <reportSets>
          <reportSet>
            <id>non-aggregate</id>

            <reports>
              <report>jxr</report>

            </reports>

          </reportSet>

          <reportSet>
            <id>aggregate</id>

            <reports>
              <report>aggregate</report>

            </reports>

          </reportSet>

        </reportSets>

      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-pmd-plugin</artifactId>

        <version>${pmd.plugin.version}</version>

        <configuration>
          <targetJdk>${maven.compiler.target}</targetJdk>

        </configuration>

      </plugin>

    </plugins>

  </reporting>

</project>
