Integrate the About dialog with POM variables
The About dialog describes the application. The information contained is duplicated elsewhere, particularly in the build system. Following the DRY principle, this MR redesigns the About dialog and the build system behind it for a streamlined design.
The About dialog now pulls properties from the POM hierarchy instead of manual duplication: version number (project.version
), top-level licensing information (license.{url,name}
), and organization (project.organization.{name,url}
). These values are composed into a few lines printed at the bottom of the About dialog, rich with hyperlinks.
To make this work, many of the POM variables have been tweaked to fit these roles. project.version
is the biggest change, it is now 2025.1.0-SNAPSHOT
which is the (lexically) closest representation of the last release that can be parsed as SemVer v1 (Maven/Tycho requirement). Note that the Viewer does not at this time use any kind of semantic versioning, we're just stealing the syntax to make Maven happy. On the plus side, the version is now constant throughout the entire reactor making it much simpler overall.
To Demonstrate
Open and click Help > About, you will be presented with a dialog that looks like: