maintainer-guide:making-a-groimp-maven
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
maintainer-guide:making-a-groimp-maven [2024/12/18 10:55] – gaetan | maintainer-guide:making-a-groimp-maven [2025/05/24 20:23] (current) – barley1965 | ||
---|---|---|---|
Line 8: | Line 8: | ||
* [[https:// | * [[https:// | ||
- | It is possible to compile and package one specific plugin. The plugin | + | It is possible to compile and package one specific plugin. The plugin |
The template contains: | The template contains: | ||
- | - The assembly folder used to package the plugin with its dependency into a folder. Maven dependencies are automatically packaged. Third party local jar are also automatically included if the local-repository is setup in the plugin pom.xml file, and the maven property ''< | + | - The assembly folder used to package the plugin with its dependency into a folder. Maven dependencies are automatically packaged. Third party local jars are also automatically included if the local-repository is setup in the plugin pom.xml file, and the maven property ''< |
- | - The pom.xml that contains: the repository _gitlab-maven_ that points at this repository of maven artifacts, the parent dependency to de.grogra.GroIMP, | + | - The pom.xml that contains: the repository _gitlab-maven_ that points at this repository of maven artifacts, the parent dependency to de.grogra.GroIMP, |
- | Then, the plugin can be compiled with '' | + | Then, the plugin can be compiled with '' |
==== Compile with help panels ==== | ==== Compile with help panels ==== | ||
- | The documentation inside GroIMP is written in docbook which can be compiled into the html layout seen in the help panel. | + | The documentation inside GroIMP is written in docbook, which can be compiled into the html layout seen in the help panel. |
To do this compilation an installation of docbook, docbook-xsl and xsltproc | To do this compilation an installation of docbook, docbook-xsl and xsltproc | ||
On a Debian based system these can be installed with the following command: | On a Debian based system these can be installed with the following command: | ||
'' | '' | ||
- | This require | + | This requires |
Afterwards the maven command: '' | Afterwards the maven command: '' | ||
Line 32: | Line 32: | ||
===== Compile the complete project: ===== | ===== Compile the complete project: ===== | ||
- | To compile a set of GroIMP | + | To compile a set of GroIMP |
- | The easiest setup is to have all plugins and this parent pom into one repository. Then, make sure the parent pom.xml module list contains the exact set of plugin | + | The easiest setup is to have all plugins and this parent pom in one repository. Then, make sure the parent pom.xml module list contains the exact set of plugins |
- | It is then possible to apply maven command | + | It is then possible to apply maven commands |
- '' | - '' | ||
- | - '' | + | - '' |
===== Compile the documentation ===== | ===== Compile the documentation ===== | ||
- | GroIMP plugins can include documentation that is compiled and embed in the GroIMP platform (accessible through the Help menu). This documentation is automatically compiled and packaged with maven if it follow the template: the documentation is under src/ | + | GroIMP plugins can include documentation that is compiled and embedded |
The java documentation of a specific plugin can be compiled with '' | The java documentation of a specific plugin can be compiled with '' | ||
- | To compile the java documentation of a set of GroIMP | + | To compile the java documentation of a set of GroIMP |
'' | '' | ||
- | It is required to package before aggregating the javadoc because javadoc: | + | It is required to package before aggregating the javadoc because javadoc: |
===== Create the executable release files ====== | ===== Create the executable release files ====== | ||
- | Once the wanted | + | Once the desired |
- | This operation | + | This operation |
Put the Build plugin at the root of the GroIMP parent pom.xml. Make sure that the packaged classes and jars are under app/, app/ | Put the Build plugin at the root of the GroIMP parent pom.xml. Make sure that the packaged classes and jars are under app/, app/ | ||
Line 70: | Line 70: | ||
===== Deploy the new version of the maven artifacts on gitlab ===== | ===== Deploy the new version of the maven artifacts on gitlab ===== | ||
- | The GroIMP sources, and plugins are available as maven artifacts (accessible | + | The GroIMP sources, and plugins are available as maven artifacts (accessible |
- | The update of these artifact | + | The update of these artifacts |
maintainer-guide/making-a-groimp-maven.txt · Last modified: 2025/05/24 20:23 by barley1965