app-package-img Building

This page shows how to build the latest version of the UFTP client directly from the sources.

Prerequisites

You need a git client, Java (11 or later) and Apache Maven.

Cloning the GitHub repository

The UFTP client is maintained on GitHub.

Clone this repository:

$ git clone https://github.com/UNICORE-EU/uftp-javaclient.git
$ cd uftp-javaclient

Creating distribution packages

The following commands create the distribution packages in tgz, deb and rpm formats. The versions are taken from the pom.xml.

tgz

$ mvn package -DskipTests -Ppackman -Dpackage.type=bin.tar.gz

deb

$ mvn package -DskipTests -Ppackman -Dpackage.type=deb -Ddistribution=Debian

rpm redhat

$ mvn package -DskipTests -Ppackman -Dpackage.type=rpm -Ddistribution=RedHat