From 1ff9753de8e088bf1a64c0992cc69e85ad0d2ee3 Mon Sep 17 00:00:00 2001 From: Konrad Neitzel Date: Mon, 23 Nov 2026 18:24:22 +0100 Subject: [PATCH] Prepare NeitzelLib 1.0.4 with managed FXML and commands --- README.md | 6 +++--- core/pom.xml | 2 +- data-grid-jdbc/pom.xml | 2 +- data-grid/pom.xml | 2 +- encryption/pom.xml | 2 +- fx-example/README.md | 4 ++-- fx-example/docs/product-grid.md | 2 +- fx-example/docs/theme-gallery.md | 2 +- fx-example/pom.xml | 2 +- fx/README.md | 2 +- fx/docs/quick-start.md | 8 ++++---- fx/pom.xml | 2 +- gson/pom.xml | 2 +- injection/README.md | 4 ++-- injection/pom.xml | 2 +- log4j/pom.xml | 2 +- net/pom.xml | 2 +- pom.xml | 2 +- quarkus/pom.xml | 2 +- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 959972b..75e8e41 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The [complete quick start](fx/docs/quick-start.md) includes local installation, Build with Java 25. Maven wrapper version is 3.9.11; the project requires Maven 3.9.11 or later. Surefire fails the build if tests fail. -## Changes in 1.0.3 +## Changes in 1.0.4 - Show or hide DataGrid columns from the header checklist or context menu while retaining column order and widths. - Observe column visibility changes from applications that store their own view preferences. @@ -99,7 +99,7 @@ Build with Java 25. Maven wrapper version is 3.9.11; the project requires Maven ## Use a release from Maven -To use release `1.0.3`, add the Gitea registry to the consuming project's POM and use the release +To use release `1.0.4`, add the Gitea registry to the consuming project's POM and use the release version for the module you need: ```xml @@ -114,7 +114,7 @@ version for the module you need: de.neitzel.lib fx - 1.0.3 + 1.0.4 ``` diff --git a/core/pom.xml b/core/pom.xml index ee0d696..6db7337 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 core diff --git a/data-grid-jdbc/pom.xml b/data-grid-jdbc/pom.xml index 22115a3..9c6c438 100644 --- a/data-grid-jdbc/pom.xml +++ b/data-grid-jdbc/pom.xml @@ -1,5 +1,5 @@ -4.0.0de.neitzel.libneitzellib1.0.4-SNAPSHOT +4.0.0de.neitzel.libneitzellib1.0.4 data-grid-jdbcOptional mapped JDBC grid source de.neitzel.libdata-grid${project.version} com.h2databaseh22.5.252test diff --git a/data-grid/pom.xml b/data-grid/pom.xml index ebdd407..a8d6f95 100644 --- a/data-grid/pom.xml +++ b/data-grid/pom.xml @@ -1,6 +1,6 @@ 4.0.0 - de.neitzel.libneitzellib1.0.4-SNAPSHOT + de.neitzel.libneitzellib1.0.4 data-grid Toolkit-independent filter, query and grid setup contracts diff --git a/encryption/pom.xml b/encryption/pom.xml index e7ae1ac..73aed03 100644 --- a/encryption/pom.xml +++ b/encryption/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 encryption diff --git a/fx-example/README.md b/fx-example/README.md index 710e746..f05654a 100644 --- a/fx-example/README.md +++ b/fx-example/README.md @@ -30,12 +30,12 @@ From the NeitzelLib root with JDK 25: ./mvnw -f fx-example/pom.xml javafx:run ``` -The first command installs local `1.0.4-SNAPSHOT` artifacts; the second runs only the application module. Do not combine `javafx:run` with `-am`, since the parent has no JavaFX launcher. See the [quick start](../fx/docs/quick-start.md) for test reports. +The first command installs local `1.0.4` artifacts; the second runs only the application module. Do not combine `javafx:run` with `-am`, since the parent has no JavaFX launcher. See the [quick start](../fx/docs/quick-start.md) for test reports. The packaged alternative, after `package` or `install`, is: ```bash -java -jar fx-example/target/fx-example-1.0.4-SNAPSHOT.jar +java -jar fx-example/target/fx-example-1.0.4.jar ``` Keep the adjacent `target/libs` directory with the JAR: the manifest refers to those copied runtime dependencies. A desktop session is required. This example has no `module-info.java`; it is a classpath application. diff --git a/fx-example/docs/product-grid.md b/fx-example/docs/product-grid.md index dfe1f29..0549d3e 100644 --- a/fx-example/docs/product-grid.md +++ b/fx-example/docs/product-grid.md @@ -6,7 +6,7 @@ From the repository root with JDK 25, build without installing runtime artifacts ```sh ./mvnw -pl fx-example -am package -DskipTests -java -cp 'fx-example/target/fx-example-1.0.4-SNAPSHOT.jar:fx-example/target/libs/*' de.neitzel.fx.example.grid.ProductGridMain +java -cp 'fx-example/target/fx-example-1.0.4.jar:fx-example/target/libs/*' de.neitzel.fx.example.grid.ProductGridMain ``` The default catalog has 10,000 products. Both backends use identical stable IDs, names, categories, quantities and DECIMAL(12,2) prices. Fixtures include duplicate sort values, nulls, empty text, mixed case, Unicode, apostrophes and literal SQL wildcard characters. One `ProductCatalog` service maintains original text and Locale.ROOT comparison keys together on insertion/reset. Mutations run on application workers and explicitly refresh the grid; browsing is read-only. diff --git a/fx-example/docs/theme-gallery.md b/fx-example/docs/theme-gallery.md index d99a459..a27ddd6 100644 --- a/fx-example/docs/theme-gallery.md +++ b/fx-example/docs/theme-gallery.md @@ -5,7 +5,7 @@ After the reactor `verify` or `package` build, from the repository root (no local artifact install required): ```sh -java -cp 'fx-example/target/fx-example-1.0.4-SNAPSHOT.jar:fx-example/target/libs/*' \ +java -cp 'fx-example/target/fx-example-1.0.4.jar:fx-example/target/libs/*' \ de.neitzel.fx.example.theme.ThemeGalleryMain ``` diff --git a/fx-example/pom.xml b/fx-example/pom.xml index f7d4a33..ac470f2 100644 --- a/fx-example/pom.xml +++ b/fx-example/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 fx-example diff --git a/fx/README.md b/fx/README.md index 7fb191f..f61fef3 100644 --- a/fx/README.md +++ b/fx/README.md @@ -56,7 +56,7 @@ These are the versions configured by this source snapshot, not a promise of comp | --- | --- | --- | | JDK | Java 25 | Select a matching JDK for compilation and launch | | Maven | Minimum 3.9.11; wrapper 3.9.11 | Use the wrapper or an installed Maven | -| Library | `de.neitzel.lib:fx:1.0.3` | Use the Gitea Maven registry or install the local reactor | +| Library | `de.neitzel.lib:fx:1.0.4` | Use the Gitea Maven registry or install the local reactor | | Internal modules | `fx` directly depends on `core`, `injection` and toolkit-independent `data-grid` | Resolved transitively through Maven | | JavaFX | 27.0.1: base, graphics, controls, FXML and web | Resolved transitively; deployment still needs platform-native artifacts | | Saved HTML | jsoup 1.23.2, ph-css 8.2.3, TwelveMonkeys WebP 3.15.3 | Resolved transitively by `fx`; no separate application setup | diff --git a/fx/docs/quick-start.md b/fx/docs/quick-start.md index ce1ac65..8046820 100644 --- a/fx/docs/quick-start.md +++ b/fx/docs/quick-start.md @@ -1,13 +1,13 @@ # Your first JavaFX application -This walkthrough creates a complete Maven project with one editable name and a label that follows it. It uses Java 25, JavaFX 27.0.1 and NeitzelLib 1.0.3. The source build below uses the matching release tag. +This walkthrough creates a complete Maven project with one editable name and a label that follows it. It uses Java 25, JavaFX 27.0.1 and NeitzelLib 1.0.4. The source build below uses the matching release tag. ## Prepare the library Install a JDK 25. Use the library's Maven wrapper (3.9.11), or a separate Maven installation version 3.9.11 or newer. Check `java -version` and `./mvnw -version` before building; on macOS, select the JDK with `export JAVA_HOME=$(/usr/libexec/java_home -v 25)` if necessary. ```bash -git clone --branch v1.0.3 https://gitea.neitzel.de/konrad/NeitzelLib.git +git clone --branch v1.0.4 https://gitea.neitzel.de/konrad/NeitzelLib.git cd NeitzelLib ./mvnw -pl fx-example -am install ./mvnw -f fx-example/pom.xml javafx:run @@ -66,7 +66,7 @@ hello-fx/ de.neitzel.lib fx - 1.0.3 + 1.0.4 org.slf4j @@ -190,7 +190,7 @@ For a named-module application, see the [module and lifecycle notes](architectur | Symptom | Check | | --- | --- | -| Maven cannot resolve `de.neitzel.lib:fx:1.0.3` or its parent | Install the library reactor first; use the same Maven local repository for both projects. For direct downloads, see the [Maven repository setup](../../README.md#use-a-release-from-maven). | +| Maven cannot resolve `de.neitzel.lib:fx:1.0.4` or its parent | Install the library reactor first; use the same Maven local repository for both projects. For direct downloads, see the [Maven repository setup](../../README.md#use-a-release-from-maven). | | `No plugin found for prefix 'javafx'` | Invoke the example POM directly, or use the complete application POM above. Do not invoke the goal on the library reactor parent. | | JavaFX runtime/native library failure | Check the JDK version, architecture and JavaFX dependencies actually resolved; avoid mixing native artifacts from different platforms or JavaFX versions. | | `getResource(...)` returns null | The FXML belongs under `src/main/resources` in the matching package; verify it was copied to `target/classes`. Resource names are case-sensitive. | diff --git a/fx/pom.xml b/fx/pom.xml index db8c8e3..84eee72 100644 --- a/fx/pom.xml +++ b/fx/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 fx diff --git a/gson/pom.xml b/gson/pom.xml index 7028bfa..e019a0a 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 gson diff --git a/injection/README.md b/injection/README.md index cfd5bbc..905a79e 100644 --- a/injection/README.md +++ b/injection/README.md @@ -8,13 +8,13 @@ The worked example is the person desk in `fx-example`, package `de.neitzel.fx.ex ## Quick start -Depend on the module. It brings Reflections 0.10.2 and `jakarta.inject-api` 2.0.1 (plus shared logging dependencies). The parent artifact is `de.neitzel.lib:neitzellib:1.0.3`. Java 25. +Depend on the module. It brings Reflections 0.10.2 and `jakarta.inject-api` 2.0.1 (plus shared logging dependencies). The parent artifact is `de.neitzel.lib:neitzellib:1.0.4`. Java 25. ```xml de.neitzel.lib injection - 1.0.3 + 1.0.4 ``` diff --git a/injection/pom.xml b/injection/pom.xml index 00ca469..8d2e536 100644 --- a/injection/pom.xml +++ b/injection/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 injection diff --git a/log4j/pom.xml b/log4j/pom.xml index fd2abb0..4cf0457 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 log4j diff --git a/net/pom.xml b/net/pom.xml index f653e26..b1c6f50 100644 --- a/net/pom.xml +++ b/net/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 net diff --git a/pom.xml b/pom.xml index 9273f14..ee2d063 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 pom diff --git a/quarkus/pom.xml b/quarkus/pom.xml index 4fa83d6..c3f9eb0 100644 --- a/quarkus/pom.xml +++ b/quarkus/pom.xml @@ -7,7 +7,7 @@ de.neitzel.lib neitzellib - 1.0.4-SNAPSHOT + 1.0.4 quarkus