Updated fcs-simple-endpoint and mockserver-netty versions.
diff --git a/pom.xml b/pom.xml
index d99e7de..1bc0c17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
<dependency>
<groupId>eu.clarin.sru.fcs</groupId>
<artifactId>fcs-simple-endpoint</artifactId>
- <version>1.4.0</version>
+ <version>1.6.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
@@ -112,7 +112,7 @@
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId>
- <version>5.12.0</version>
+ <version>5.13.0</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -121,7 +121,7 @@
<repository>
<id>CLARIN</id>
<name>CLARIN Repository</name>
- <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
+ <url>https://nexus.clarin.eu/content/repositories/Clarin/</url>
<layout>default</layout>
</repository>
</repositories>
diff --git a/src/main/java/de/ids_mannheim/korap/sru/KorapEndpointDescription.java b/src/main/java/de/ids_mannheim/korap/sru/KorapEndpointDescription.java
index f31718b..270f7dc 100644
--- a/src/main/java/de/ids_mannheim/korap/sru/KorapEndpointDescription.java
+++ b/src/main/java/de/ids_mannheim/korap/sru/KorapEndpointDescription.java
@@ -214,4 +214,19 @@
public void setTextLayer (Layer textLayer) {
this.textLayer = textLayer;
}
+
+ @Override
+ public int getVersion () {
+ return VERSION_2;
+ }
+
+ @Override
+ public boolean isVersion (int version) {
+ if(version == VERSION_2) {
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
}