Skip to content

Commit

Permalink
#1500 - Upgrade dependencies
Browse files Browse the repository at this point in the history
- DKPro Parent POM 25 -> 26
- SLF4J 1.7.30 -> 1.7.36
- Snakeyaml 1.27 -> 1.30
- Groovy 3.0.7 -> 3.0.10
- Jackson 2.12.1 -> 2.13.2
- Fix a couple of type system dependencies
- Fix two version variables
- Switch some external repository URLs from http to https
- Bit of formatting
  • Loading branch information
reckart committed Apr 26, 2022
1 parent dfdf898 commit bb18177
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 48 deletions.
Expand Up @@ -17,8 +17,6 @@
*/
package org.dkpro.core.api.parameter;

import org.dkpro.core.api.parameter.Messages;

public final class Messages
{
public static final String BUNDLE = Messages.class.getName();
Expand Down
6 changes: 3 additions & 3 deletions dkpro-core-asl/pom.xml
Expand Up @@ -702,7 +702,7 @@
<repositories>
<repository>
<id>ukp-oss-ext-releases</id>
<url>http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ext-releases-local</url>
<url>https://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ext-releases-local</url>
<releases>
<enabled>true</enabled>
</releases>
Expand All @@ -712,7 +712,7 @@
</repository>
<repository>
<id>ukp-oss-ext-snapshots</id>
<url>http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ext-snapshots-local/</url>
<url>https://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ext-snapshots-local/</url>
<releases>
<enabled>false</enabled>
</releases>
Expand All @@ -722,7 +722,7 @@
</repository>
<repository>
<id>cogcomp.cs.uiuc.edu-releases</id>
<url>http://cogcomp.org/m2repo/</url>
<url>https://cogcomp.org/m2repo/</url>
<releases>
<enabled>true</enabled>
</releases>
Expand Down
9 changes: 4 additions & 5 deletions dkpro-core-dictionaryannotator-asl/pom.xml
Expand Up @@ -65,6 +65,10 @@
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-parameter-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
</dependency>
<dependency>
<groupId>eu.openminted.share.annotations</groupId>
<artifactId>omtd-share-annotations-api</artifactId>
Expand All @@ -84,11 +88,6 @@
<artifactId>dkpro-core-api-ner-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Expand Up @@ -67,10 +67,10 @@
@LanguageCapability("en")
@TypeCapability(
inputs = {
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence",
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token"},
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence",
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token"},
outputs = {
"de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS"})
"de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS"})
public class IllinoisPosTagger
extends JCasAnnotator_ImplBase
{
Expand Down
Expand Up @@ -109,8 +109,7 @@ public class BratReader
public static final String PARAM_RELATION_TYPES = "relationTypes";
@Deprecated
@ConfigurationParameter(name = PARAM_RELATION_TYPES, mandatory = false, defaultValue = {
"de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency:Governor:Dependent{A}"
})
"de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency:Governor:Dependent{A}" })
private Set<String> relationTypes;

/**
Expand Down
Expand Up @@ -105,7 +105,7 @@ public class BratWriter extends JCasFileWriter_ImplBase
// "de.tudarmstadt.ukp.dkpro.core.api.ner.type.NamedEntity",
// "de.tudarmstadt.ukp.dkpro.core.api.semantics.type.SemArg",
// "de.tudarmstadt.ukp.dkpro.core.api.semantics.type.SemPred"
})
})
private Set<String> spanTypes;

/**
Expand Down
4 changes: 2 additions & 2 deletions dkpro-core-io-rdf-asl/pom.xml
Expand Up @@ -41,12 +41,12 @@
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
<version>${jena.version>}</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>${jena.version>}</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
Expand Up @@ -54,8 +54,8 @@
@LanguageCapability("en")
@TypeCapability(
inputs = { "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence",
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token",
"de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS" },
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token",
"de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS" },
outputs = { "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Lemma" })
public class MorphaLemmatizer
extends JCasAnnotator_ImplBase
Expand Down
Expand Up @@ -209,22 +209,22 @@ protected OnlineComponent<NLPNode, DEPState<NLPNode>> produceResource(InputStrea
new OnlineComponentTagsetDescriptionProvider<NLPNode, DEPState<NLPNode>>(
getResourceMetaData().getProperty("dependency.tagset"), Dependency.class,
component)
{
@Override
public Set<String> listTags(String aLayer, String aTagsetName)
{
Set<String> cleanTags = new TreeSet<String>();

for (String tag : super.listTags(aLayer, aTagsetName)) {
String t = StringUtils.substringAfterLast(tag, "_");
if (t.length() > 0) {
cleanTags.add(t);
@Override
public Set<String> listTags(String aLayer, String aTagsetName)
{
Set<String> cleanTags = new TreeSet<String>();

for (String tag : super.listTags(aLayer, aTagsetName)) {
String t = StringUtils.substringAfterLast(tag, "_");
if (t.length() > 0) {
cleanTags.add(t);
}
}

return cleanTags;
}

return cleanTags;
}
};
};
addTagset(tsdp);

if (printTagSet) {
Expand Down
9 changes: 4 additions & 5 deletions dkpro-core-smile-asl/pom.xml
Expand Up @@ -65,6 +65,10 @@
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-parameter-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
</dependency>
<dependency>
<groupId>eu.openminted.share.annotations</groupId>
<artifactId>omtd-share-annotations-api</artifactId>
Expand All @@ -79,11 +83,6 @@
<artifactId>dkpro-core-testing-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-opennlp-asl</artifactId>
Expand Down
9 changes: 4 additions & 5 deletions dkpro-core-snowball-asl/pom.xml
Expand Up @@ -53,6 +53,10 @@
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-segmentation-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-parameter-asl</artifactId>
Expand All @@ -71,11 +75,6 @@
<artifactId>dkpro-core-testing-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-lexmorph-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-opennlp-asl</artifactId>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.dkpro</groupId>
<artifactId>dkpro-parent-pom</artifactId>
<version>25</version>
<version>26</version>
</parent>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core</artifactId>
Expand All @@ -45,14 +45,14 @@
<lucene.version>4.4.0</lucene.version>
<!-- The Spring version should be at least whatever uimaFIT requires -->
<spring.version>4.3.30.RELEASE</spring.version>
<slf4j.version>1.7.30</slf4j.version>
<slf4j.version>1.7.36</slf4j.version>
<log4j.version>2.16.0</log4j.version>
<maven.surefire.heap>6g</maven.surefire.heap>
<activation.version>1.2.0</activation.version>
<icu4j.version>68.2</icu4j.version>
<snakeyaml.version>1.27</snakeyaml.version>
<groovy.version>3.0.7</groovy.version>
<jackson.version>2.12.1</jackson.version>
<snakeyaml.version>1.30</snakeyaml.version>
<groovy.version>3.0.10</groovy.version>
<jackson.version>2.13.2</jackson.version>
<jena.version>3.17.0</jena.version>
</properties>
<repositories>
Expand Down

0 comments on commit bb18177

Please sign in to comment.