<?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.neuroph</groupId>
   <artifactId>Neuroph</artifactId>
   <version>2.98</version>
   <packaging>pom</packaging>

   <name>Neuroph</name>
   <description>Simple Java Neural Network Library</description>
   <url>https://neuroph.sourceforge.net</url>
   <licenses>
       <license>
           <name>Apache License, Version 2.0</name>
           <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
           <distribution>repo</distribution>
           <comments>A business-friendly OSS license</comments>
       </license>
   </licenses>
   
   <modules>
      <module>Core</module>
      <module>Samples</module>
      <module>ImageRec</module>
      <module>OCR</module>
      <module>Contrib</module>
   </modules>

   <organization>
      <name>Neuroph Project</name>
      <url>http://neuroph.sourceforge.net/</url>
   </organization>
   <developers>
      <developer>
         <name>Zoran Sevarac</name>
         <email>sevarac@gmail.com</email>
         <organization>Neuroph</organization>
         <organizationUrl>http://neuroph.sourceforge.net/</organizationUrl>
      </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>
      <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
      <encoding>UTF-8</encoding>
      <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
      <parent.version>2.98</parent.version>
   </properties>
   
  <scm>
        <connection>scm:git:git://github.com/neuroph/NeurophFramework.git</connection>
        <developerConnection>scm:git:ssh://github.com/neuroph/NeurophFramework.git</developerConnection>
        <url>https://github.com/neuroph/NeurophFramework/tree/master/neuroph</url>
  </scm>
     

    <pluginRepositories>
        <pluginRepository>
            <id>central</id>
            <name>Central Repository</name>
            <url>https://repo.maven.apache.org/maven2</url>
            <layout>default</layout>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <updatePolicy>never</updatePolicy>
            </releases>
        </pluginRepository>
    </pluginRepositories>
    <repositories>
        <repository>
            <id>central</id>
            <name>Central Repository</name>
            <url>https://repo.maven.apache.org/maven2</url>
            <layout>default</layout>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
    
    <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>
                <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-source-plugin</artifactId>
            <version>3.0.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.10.3</version>
            <executions>
               <execution>
                  <id>attach-javadocs</id>
                  <goals>
                     <goal>jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         
     
      </plugins>
   </build>
</project>
