<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         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>today.bonfire.oss</groupId>
        <artifactId>bonfire-oss-parent</artifactId>
        <version>1.1.8</version>
    </parent>

    <artifactId>simple-object-pool</artifactId>
    <version>2.3.3</version>
    <packaging>jar</packaging>

    <properties>
        <java.version>21</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <module.name>bonfire.oss.sop</module.name>
    </properties>

    <name>${project.groupId}:${project.artifactId}</name>
    <description>A lightweight, thread-safe object pooling library for Java applications.
        Features:
        - Thread-safe object pooling using ReentrantLock
        - Configurable pool size with min and max limits
        - Automatic idle object eviction
        - Abandoned object detection and cleanup
        - Support for object validation and health checks
        - Simple and intuitive API
        - Zero external dependencies (except SLF4J for logging)
        - Java 21+ compatible

        Perfect for managing expensive resources like database connections, network sockets, or any reusable objects.
        (can be used for jedis, redisson, etc.)
    </description>
    <url>https://github.com/BonfireTrunk/simple-object-pool</url>

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

    <developers>
        <developer>
            <name>Bonfire Team</name>
            <email>oss@bonfire.today</email>
            <organization>Bonfire</organization>
            <organizationUrl>https://github.com/BonfireTrunk</organizationUrl>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:git://github.com/BonfireTrunk/simple-object-pool.git</connection>
        <developerConnection>scm:git:ssh://github.com/BonfireTrunk/simple-object-pool.git</developerConnection>
        <url>https://github.com/BonfireTrunk/simple-object-pool</url>
        <tag>HEAD</tag>
    </scm>

    <dependencyManagement>
        <dependencies>
        </dependencies>
    </dependencyManagement>

    <dependencies>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                        <manifestEntries>
                            <Automatic-Module-Name>${module.name}</Automatic-Module-Name>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <executions>
                    <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>manifest</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>


</project>
