Skip to content

Commit

Permalink
#1561 - Upgrade dependencies
Browse files Browse the repository at this point in the history
- DKPro Parent POM 29-SNAPSHOT -> 29
- Groovy 3.0.10 -> 4.0.11
- Fix years in license headers
- Fix dependencies
  • Loading branch information
reckart committed Apr 10, 2023
1 parent d8afd5a commit 91e562a
Show file tree
Hide file tree
Showing 80 changed files with 244 additions and 190 deletions.
2 changes: 1 addition & 1 deletion dkpro-core-berkeleyparser-gpl/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
2 changes: 1 addition & 1 deletion dkpro-core-berkeleyparser-gpl/src/scripts/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
2 changes: 1 addition & 1 deletion dkpro-core-corenlp-gpl/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
2 changes: 1 addition & 1 deletion dkpro-core-corenlp-gpl/src/scripts/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
9 changes: 5 additions & 4 deletions dkpro-core-dictionaryannotator-asl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
<groupId>org.apache.uima</groupId>
<artifactId>uimafit-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down Expand Up @@ -70,6 +66,11 @@
<artifactId>dkpro-core-api-ner-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
10 changes: 5 additions & 5 deletions dkpro-core-doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
</properties>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-xml</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-templates</artifactId>
</dependency>
<dependency>
Expand All @@ -54,7 +54,7 @@
<dependency>
<groupId>org.dkpro.meta</groupId>
<artifactId>dkpro-meta-core</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
Expand Down Expand Up @@ -348,7 +348,7 @@
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.6.3</version>
<version>2.1.0</version>
<executions>
<execution>
<id>build</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import static groovy.io.FileType.FILES;
import groovy.json.*;
import groovy.text.XmlTemplateEngine;
import groovy.transform.Field;
import groovy.util.XmlParser;
import groovy.xml.XmlParser;
import org.dkpro.meta.core.MetadataAggregator;
import org.dkpro.meta.core.maven.ContextHolder;
import org.dkpro.meta.core.model.MetadataModel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package org.dkpro.core.doc
import static groovy.io.FileType.FILES

import org.dkpro.meta.core.maven.ContextHolder;
import groovy.xml.XmlParser;

class PomSanityCheck {
public void run() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2007-2019
* Copyright 2007-2023
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
Expand Down
9 changes: 9 additions & 0 deletions dkpro-core-frequency-asl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@
</uimaDescriptorExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredDependencies>
<ignoredDependency>org.dkpro.core:dkpro-core-api-metadata-asl</ignoredDependency>
</ignoredDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion dkpro-core-gpl/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
2 changes: 1 addition & 1 deletion dkpro-core-gpl/scripts/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright 2007-2019
Copyright 2007-2023
Ubiquitous Knowledge Processing (UKP) Lab
Technische Universität Darmstadt
Expand Down
30 changes: 25 additions & 5 deletions dkpro-core-io-brat-asl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-segmentation-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-ner-asl</artifactId>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-syntax-asl</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
Expand Down Expand Up @@ -104,10 +112,22 @@
<artifactId>dkpro-core-io-conll-asl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dkpro.core</groupId>
<artifactId>dkpro-core-api-ner-asl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<usedDependency>org.dkpro.core:dkpro-core-api-segmentation-asl</usedDependency>
<usedDependency>org.dkpro.core:dkpro-core-api-ner-asl</usedDependency>
<usedDependency>org.dkpro.core:dkpro-core-api-syntax-asl</usedDependency>
</usedDependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;

import de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency;
import eu.openminted.share.annotations.api.DocumentationResource;

/**
Expand Down Expand Up @@ -111,8 +112,9 @@ public class BratReader
@Deprecated
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}" })
@ConfigurationParameter(name = PARAM_RELATION_TYPES, mandatory = false, defaultValue = {
Dependency._TypeName + ":" + Dependency._FeatName_Governor + ":"
+ Dependency._FeatName_Dependent + "{A}" })
private Set<String> relationTypes;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;

import de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence;
import de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency;
import eu.openminted.share.annotations.api.DocumentationResource;

/**
Expand Down Expand Up @@ -90,7 +92,7 @@ public class BratWriter
*/
public static final String PARAM_EXCLUDE_TYPES = "excludeTypes";
@ConfigurationParameter(name = PARAM_EXCLUDE_TYPES, mandatory = true, defaultValue = {
"de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence" })
Sentence._TypeName })
private Set<String> excludeTypes;

/**
Expand Down Expand Up @@ -118,7 +120,8 @@ public class BratWriter
*/
public static final String PARAM_RELATION_TYPES = "relationTypes";
@ConfigurationParameter(name = PARAM_RELATION_TYPES, mandatory = true, defaultValue = {
"de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency:Governor:Dependent" })
Dependency._TypeName + ":" + Dependency._FeatName_Governor + ":"
+ Dependency._FeatName_Dependent })
private Set<String> relationTypes;

// /**
Expand Down
Loading

0 comments on commit 91e562a

Please sign in to comment.