Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set JAVA_HOME to included JDK 8
run: echo JAVA_HOME=$JAVA_HOME_8_X64 >> $GITHUB_ENV
- name: Set JAVA_HOME to included JDK 11
run: echo JAVA_HOME=$JAVA_HOME_11_X64 >> $GITHUB_ENV
- run: misc/download-annis-cli.sh
env:
OS_NAME: linux
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,6 @@ on:
branches: [main]

jobs:
test_jdk8:
name: Execute all automated tests JDK 8
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-8-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-8-
- name: Cache test corpora
uses: actions/cache@v4
with:
path: "*.zip"
key: ${{ runner.os }}-corpora-${{ hashFiles('misc/import-test-corpora.sh') }}
- name: Set JAVA_HOME to included JDK 8
run: echo JAVA_HOME=$JAVA_HOME_8_X64 >> $GITHUB_ENV
- run: misc/download-annis-cli.sh
env:
OS_NAME: linux
- run: misc/import-test-corpora.sh
- name: Run Maven install (includes tests)
run: mvn install
test_jdk11:
name: Execute all automated tests on JDK 11
runs-on: ubuntu-24.04
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ ANNIS is a frontend to the graphANNIS webservice, which has its [own changelog](

## [Unreleased]

### Changed

- 💥 Drop support for Java 8 (**breaking change**). The lowest supported Java version is now 11.
The documentation and homepage stated to use Java 11 for a while now, so this hopefully should
have limited impact for the users.
- Update some of the dependencies of the project: Spring Boot to 2.7.x and OpenApi to 5.4.x.

### Fixed

- Update to graphANNIS 4.1.3 which includes a bugfix for including token in subgraph even if the
- Update to graphANNIS 4.1.4 which includes a bugfix for including token in subgraph even if the
token is not covered by a segmentation node


## [4.15.1] - 2025-10-10

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion misc/download-annis-cli.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

GRAPHANNIS_VERSION=${1:-3.5.1}
GRAPHANNIS_VERSION=${1:-4.1.4}

install_graphannis_cli=false

Expand Down
34 changes: 22 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.12</version>
<version>2.7.18</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

Expand Down Expand Up @@ -35,17 +35,17 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<java.version>11</java.version>
<vaadin.version>8.14.3</vaadin.version>
<vaadin.productionMode>true</vaadin.productionMode>
<start-class>org.corpus_tools.annis.gui.AnnisUiApplication</start-class>
<graphannis.version>4.1.3</graphannis.version>
<graphannis.version>4.1.4</graphannis.version>
<antlr4.version>4.7.2</antlr4.version>
<spring.profiles.active>server</spring.profiles.active>
<swagger-core-version>1.5.24</swagger-core-version>
<gson-fire-version>1.8.4</gson-fire-version>
<kotlin.version>1.6.0</kotlin.version>
<commons-lang3.version>3.17.0</commons-lang3.version>
<h2.version>1.4.200</h2.version>
</properties>

<repositories>
Expand Down Expand Up @@ -261,7 +261,7 @@
https://github.com/korpling/graphANNIS/releases/download/v${graphannis.version}/graphannis-webservice-x86_64-unknown-linux-gnu.tar.xz</url>
<outputDirectory>
${project.build.directory}/native/</outputDirectory>
<sha256>b64c63cf721ed40c9e59dd7cba464f9ede588a2d3ae544b889e67228b6e9c7a7</sha256>
<sha256>0ffa61fe683359faa1f5f6f7cf62f4cd05bcf5ea9d20509064c234410f5fd186</sha256>
<unpack>true</unpack>
</configuration>
</execution>
Expand All @@ -276,7 +276,7 @@
https://github.com/korpling/graphANNIS/releases/download/v${graphannis.version}/graphannis-webservice-x86_64-pc-windows-msvc.zip</url>
<outputDirectory>
${project.build.directory}/native/win32-x86-64/</outputDirectory>
<sha256>3c3a259999e6b988836ee42f301364fcc4b9da995eeb4e0bab29b05523e3cb81</sha256>
<sha256>9b4a6f425c1096de405fd6de7e35447e7b7bb09f0341640495c53c1ebaa205b4</sha256>
<unpack>true</unpack>
</configuration>
</execution>
Expand All @@ -291,7 +291,7 @@
https://github.com/korpling/graphANNIS/releases/download/v${graphannis.version}/graphannis-webservice-aarch64-apple-darwin.tar.xz</url>
<outputDirectory>
${project.build.directory}/native/</outputDirectory>
<sha256>0595e02f2446315564a22982803cf05dbd6ebe4f055c6ebf0f7674e952dfd97f</sha256>
<sha256>6e22c6faecd323aa153a41e30e27cf0733aabd4fde88c969e361cbd83fd1255f</sha256>
<unpack>true</unpack>
</configuration>
</execution>
Expand All @@ -306,7 +306,7 @@
https://github.com/korpling/graphANNIS/releases/download/v${graphannis.version}/graphannis-webservice-x86_64-apple-darwin.tar.xz</url>
<outputDirectory>
${project.build.directory}/native/</outputDirectory>
<sha256>92adb2cd4e548a4316f8c6960073a5b931aa2bcf913f1e493a511195f54a90b7</sha256>
<sha256>1401f9ee98620e3756d4b30c9730d33c50f5b6965074f59e94ef73dd2f901b7f</sha256>
<unpack>true</unpack>
</configuration>
</execution>
Expand All @@ -315,7 +315,7 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>5.0.1</version>
<version>5.4.0</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -563,8 +563,6 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down Expand Up @@ -594,7 +592,7 @@
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>2.7.0</version>
<version>[3.2.2,)</version>
</dependency>

<dependency>
Expand All @@ -607,6 +605,18 @@
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-toml</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
</dependency>

<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>0.2.10</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/corpus_tools/annis/gui/AnnisBaseUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ protected Map<String, InstanceConfig> loadInstanceConfig() {
TreeMap<String, InstanceConfig> result = new TreeMap<>();

JsonMapper mapper = new JsonMapper();
mapper.registerModule(new JaxbAnnotationModule());
JaxbAnnotationModule module = new JaxbAnnotationModule();
mapper.registerModule(module);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);

// get a list of all directories that contain instance informations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void sendResponse(VaadinSession session, VaadinRequest request,
// Execute the call and return the response
Call call;
try {
call = client.buildCall(localVarPath, "GET", localVarQueryParams,
call = client.buildCall(null, localVarPath, "GET", localVarQueryParams,
localVarCollectionQueryParams, null, localVarHeaderParams, localVarCookieParams,
localVarFormParams, localVarAuthNames, null);

Expand Down
Loading