<?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.github.white-sdev</groupId>
    <artifactId>White_Validations</artifactId>
    <version>1.0.2</version>
    <name>${project.groupId}:${project.artifactId}</name>
    <description>
	This Library will help you to perform basic generic validations for all of your standard 
	methods throwing your custom exceptions and/or custom messages of error and useful information for your callers.
    </description>
    <url>https://github.com/white-sdev/White_Validations</url>
    
    <licenses>
	<license>
	    <name>Creative Commons Attribution 4.0 International Public License</name>
	    <url>https://creativecommons.org/licenses/by/4.0/legalcode</url>
	</license>
    </licenses>
    
    <developers>
	<developer>
	    <name>Obed Vazquez</name>
	    <email>obed.vazquez@gmail.com</email>
	    <organization>White_Corp21</organization>
	    <organizationUrl>http://white-sdev.whiteweb.tech</organizationUrl>
	</developer>
    </developers>
    
    <scm>
	<connection>scm:git:git://git@github.com:white-sdev/White_Validations.git</connection>
	<developerConnection>scm:git:ssh://git@github.com:white-sdev/White_Validations.git</developerConnection>
	<url>https://github.com/white-sdev/White_Validations/tree/master</url>
    </scm>
    
    <properties>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<maven.compiler.source>12</maven.compiler.source>
	<maven.compiler.target>12</maven.compiler.target>
	<java.version>8</java.version>
    </properties>
    
    <dependencies>
	<dependency>
	    <groupId>org.slf4j</groupId>
	    <artifactId>slf4j-api</artifactId>
	    <version>1.7.30</version>
	</dependency>
	<dependency>
	    <groupId>org.projectlombok</groupId>
	    <artifactId>lombok</artifactId>
	    <version>1.18.12</version>
	    <type>jar</type>
	</dependency>
	<dependency>
	    <groupId>org.junit.jupiter</groupId>
	    <artifactId>junit-jupiter-api</artifactId>
	    <version>5.3.1</version>
	    <scope>test</scope>
	</dependency>
	<dependency>
	    <groupId>org.junit.jupiter</groupId>
	    <artifactId>junit-jupiter-params</artifactId>
	    <version>5.3.1</version>
	    <scope>test</scope>
	</dependency>
	<dependency>
	    <groupId>org.junit.jupiter</groupId>
	    <artifactId>junit-jupiter-engine</artifactId>
	    <version>5.3.1</version>
	    <scope>test</scope>
	</dependency>
	<dependency>
	    <artifactId>junit</artifactId>
	    <groupId>junit</groupId>
	    <version>4.13</version>
	</dependency>
    </dependencies>
    
    <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>
    
    <build>
	<plugins>
	    
	    <plugin>
		<artifactId>maven-surefire-plugin</artifactId>
		<!-- latest version (2.20.1) does not work well with JUnit5 -->
		<version>2.19.1 </version>
		<dependencies>
		    <dependency>
			<groupId>org.junit.platform</groupId>
			<artifactId>junit-platform-surefire-provider</artifactId>
			<version>1.0.3</version>
		    </dependency>
		    <dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<version>5.3.1</version>
		    </dependency>
		</dependencies>
	    </plugin>
	    
	    
	    <plugin>
		<groupId>org.sonatype.plugins</groupId>
		<artifactId>nexus-staging-maven-plugin</artifactId>
		<version>1.6.7</version>
		<extensions>true</extensions>
		<configuration>
		    <serverId>ossrh</serverId>
		    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
		    <autoReleaseAfterClose>true</autoReleaseAfterClose>
		</configuration>
	    </plugin>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-compiler-plugin</artifactId>
		<version>3.8.0</version>
		<configuration>
		    <source>8</source>
		    <target>8</target>
		</configuration>
	    </plugin>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-source-plugin</artifactId>
		<version>2.2.1</version>
		<executions>
		    <execution>
			<id>attach-sources</id>
			<goals>
			    <goal>jar-no-fork</goal>
			</goals>
		    </execution>
		</executions>
	    </plugin>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-javadoc-plugin</artifactId>
		<version>2.9.1</version>
		<configuration>
		    <detectJavaApiLink>false</detectJavaApiLink>
		</configuration>
		<executions>
		    <execution>
			<id>attach-javadocs</id>
			<goals>
			    <goal>jar</goal>
			</goals>
		    </execution>
		</executions>
	    </plugin>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-gpg-plugin</artifactId>
		<version>1.5</version>
		<executions>
		    <execution>
			<id>sign-artifacts</id>
			<phase>verify</phase>
			<goals>
			    <goal>sign</goal>
			</goals>
		    </execution>
		</executions>
	    </plugin>
	</plugins>
    </build>
    
</project>