Skip to content

Commit

Permalink
Merge branch 'hotfix-0.8.1-update-dependencies' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Mar 17, 2022
2 parents fb2b483 + 163d5ca commit bdad123
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
33 changes: 13 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>de.gwdg.metadataqa</groupId>
<artifactId>metadata-qa-api</artifactId>
<packaging>jar</packaging>
<version>0.9.1-SNAPSHOT</version>
<version>0.8.1</version>
<name>Metadata Quality Assurance Framework API</name>
<description>
A metadata quality assurance framework. It checks some metrics of
Expand Down Expand Up @@ -81,7 +81,7 @@
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.4.0</version>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -91,7 +91,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.8.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
Expand All @@ -101,18 +101,18 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
<version>1.7.36</version>
</dependency>
<!-- CSV reader. Docs: http://opencsv.sourceforge.net -->
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>5.4</version>
<version>5.6</version>
</dependency>
<!--
http://commons.apache.org/proper/commons-text/
Expand All @@ -123,7 +123,6 @@
<artifactId>commons-text</artifactId>
<version>1.9</version>
</dependency>

<!--
Hierarchical context runner for jUnit
https://github.com/bechte/junit-hierarchicalcontextrunner/wiki
Expand All @@ -145,37 +144,31 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.28</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.2</version>
<version>1.30</version>
</dependency>
<!-- command line interface -->
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
<version>1.5.0</version>
</dependency>

<!-- language detection -->
<dependency>
<groupId>com.github.pemistahl</groupId>
<artifactId>lingua</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</dependency>

<!-- Solr client -->
<dependency>
<artifactId>solr-solrj</artifactId>
<groupId>org.apache.solr</groupId>
<version>6.6.0</version>
<version>8.11.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<!-- XML handling https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.0</version>
<version>2.13.2</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void testAbsolutePath() {
fragment = cache.read("$.datafield[?(@.tag == '935')]", null);
assertEquals(2, ((JSONArray) fragment).size());

path = "$..datafield[?(@.tag == '935')].size()";
path = "$.datafield[?(@.tag == '935')].size()";
value = (Integer) cache.get(path, Integer.class);
assertEquals(4, value);

Expand Down

0 comments on commit bdad123

Please sign in to comment.