<?xml version="1.0" encoding="UTF-8"?>
<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>
    <groupId>com.emaraic</groupId>
    <artifactId>jdlib</artifactId>
    <version>1.0.1</version>
    <packaging>jar</packaging>
    <name>${project.groupId}:${project.artifactId}</name> 
    <description>Java Wrapper For dlib.</description> 

    <url>https://github.com/tahaemara/jdlib</url>
    <licenses> 
        <license>  
            <name>Boost Software License 1.0</name>              
            <url>https://www.boost.org/LICENSE_1_0.txt</url>       
        </license> 
    </licenses> 

    <developers>
        <developer>   
            <name>Taha Emara</name>   
            <email>taha@emaraic.com</email>      
            <organizationUrl>www.emaraic.com</organizationUrl>
        </developer> 
    </developers>
    <scm>   
        <connection>scm:git:git://github.com/tahaemara/jdlib.git</connection>   
        <developerConnection>scm:git:ssh://github.com/tahaemara/jdlib.git</developerConnection>   
        <url>https://github.com/tahaemara/jdlib/tree/main</url> 
    </scm>


    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    
    
    <build>  
        <plugins>
            <plugin>   
                <groupId>org.apache.maven.plugins</groupId>  
                <artifactId>maven-javadoc-plugin</artifactId>         
                <version>3.0.0</version> 
                <executions>   
                    <execution>    
                        <id>attach-javadocs</id>   
                        <goals>     
                            <goal>jar</goal>   
                        </goals>   
                    </execution>  
                </executions> 
            </plugin> 
            <plugin>  
                <groupId>org.apache.maven.plugins</groupId>  
                <artifactId>maven-source-plugin</artifactId>    
                <version>3.0.1</version> 
                <executions>   
                    <execution>    
                        <id>attach-sources</id>   
                        <goals>      
                            <goal>jar</goal>   
                        </goals>   
                    </execution> 
                </executions> 
            </plugin>
            <plugin>  
                <groupId>org.apache.maven.plugins</groupId>  
                <artifactId>maven-gpg-plugin</artifactId>  
                <version>1.6</version>  
                <executions>  
                    <execution>    
                        <id>sign-artifacts</id>   
                        <phase>verify</phase>   
                        <goals>     
                            <goal>sign</goal>   
                        </goals> 
                    </execution> 
                </executions> 
            </plugin>
            <plugin>  
                <groupId>org.sonatype.plugins</groupId> 
                <artifactId>nexus-staging-maven-plugin</artifactId>          
                <version>1.6.8</version> 
                <extensions>true</extensions>
                <configuration>    
                    <serverId>ossrh</serverId>    
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl> 
                    <autoReleaseAfterClose>false</autoReleaseAfterClose> 
                </configuration>
            </plugin>


        </plugins>   
        <resources>
            <resource>
                <directory>${basedir}/src/main/resources/</directory>
                <includes>
                    <include>**/*</include>
                </includes>
            </resource>
        </resources>
    </build>
    
    <distributionManagement>
        <snapshotRepository>   
            <id>ossrh</id>        
            <url>https://oss.sonatype.org/content/repositories/snapshots</url> 
        </snapshotRepository> 
        <repository> 
            <id>ossrh</id> 
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 
        </repository> 
    </distributionManagement>

</project>
