<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>net.mstdev</groupId>
  <artifactId>JavaUtilities</artifactId>
  <version>0.0.6</version>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
      </plugin>
    <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>2.9.1</version>
      <configuration>
          <javadocExecutable>C:\Program Files\Java\jdk-17.0.2\bin\javadoc</javadocExecutable>
      </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>
          <configuration>
            <keyname>0x45782380</keyname>
            <passphraseServerId>0x45782380</passphraseServerId>
          </configuration>
        </execution>
      </executions>
    </plugin>
    </plugins>
  </build>
  
   <properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
    </properties>
  
  <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>
  
  <name>Mst JavaUtilities</name>
  <description>Java Core extensions with many features and functions to enhance and clean up projects</description>
  <url>https://github.com/MstTeam/JavaUtilities</url>
  
  <licenses>
  	<license>
  		<name>Mst OpenSource License</name>
  		<url>https://mstdev.net/licenses/information.html</url>
  	</license>
  </licenses>
  
  <developers>
  	<developer>
  		<organization>Mst Java Developments</organization>
  	</developer>
  </developers>
  
  <scm>
  	<connection>scm:git:git://github.com/MstTeam/JavaUtilities.git</connection>
  	<developerConnection>scm:git:ssh://github.com:MstTeam/JavaUtilities.git</developerConnection>
  	<url>https://github.com/MstTeam/JavaUtilities/tree/master</url>
  </scm>
  
</project>