Skip to content

Commit

Permalink
Component build fix (#318)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dschiese authored Oct 14, 2023
1 parent e80650a commit 44277c2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
<module>qanary-component-QB-RuBQWrapper</module>
<module>qanary-component-QB-TeBaQaWrapper</module>
<module>qanary-component-CopyValuesOfPriorGraph</module>
<module>qanary-component-KG2KG-TranslateAnnotationsOfInstance</module>
<module>qanary-component-QB-DateOfDeathDBpedia</module>
</modules>
</profile>
<profile>
Expand Down
2 changes: 1 addition & 1 deletion qanary-component-QB-DateOfDeathDBpedia/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>eu.wdaqua.qanary.component</groupId>
<artifactId>qanary-component-QB-DateOfDeathDBpedia</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -296,4 +302,4 @@ void getBindingForSparqlQueryWithGivenQanaryQuestion() throws Exception {
}
}

}
}

0 comments on commit 44277c2

Please sign in to comment.