From 44277c273779eb2a6fb2d245029730db5607f4ca Mon Sep 17 00:00:00 2001
From: Dennis Schiese <135758800+dschiese@users.noreply.github.com>
Date: Sun, 15 Oct 2023 01:45:51 +0200
Subject: [PATCH] Component build fix (#318)
* Update pom.xml
Added KG2KG and DateOfDeath component as modules
* Update QanaryServiceQueryBuilderDateOfDeathDBpediaControllerTest.java
Added missing method for used abstract class
* Update pom.xml
Incremented version v0.1.0 -> v0.1.1
* Added missing import
---
pom.xml | 2 ++
qanary-component-QB-DateOfDeathDBpedia/pom.xml | 2 +-
...rviceQueryBuilderDateOfDeathDBpediaControllerTest.java | 8 +++++++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index e3dd7bb28..7e14136d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
qanary-component-QB-RuBQWrapper
qanary-component-QB-TeBaQaWrapper
qanary-component-CopyValuesOfPriorGraph
+ qanary-component-KG2KG-TranslateAnnotationsOfInstance
+ qanary-component-QB-DateOfDeathDBpedia
diff --git a/qanary-component-QB-DateOfDeathDBpedia/pom.xml b/qanary-component-QB-DateOfDeathDBpedia/pom.xml
index 586c6b58f..93892d438 100644
--- a/qanary-component-QB-DateOfDeathDBpedia/pom.xml
+++ b/qanary-component-QB-DateOfDeathDBpedia/pom.xml
@@ -5,7 +5,7 @@
4.0.0
eu.wdaqua.qanary.component
qanary-component-QB-DateOfDeathDBpedia
- 0.1.0
+ 0.1.1
org.springframework.boot
spring-boot-starter-parent
diff --git a/qanary-component-QB-DateOfDeathDBpedia/src/test/java/eu/wdaqua/qanary/component/mypackage/QanaryServiceQueryBuilderDateOfDeathDBpediaControllerTest.java b/qanary-component-QB-DateOfDeathDBpedia/src/test/java/eu/wdaqua/qanary/component/mypackage/QanaryServiceQueryBuilderDateOfDeathDBpediaControllerTest.java
index bf1dfdfb7..c755412a2 100644
--- a/qanary-component-QB-DateOfDeathDBpedia/src/test/java/eu/wdaqua/qanary/component/mypackage/QanaryServiceQueryBuilderDateOfDeathDBpediaControllerTest.java
+++ b/qanary-component-QB-DateOfDeathDBpedia/src/test/java/eu/wdaqua/qanary/component/mypackage/QanaryServiceQueryBuilderDateOfDeathDBpediaControllerTest.java
@@ -37,6 +37,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import java.util.function.Consumer;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.ArgumentMatchers.any;
@@ -99,6 +100,11 @@ public QuerySolution next() {
return querySolutionMaps.get(rowIndex);
}
+ @Override
+ public void forEachRemaining(Consumer super QuerySolution> consumer) {
+
+ }
+
@Override
public QuerySolution nextSolution() {
return null;
@@ -296,4 +302,4 @@ void getBindingForSparqlQueryWithGivenQanaryQuestion() throws Exception {
}
}
-}
\ No newline at end of file
+}