From 13228158c72c63a743da3a6d6f5f5ec70a1835ba Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 20:46:10 +0200 Subject: [PATCH 1/6] Bump QUDT version to 3.1.5 --- CHANGELOG.md | 6 ++++++ pom.xml | 2 +- .../src/main/resources/update-units-by-query2.rq | 15 +++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 qudtlib-data-gen/src/main/resources/update-units-by-query2.rq diff --git a/CHANGELOG.md b/CHANGELOG.md index a0e662b1..c54c0050 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Bump QUDT version to [3.1.5](https://github.com/qudt/qudt-public-repo/releases/tag/v3.1.5) +- Exclude all language-specific labels as their number has increased prohibitively and QUDTLib is not really aimed + at I18N for clients anyway + ## [7.0.1] - 2025-07-25 ### Fixed diff --git a/pom.xml b/pom.xml index 8b269f5b..4232301e 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ 17 17 UTF-8 - 3.1.4 + 3.1.5 1.25.0 diff --git a/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq b/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq new file mode 100644 index 00000000..e5233bb6 --- /dev/null +++ b/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq @@ -0,0 +1,15 @@ +PREFIX qudt: +PREFIX unit: +PREFIX rdfs: +PREFIX quantitykind: + +DELETE { + ?s rdfs:label ?label . +} WHERE { + ?s rdfs:label ?label . + FILTER( LANG(?label) != "" ) + FILTER EXISTS { + ?s rdfs:label ?other + FILTER (LANG (?other) = "" ) + } +} \ No newline at end of file From 2209cd18980858a33d88a1dcd744c3e30b323da1 Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 21:44:30 +0200 Subject: [PATCH 2/6] Remove all language-specific labels except for "en" and "en-US". --- CHANGELOG.md | 4 ++-- .../src/main/resources/update-units-by-query2.rq | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c54c0050..3f632fb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Changed +### Changed - Bump QUDT version to [3.1.5](https://github.com/qudt/qudt-public-repo/releases/tag/v3.1.5) -- Exclude all language-specific labels as their number has increased prohibitively and QUDTLib is not really aimed +- Exclude all language-specific labels as their number has increased prohibitively and QUDTLib is not really aimed at I18N for clients anyway ## [7.0.1] - 2025-07-25 diff --git a/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq b/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq index e5233bb6..fb592561 100644 --- a/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq +++ b/qudtlib-data-gen/src/main/resources/update-units-by-query2.rq @@ -7,9 +7,9 @@ DELETE { ?s rdfs:label ?label . } WHERE { ?s rdfs:label ?label . - FILTER( LANG(?label) != "" ) + FILTER( ! (LANG(?label) IN ("en","en-US"))) FILTER EXISTS { - ?s rdfs:label ?other - FILTER (LANG (?other) = "" ) + ?s rdfs:label ?keep + FILTER( LANG(?keep) IN ("en","en-US")) } } \ No newline at end of file From 6706be8a3e2f8dadc3198546e3e6f73dc5d90519 Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 21:45:10 +0200 Subject: [PATCH 3/6] Reactivate tests for the qudtlib module --- CHANGELOG.md | 5 +++++ qudtlib/pom.xml | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f632fb7..5c0711bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Exclude all language-specific labels as their number has increased prohibitively and QUDTLib is not really aimed at I18N for clients anyway +### Fixed + +- Recently, the packaging of the `qudtlib` artifact was changed to `pom`, which caused its tests not to + be run any more. This is now fixed by explicitly binding the execution of `surefire:test` to the `test` phase. + ## [7.0.1] - 2025-07-25 ### Fixed diff --git a/qudtlib/pom.xml b/qudtlib/pom.xml index c5b7e5ab..1d25b8ec 100644 --- a/qudtlib/pom.xml +++ b/qudtlib/pom.xml @@ -40,6 +40,15 @@ org.apache.maven.plugins maven-surefire-plugin + + + test + test + + test + + + io.github.qudtlib:qudtlib-test:test-jar:tests From aef297c1b35fddf17b43585a1b3b80d3021a320a Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 21:49:53 +0200 Subject: [PATCH 4/6] Activate tests for the qudtlib-main-rdf module --- qudtlib-main-rdf/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qudtlib-main-rdf/pom.xml b/qudtlib-main-rdf/pom.xml index 3a362299..33d0bfb8 100644 --- a/qudtlib-main-rdf/pom.xml +++ b/qudtlib-main-rdf/pom.xml @@ -41,6 +41,15 @@ org.apache.maven.plugins maven-surefire-plugin + + + test + test + + test + + + io.github.qudtlib:qudtlib-test:test-jar:tests From 481dfbfe80818169d5ee42632edd8698cd1fdcd0 Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 21:51:36 +0200 Subject: [PATCH 5/6] Improve CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c0711bd..973aa512 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Bump QUDT version to [3.1.5](https://github.com/qudt/qudt-public-repo/releases/tag/v3.1.5) -- Exclude all language-specific labels as their number has increased prohibitively and QUDTLib is not really aimed - at I18N for clients anyway +- Exclude all language-specific labels except `en` and `en-US` as their number has increased prohibitively for QUDTLib' + current architecture. ### Fixed From c324e164d1c7fef7e3e3302474020ecd4cce4af0 Mon Sep 17 00:00:00 2001 From: Florian Kleedorfer Date: Mon, 1 Sep 2025 21:52:45 +0200 Subject: [PATCH 6/6] Improve CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 973aa512..5f74fcdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,8 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Bump QUDT version to [3.1.5](https://github.com/qudt/qudt-public-repo/releases/tag/v3.1.5) -- Exclude all language-specific labels except `en` and `en-US` as their number has increased prohibitively for QUDTLib' - current architecture. +- Exclude all language-specific labels except `en` and `en-US` as their number has increased prohibitively for QUDTLib' + current architecture. ### Fixed