<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
 <modelVersion>4.0.0</modelVersion>

  <groupId>net.sf.fsp</groupId>
  <artifactId>dmachine</artifactId>
  <name>Download Machine</name>
  <version>0.25</version>
  <url>http://dmachine.sourceforge.net</url>
  <packaging>jar</packaging>
  <description>
        Download machine is non interactive, non graphical, batch download manager.
  </description>
  <licenses>
     <license>
         <name>GPL v2 License</name>
         <url>https://www.gnu.org/licenses/old-licenses/gpl-2.0.html</url>
     </license>
  </licenses>
  <developers>
    <developer>
       <id>hsn</id>
       <name>Radim Kolar</name>
       <email>hsn@sendmail.cz</email>
    </developer>
  </developers>
  <distributionManagement>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <issueManagement>
    <system>Source Forge</system>
    <url>https://sourceforge.net/p/dmachine/tickets/</url>
  </issueManagement>
  <scm>
        <connection>scm:git:git://git.code.sf.net/p/dmachine/code</connection>
        <developerConnection>scm:git:ssh://git.code.sf.net/p/dmachine/code</developerConnection>
        <url>https://sourceforge.net/p/dmachine/code/ci/master/tree/</url>
  </scm>
  <organization>
        <name>Radim Kolar</name>
        <url>http://home.tiscali.cz/~cz210552/</url>
  </organization>
  <inceptionYear>1999</inceptionYear>
  <build>
  <sourceDirectory>${project.basedir}/src</sourceDirectory>
  <outputDirectory>bin</outputDirectory>
  <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-compiler-plugin</artifactId>
       <version>3.8.1</version>
       <configuration>
         <source>1.2</source>
         <target>1.2</target>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jar-plugin</artifactId>
       <version>3.2.0</version>
       <configuration>
         <archive>
           <addMavenDescriptor>false</addMavenDescriptor>
           <manifest>
             <mainClass>dmachine</mainClass>
           </manifest>
         </archive>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-shade-plugin</artifactId>
       <version>3.2.3</version>
       <executions>
         <execution>
           <phase>package</phase>
           <goals>
              <goal>shade</goal>
           </goals>
         </execution>
       </executions>
       <configuration>
         <createDependencyReducedPom>false</createDependencyReducedPom>
         <finalName>${project.artifactId}-${project.version}-all</finalName>
         <transformers>
           <transformer implementation=
              "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
              <mainClass>dmachine</mainClass>
           </transformer>
         </transformers>
       </configuration>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-assembly-plugin</artifactId>
       <version>3.3.0</version>
       <configuration>
         <descriptors>
           <descriptor>zip.xml</descriptor>
         </descriptors>
         <appendAssemblyId>false</appendAssemblyId>
         <attach>false</attach>
       </configuration>
       <executions>
         <execution>
           <id>make-final-assembly</id>
           <phase>package</phase>
           <goals>
              <goal>single</goal>
           </goals>
         </execution>
       </executions>
     </plugin>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-javadoc-plugin</artifactId>
       <version>3.2.0</version>
       <executions>
          <execution>
               <id>attach-javadocs-jar</id>
               <phase>package</phase>
               <goals>
                  <goal>jar</goal>
               </goals>
          </execution>
       </executions>
     </plugin>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
           <execution>
             <id>attach-sources</id>
             <phase>package</phase>
             <goals>
                <goal>jar-no-fork</goal>
             </goals>
           </execution>
        </executions>
     </plugin>
     <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.8</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>false</autoReleaseAfterClose>
        </configuration>
     </plugin>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.6</version>
        <configuration>
           <gpgArguments>
               <arg>--pinentry-mode</arg>
               <arg>loopback</arg>
           </gpgArguments>
        </configuration>
        <executions>
           <execution>
             <id>sign-artifacts</id>
             <phase>verify</phase>
             <goals>
                <goal>sign</goal>
             </goals>
           </execution>
        </executions>
     </plugin>
  </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>net.sf.fsp</groupId>
      <artifactId>fsplib</artifactId>
      <version>1.0.0-RC11</version>
    </dependency>
  </dependencies>
</project>
