<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.clazzes.util</groupId>
    <artifactId>clazzes-parent</artifactId>
    <version>4.3.1</version>
  </parent>
  <groupId>org.clazzes.logging</groupId>
  <artifactId>logback-hec</artifactId>
  <version>0.1.3</version>
  <name>HEC/Splunk Logback Appender</name>
  <description>Logback Appender for Splunks HTTP Event Collector</description>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
      <comments>A business-friendly OSS license</comments>
    </license>
  </licenses>

  <organization>
    <name>Clazzes.org</name>
    <url>http://www.clazzes.org</url>
  </organization>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <java.version>21</java.version>
    <logback.version>1.5.32</logback.version>
  </properties>

  <scm>
    <developerConnection>scm:git:git@gitlab.intra.iteg.at:java-libs/logging/logback-hec.git</developerConnection>
    <connection>scm:git:git@gitlab.intra.iteg.at:java-libs/http/logback-hec.git</connection>
    <tag>logback-hec-0.1.3</tag>
  </scm>

  <distributionManagement>
    <repository>
      <id>org.clazzes-http-dist</id>
      <url>scpexe://util@maven.clazzes.org/var/www/htdocs/maven.clazzes.org</url>
    </repository>
    <snapshotRepository>
      <id>org.clazzes.snapshots-http-dist</id>
      <url>scpexe://util@maven.clazzes.org/var/www/htdocs/maven-snapshots.clazzes.org</url>
    </snapshotRepository>
  </distributionManagement>


  <repositories>
    <repository>
      <id>org.clazzes</id>
      <name>Clazzes.org repository.</name>
      <url>https://maven.clazzes.org</url>
    </repository>
    <repository>
      <id>org.clazzes-snapshots</id>
      <name>Clazzes.org snapshot repository.</name>
      <url>https://maven-snapshots.clazzes.org</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <configuration>
          <executable>/usr/bin/pba-mvn2pkg-raiseversion-prod</executable>
          <environmentVariables>
            <PBA_MVN2PKG_PKGDIR>${project.basedir}/logback-hec-pkg</PBA_MVN2PKG_PKGDIR>
          </environmentVariables>

        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <preparationGoals>clean verify exec:exec</preparationGoals>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-core</artifactId>
      <version>${logback.version}</version>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>${logback.version}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>
