Skip to content

Commit

Permalink
inception-project#3673 - Update dependencies
Browse files Browse the repository at this point in the history
- DKPro Core 2.3.1 -> 2.4.0
- RDf4J 4.2.3 -> 4.3.2
  • Loading branch information
reckart authored and awachatilf committed Jun 26, 2023
1 parent b71b775 commit e760836
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
import org.apache.uima.jcas.JCas;
import org.custommonkey.xmlunit.XMLAssert;
import org.dkpro.core.io.xmi.XmiWriter;
import org.dkpro.core.testing.DkproTestContext;
import org.dkpro.core.testing.TestOptions;
import org.junit.Rule;
import org.junit.Test;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
Expand Down Expand Up @@ -153,7 +151,4 @@ private void assertXmlEquals(File expected, File actual)
throw new RuntimeException(e);
}
}

@Rule
public DkproTestContext testContext = new DkproTestContext();
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.function.FailableBiConsumer;
import org.apache.commons.lang3.tuple.Pair;
import org.assertj.core.api.recursive.comparison.RecursiveComparisonConfiguration;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
import org.eclipse.rdf4j.model.vocabulary.OWL;
import org.eclipse.rdf4j.model.vocabulary.RDF;
Expand Down Expand Up @@ -514,8 +515,11 @@ static void thatMatchingAgainstAdditionalSearchPropertiesWorks2(Repository aRepo
queryPair.getValue().forEach(v -> expectedKBHandle.addMatchTerm(v, null));

assertThat(results) //
.usingRecursiveFieldByFieldElementComparatorOnFields("identifier", "name",
"matchTerms") //
.usingRecursiveFieldByFieldElementComparator(
RecursiveComparisonConfiguration.builder() //
.withComparedFields("identifier", "name", "matchTerms") //
.withIgnoredCollectionOrderInFields("matchTerms") //
.build())
.containsExactlyInAnyOrder(expectedKBHandle);
}
}
Expand Down
10 changes: 5 additions & 5 deletions inception/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@
<dkpro.core.testCachePath>${session.executionRootDirectory}/cache/dkpro-core-datasets</dkpro.core.testCachePath>
<excludedTestCategories>slow</excludedTestCategories>

<junit-jupiter.version>5.9.2</junit-jupiter.version>
<junit-platform.version>1.9.2</junit-platform.version>
<junit-jupiter.version>5.9.3</junit-jupiter.version>
<junit-platform.version>1.9.3</junit-platform.version>
<mockito.version>4.11.0</mockito.version>
<assertj.version>3.24.2</assertj.version>

<awaitility.version>4.2.0</awaitility.version>
<xmlunit.version>1.6</xmlunit.version>

<dkpro.version>2.3.1</dkpro.version>
<dkpro.version>2.4.0</dkpro.version>
<uima.version>3.4.1</uima.version>
<uimafit.version>3.4.0</uimafit.version>
<uima-json.version>0.5.0</uima-json.version>
Expand Down Expand Up @@ -124,8 +124,8 @@
<!-- * 1.3.5 depends on Lucene 8.10.1 -->
<!-- 2.x depends on Lucene 9.x -->

<rdf4j.version>4.2.3</rdf4j.version>
<!-- * 4.2.x depends on Lucene 8.5.1 -->
<rdf4j.version>4.3.2</rdf4j.version>
<!-- * 4.3.x depends on Lucene 8.9.x -->

<jena.version>4.6.1</jena.version>
<!-- * 4.6.1 depends on Lucene 8.11.1 -->
Expand Down

0 comments on commit e760836

Please sign in to comment.