<?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/maven-v4_0_0.xsd">

    <groupId>com.fing.fourmc</groupId>
    <artifactId>parent</artifactId>
    <version>1.0</version>

    <modelVersion>4.0.0</modelVersion>
    <packaging>pom</packaging>
    <name>4mc</name>
    <url>https://github.com/fingltd/4mc</url>
    <description>
        4mc - Four More Compression, ZSTD and LZ4 power unleashed in hadoop/spark/flink.
    </description>

    <licenses>
        <license>
            <name>BSD</name>
            <url>http://opensource.org/licenses/BSD-2-Clause</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
        <organization>
        <name>Fing Ltd</name>
        <url>https://fing.com</url>
    </organization>
    
        <scm>
    		<connection>scm:git:https://github.com/fingltd/4mc</connection>
    		<developerConnection>scm:git:https://github.com/fingltd/4mc</developerConnection>
    		<url>https://github.com/fingltd/4mc</url>
		</scm>

    <developers>
        <developer>
            <id>carlo</id>
            <name>Carlo Medas</name>
        </developer>
        <developer>
            <id>noodlesbad</id>
            <name>Giuseppe Badoni</name>
        </developer>
        <developer>
            <id>BuzzL</id>
            <name>Tommaso Latini</name>
        </developer>
        <developer>
            <id>Scip88</id>
            <name>Francesco Scipioni</name>
        </developer>
    </developers>
    

    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <modules>
        <module>hadoop-4mc</module>
    </modules>
    	<distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
         <repository>
      		<id>nexus-releases</id>
      		<url>http://localhost:8081/nexus/content/repositories/releases</url>
   		</repository>
        <!--  <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>-->
    </distributionManagement>
    
    <build>
        <plugins>
            <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>
      				<additionalparam>-Xdoclint:none</additionalparam>
    			</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>
            <plugin>
   				<groupId>org.apache.maven.plugins</groupId>
   				<artifactId>maven-release-plugin</artifactId>
   				<version>2.4.2</version>
   				<configuration>
      				
      				<autoVersionSubmodules>true</autoVersionSubmodules>
      				<releaseProfiles>releases</releaseProfiles>
   					</configuration>
			</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>
        </plugins>
    </build>

</project>
