<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>bd.com.shurjopay.plugin</groupId>
	<artifactId>sp-plugin-java</artifactId>
	<version>1.0.0</version>
	<name>sp-plugin-java</name>
	<packaging>jar</packaging>
	<description>shurjoPay plugin module for Java application</description>
	<url>${github.url}/sp-plugin-java</url>

	<properties>
		<maven.compiler.source>8</maven.compiler.source>
		<maven.compiler.target>8</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<github.url>https://github.com/shurjoPay-Plugins</github.url>
		<git.scm.uri>scm:git:git@github.com:shurjoPay-Plugins</git.scm.uri>
		<org.name>shurjoMukhi Ltd.</org.name>
	</properties>

	<dependencies>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>2.5.2</version>
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-core</artifactId>
			<version>1.4.3</version>
		</dependency>
		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<version>1.18.24</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>2.0.0</version>
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>1.4.3</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.seleniumhq.selenium</groupId>
			<artifactId>selenium-java</artifactId>
			<version>4.5.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<version>5.8.2</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<organization>
		<name>${org.name}</name>
		<url>https://shurjomukhi.com.bd</url>
	</organization>
	
	<developers>
		<developer>
			<name>Imtiaz Rahi</name>
			<email>imtiaz.rahi@shurjomukhi.com.bd</email>
			<organization>${org.name}</organization>
		</developer>
		<developer>
			<name>Al - Amin Bin Mannan</name>
			<email>alamin.binmannan@shurjomukhi.com.bd</email>
			<organization>${org.name}</organization>
		</developer>
	</developers>
	<issueManagement>
		<url>${github.url}/sp-plugin-java/issues</url>
		<system>github-issues</system>
	</issueManagement>
	<scm>
		<developerConnection>${git.scm.uri}/spring-multitenancy.git</developerConnection>
		<connection>${git.scm.uri}/spring-multitenancy.git</connection>
		<url>${github.url}/spring-multitenancy</url>
	</scm>
	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://www.opensource.org/licenses/mit-license.php</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.13</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>ossrh</serverId>
					<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
				</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>3.4.1</version>
		      	<configuration>
        			<doclint>all,-missing</doclint>
    			</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>3.0.1</version>
		      <executions>
		        <execution>
		          <id>sign-artifacts</id>
		          <phase>verify</phase>
		          <goals>
		            <goal>sign</goal>
		          </goals>
		        </execution>
		      </executions>
		    </plugin>
		</plugins>
	</build>
</project>
