Table of Contents

Install from source code

GroIMP can be installed from the sources. The code is compiled and packaged to be runnable. This enable to have the lattest version on the code, which can be unstable.

Requirements

GroIMP 2.2.2 requires the installation of a Java runtime environment of version 21. This can be obtained from Oracle at www.oracle.com.

The compilation require Maven that can be found at the apache website. The minimum version required is 3.6, but it is recommended to use the latest version.

Additionally, the default compilation will run a perl script. Thus, it requires to have perl installed. If it is not already installed (on Windows) it can be found at perl website.

Download

The source can be found on gitlab. Notice that the main repository only contains the core of GroIMP.

Cloning the repository

From GitLab

This method do not require any Gitlab account.

It is possible to simply download the directory of source code from GitLab on the main page https://gitlab.com/grogra/groimp. There is a download arrow button right next to the _clone_ button. You can then download the whole repository as any archive format you like. Once it is downloaded, extract the archive to the directory in your workspace.

From a bash command

You can clone a repository from GitLab with the command line:

git clone  https://gitlab.com/grogra/groimp.git

This will create a directory named groimp and download all the remote content in it.

Run the installation

Compile with Maven

Now that you have the source code on your local device, you can compile it with Maven. Maven require pom.xml files to process a project. GroIMP core have both a parent pom.xml and a pom.xml for each plugins. Additional plugins only have their pom.xml. Maven commands are executed from a terminal (bash, Powershell, …). Maven commands can be executed either at the project level (on the parent pom.xml) or at the plugin level (whithin a plugin, at a pom.xml level). The commands at the project level will propagate to all plugins defined within the parent pom file.

The plugins are added with the <module/> tag. You can add or remove plugins to the parent. The plugins are defined with their repository name. Make sure that all the plugins that you want to be included in the commands are listed there.

The most useful maven commands are:

If you package the groimp core code, you will have a platform-with-dependency.jar in the /groimpsourcepath/app directory. You can start the compiled version of GroIMP with java -jar platform-with-dependency.jar.

Common errors

The maven commands can fail, here are some common errors: