This plugin add features related to Maven jobs info. Adds columns configurable in views (version, dependencies, modules, ...) and extract information from Maven jobs (update name and description from POM, ...)
Shows last build version.
If you move mouse over the version, an info panel is shown.
This panel shows main module's info and all modules grouped by groupId. If a module has different version then it's also shown between brackets.
Main module is shown in bold italic .
Show version of selected dependencies.
If you move the mouse pointer over the version, an info panel is also shown.
Only one version by column. If there is more than one version by dependency, then the column is marked with an asterisk ( * ) and all the versions are shown in the info panel.
This panel shows versions of selected dependencies grouped by groupId.
Show project modules.
Show project module versions.
Show project dependencies within project groupId
Show all project dependencies
Show all project module info
Updates project Visible Name automatically from main module pom.xml (from tag <name>)
You can configure a template to generate name using the Token Macro Plugin in Job configuration page :
It's useful to show checked out branch or some other label.
By default module name is used.
Updates project Description automatically from pom.xml (from tag <description>)
You can configure a template to generate description using the Token Macro Plugin in Job configuration page :
By default "<pre>$MAIN_DESCRIPTION</pre>" is used.
This plugin has some configuration at Job level.
You can find it at section:
It also haves a plugin configuration at Jenkins Configuration page:
If project is a multi-module project then you can select which module is used to extract info (main module). If no module is specified or found then root module is used as main module.
It's useful if your root module has different version or if you want to focus only on one module.
To select a module as main module you can use a "module selector".
A module selector is a pattern of the form "groupId:artifactId". Both groupId and artifactId can contain wildcards (*). If groupId or artifactId is empty, they are treated as *.
So, valid expressions are "*:my-artifact", ":my-artifact*", "*.plugin:main", ...
If more than one module is selected, modules are sorted lexicographically and first one is selected.
You can configure the main module selector in Job configuration page (advaced options):
You can select which dependencies are interesting for you in a project.
It's useful to focus on some dependencies or dependency group (e.g.: commons-io version in all modules, spring framework dependencies, ...)
You can configure the dependencies selector in Job configuration page (advaced options):
You can hide the annoying suffix "-SANPSHOT" of snapshot versions to improve version readability.
This can be done checking the checkbox at Plugin's Configuration section:
If you check it, versions will be shown without the suffix and using an alternate style:
You can change the style of versions to improve readability.
As example, you can use green for releases and italic red for snapshots.
To do that you have two textboxes at Plugin's Configuration section:
Versions are rendered inside an <span> : E.g: <span>1.0.0</span>
CSS code entered here will apply only to this span.
Note: if you leave empty snapshot version style and hide snapshots is checked, a default style is applied.
In addition to Token Macro Plugin and extensions variables, templates can use the following variables:
Skip to end of metadata Go to start of metadata