02_user_tutorials:01_installation:02_from_source
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 02_user_tutorials:01_installation:02_from_source [2025/12/10 13:14] – removed - external edit (Unknown date) 127.0.0.1 | 02_user_tutorials:01_installation:02_from_source [2025/12/10 15:33] (current) – gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTOC~~ | ||
| + | ====== 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 [[https:// | ||
| + | |||
| + | The compilation require Maven that can be found at the [[https:// | ||
| + | |||
| + | Additionally, | ||
| + | |||
| + | ===== Download ===== | ||
| + | |||
| + | The source can be found on [[https:// | ||
| + | |||
| + | ==== 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:// | ||
| + | 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:// | ||
| + | </ | ||
| + | |||
| + | 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 '' | ||
| + | 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 '' | ||
| + | |||
| + | The plugins are added with the < | ||
| + | |||
| + | The most useful maven commands are: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | If you package the groimp core code, you will have a '' | ||
| + | '' | ||
| + | |||
| + | ==== Common errors ==== | ||
| + | |||
| + | The maven commands can fail, here are some common errors: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
