<?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.nsn.cumulocity.clients-java</groupId>
    <artifactId>clients-java</artifactId>
    <version>2025.0.18</version>
  </parent>
  <groupId>com.nsn.cumulocity.dependencies</groupId>
  <artifactId>svenson</artifactId>
  <version>1.5.8-2025.0.18</version>
  <name>Cumulocity :: Clients Java :: Svenson</name>
  <organization>
    <name>(C) Cumulocity GmbH</name>
  </organization>
  <licenses>
    <license>
      <name>BSD-3-Clause</name>
      <url>https://github.com/fforw/svenson/blob/svenson-1.5.8/LICENSE.TXT</url>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>com.google.code.svenson</groupId>
      <artifactId>svenson</artifactId>
      <version>${svenson.version}</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <groupId>commons-logging</groupId>
          <artifactId>commons-logging</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.esotericsoftware.reflectasm</groupId>
          <artifactId>reflectasm</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
    </dependency>
    <dependency>
      <groupId>jakarta.annotation</groupId>
      <artifactId>jakarta.annotation-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-sources</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>src/main/java</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>unpack-dependencies</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
            </configuration>
          </execution>
          <execution>
            <id>unpack-dependencies-sources</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>unpack-dependencies</goal>
            </goals>
            <configuration>
              <classifier>sources</classifier>
              <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
              <outputDirectory>${project.build.directory}/sources</outputDirectory>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <includeGroupIds>com.google.code.svenson</includeGroupIds>
          <includeArtifactIds>svenson</includeArtifactIds>
          <excludes>META-INF/MANIFEST.MF,
                        META-INF/maven/**/*,
                        org/svenson/reflectasm/,
                        org/svenson/AbstractDynamicProperties.*,
                        org/svenson/info/JavaObjectSupport.*,
                        org/svenson/tokenize/JSONTokenizer.*,
                        org/svenson/JSONParser.*</excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <includes>
            <include>org</include>
            <include>org/svenson</include>
            <include>org/svenson/AbstractDynamicProperties.*</include>
            <include>org/svenson/info/JavaObjectSupport.*</include>
            <include>org/svenson/tokenize/JSONTokenizer.*</include>
            <include>org/svenson/JSONParser.*</include>
          </includes>
          <skipMain>false</skipMain>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
