Skip to content

Commit a12574e

Browse files
authored
Upgrade to QUDT 3.1.5 (#122)
* Bump QUDT version to 3.1.5 * Remove all language-specific labels except for "en" and "en-US". QUDT now has too many languages and compiling the autogenerated hardcoded units java file runs out of space for constants (max 65536). * Reactivate tests for the qudtlib module * Activate tests for the qudtlib-main-rdf module
1 parent 3403451 commit a12574e

5 files changed

Lines changed: 45 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Bump QUDT version to [3.1.5](https://github.com/qudt/qudt-public-repo/releases/tag/v3.1.5)
13+
- Exclude all language-specific labels except `en` and `en-US` as their number has increased prohibitively for QUDTLib'
14+
current architecture.
15+
16+
### Fixed
17+
18+
- Recently, the packaging of the `qudtlib` artifact was changed to `pom`, which caused its tests not to
19+
be run any more. This is now fixed by explicitly binding the execution of `surefire:test` to the `test` phase.
20+
1021
## [7.0.1] - 2025-07-25
1122

1223
### Fixed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<maven.compiler.source>17</maven.compiler.source>
5050
<maven.compiler.target>17</maven.compiler.target>
5151
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
52-
<qudt.release.version>3.1.4</qudt.release.version>
52+
<qudt.release.version>3.1.5</qudt.release.version>
5353
<spotless.format.version>1.25.0</spotless.format.version>
5454
</properties>
5555

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
PREFIX qudt: <http://qudt.org/schema/qudt/>
2+
PREFIX unit: <http://qudt.org/vocab/unit/>
3+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4+
PREFIX quantitykind: <http://qudt.org/vocab/quantitykind/>
5+
6+
DELETE {
7+
?s rdfs:label ?label .
8+
} WHERE {
9+
?s rdfs:label ?label .
10+
FILTER( ! (LANG(?label) IN ("en","en-US")))
11+
FILTER EXISTS {
12+
?s rdfs:label ?keep
13+
FILTER( LANG(?keep) IN ("en","en-US"))
14+
}
15+
}

qudtlib-main-rdf/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@
4141
<plugin>
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-surefire-plugin</artifactId>
44+
<executions>
45+
<execution>
46+
<id>test</id>
47+
<phase>test</phase>
48+
<goals>
49+
<goal>test</goal>
50+
</goals>
51+
</execution>
52+
</executions>
4453
<configuration>
4554
<dependenciesToScan>
4655
<dependency>io.github.qudtlib:qudtlib-test:test-jar:tests</dependency>

qudtlib/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
<plugin>
4141
<groupId>org.apache.maven.plugins</groupId>
4242
<artifactId>maven-surefire-plugin</artifactId>
43+
<executions>
44+
<execution>
45+
<id>test</id>
46+
<phase>test</phase>
47+
<goals>
48+
<goal>test</goal>
49+
</goals>
50+
</execution>
51+
</executions>
4352
<configuration>
4453
<dependenciesToScan>
4554
<dependency>io.github.qudtlib:qudtlib-test:test-jar:tests</dependency>

0 commit comments

Comments
 (0)