Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target/*
.idea/*
target/
.idea/
*.png
*.pgf
*.db
Expand Down
182 changes: 99 additions & 83 deletions pom.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.texttechnologylab</groupId>
<artifactId>DockerUnifiedUIMAInterface</artifactId>
<version>1.5.0</version>
<version>1.4.6</version>

<description>Automatic analysis of large text corpora is a complex task. This complexity particularly concerns the question of time efficiency. Furthermore, efficient, flexible, and extensible textanalysis requires the continuous integration of every new text analysis tools. Since there are currently, in the area of NLP and especially in the application context of UIMA, only very few to no adequate frameworks for these purposes, which are not simultaneously outdated or can no longer be used for security reasons, this work will present a new approach to fill this gap. To this end, we present Docker Unified UIMA Interface (DUUI), a scalable, flexible, lightweight, and featurerich framework for automated and distributed analysis of text corpora that leverages experience in Big Data analytics and virtualization with Docker.</description>

Expand Down Expand Up @@ -77,7 +77,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<typesystem.version>3.0.8</typesystem.version>
<typesystem.version>3.0.7</typesystem.version>
<utilities.version>3.0.0</utilities.version>
<uima.version>3.5.0</uima.version>
<dkpro.core.version>2.4.0</dkpro.core.version>
Expand Down Expand Up @@ -141,49 +141,49 @@
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
<!-- <plugin>-->
<!-- &lt;!&ndash;generate types dynamically &ndash;&gt;-->
<!-- <groupId>org.apache.uima</groupId>-->
<!-- <artifactId>jcasgen-maven-plugin</artifactId>-->
<!-- <version>3.5.0</version>-->
<!-- <configuration>-->
<!-- <limitToProject>true</limitToProject>-->
<!-- <typeSystemIncludes>-->
<!-- <include>src/main/resources/org/texttechnologylab/types/*</include>-->
<!-- &lt;!&ndash; <include>src/main/resources/org/texttechnologylab/types/reproducibleAnnotations.xml</include>&ndash;&gt;-->
<!-- </typeSystemIncludes>-->
<!-- </configuration>-->
<!-- &lt;!&ndash; <executions>&ndash;&gt;-->
<!-- &lt;!&ndash; <execution>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash;call it in the generate-source phase &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <phase>generate-sources</phase>&ndash;&gt;-->
<!-- &lt;!&ndash; <goals>&ndash;&gt;-->
<!-- &lt;!&ndash; <goal>generate</goal>&ndash;&gt;-->
<!-- &lt;!&ndash; </goals>&ndash;&gt;-->
<!-- &lt;!&ndash; </execution>&ndash;&gt;-->
<!-- &lt;!&ndash; </executions>&ndash;&gt;-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>build-helper-maven-plugin</artifactId>-->
<!-- <version>1.10</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>addToSourceFolder</id>-->
<!-- <goals>-->
<!-- &lt;!&ndash;add the generated sources &ndash;&gt;-->
<!-- <goal>add-source</goal>-->
<!-- </goals>-->
<!-- <phase>process-sources</phase>-->
<!-- <configuration>-->
<!-- <sources>-->
<!-- &lt;!&ndash;default path to generated sources &ndash;&gt;-->
<!-- <source>${project.build.directory}/generated-sources/jcasgen</source>-->
<!-- </sources>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- &lt;!&ndash;generate types dynamically &ndash;&gt;-->
<!-- <groupId>org.apache.uima</groupId>-->
<!-- <artifactId>jcasgen-maven-plugin</artifactId>-->
<!-- <version>3.5.0</version>-->
<!-- <configuration>-->
<!-- <limitToProject>true</limitToProject>-->
<!-- <typeSystemIncludes>-->
<!-- <include>src/main/resources/org/texttechnologylab/types/*</include>-->
<!-- &lt;!&ndash; <include>src/main/resources/org/texttechnologylab/types/reproducibleAnnotations.xml</include>&ndash;&gt;-->
<!-- </typeSystemIncludes>-->
<!-- </configuration>-->
<!-- &lt;!&ndash; <executions>&ndash;&gt;-->
<!-- &lt;!&ndash; <execution>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash;call it in the generate-source phase &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <phase>generate-sources</phase>&ndash;&gt;-->
<!-- &lt;!&ndash; <goals>&ndash;&gt;-->
<!-- &lt;!&ndash; <goal>generate</goal>&ndash;&gt;-->
<!-- &lt;!&ndash; </goals>&ndash;&gt;-->
<!-- &lt;!&ndash; </execution>&ndash;&gt;-->
<!-- &lt;!&ndash; </executions>&ndash;&gt;-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.codehaus.mojo</groupId>-->
<!-- <artifactId>build-helper-maven-plugin</artifactId>-->
<!-- <version>1.10</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>addToSourceFolder</id>-->
<!-- <goals>-->
<!-- &lt;!&ndash;add the generated sources &ndash;&gt;-->
<!-- <goal>add-source</goal>-->
<!-- </goals>-->
<!-- <phase>process-sources</phase>-->
<!-- <configuration>-->
<!-- <sources>-->
<!-- &lt;!&ndash;default path to generated sources &ndash;&gt;-->
<!-- <source>${project.build.directory}/generated-sources/jcasgen</source>-->
<!-- </sources>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -259,12 +259,12 @@
<version>${uima.version}</version>
</dependency>

<!-- &lt;!&ndash; https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5 &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>org.apache.httpcomponents.client5</groupId>-->
<!-- <artifactId>httpclient5</artifactId>-->
<!-- <version>5.3.1</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5 &ndash;&gt;-->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.3.1</version>
</dependency>


<!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->
Expand All @@ -290,17 +290,17 @@


<!-- https://mvnrepository.com/artifact/com.google.oauth-client/google-oauth-client-java6 -->
<!-- <dependency>-->
<!-- <groupId>com.google.oauth-client</groupId>-->
<!-- <artifactId>google-oauth-client-java6</artifactId>-->
<!-- <version>1.23.0</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/com.google.oauth-client/google-oauth-client-jetty &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>com.google.oauth-client</groupId>-->
<!-- <artifactId>google-oauth-client-jetty</artifactId>-->
<!-- <version>1.23.0</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.google.oauth-client</groupId>-->
<!-- <artifactId>google-oauth-client-java6</artifactId>-->
<!-- <version>1.23.0</version>-->
<!-- </dependency>-->
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/com.google.oauth-client/google-oauth-client-jetty &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>com.google.oauth-client</groupId>-->
<!-- <artifactId>google-oauth-client-jetty</artifactId>-->
<!-- <version>1.23.0</version>-->
<!-- </dependency>-->

<!-- https://mvnrepository.com/artifact/org.aarboard.nextcloud/nextcloud-api -->
<dependency>
Expand Down Expand Up @@ -371,7 +371,7 @@
<dependency>
<groupId>com.influxdb</groupId>
<artifactId>influxdb-client-java</artifactId>
<!-- <version>5.0.0</version>-->
<!-- <version>5.0.0</version>-->
<version>6.9.0</version>
</dependency>

Expand Down Expand Up @@ -484,25 +484,25 @@
<scope>compile</scope>
</dependency>

<!-- <dependency>-->
<!-- <groupId>com.github.texttechnologylab.textimager-uima</groupId>-->
<!-- <artifactId>textimager-uima-io</artifactId>-->
<!-- <version>b10db8275163d19d63b9512cc20ca5872e52499b</version>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>com.github.texttechnologylab</groupId>-->
<!-- <artifactId>UIMATypeSystem</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>org.dkpro.core</groupId>-->
<!-- <artifactId>*</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>de.tudarmstadt.ukp.dkpro.core</groupId>-->
<!-- <artifactId>*</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.github.texttechnologylab.textimager-uima</groupId>-->
<!-- <artifactId>textimager-uima-io</artifactId>-->
<!-- <version>b10db8275163d19d63b9512cc20ca5872e52499b</version>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>com.github.texttechnologylab</groupId>-->
<!-- <artifactId>UIMATypeSystem</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>org.dkpro.core</groupId>-->
<!-- <artifactId>*</artifactId>-->
<!-- </exclusion>-->
<!-- <exclusion>-->
<!-- <groupId>de.tudarmstadt.ukp.dkpro.core</groupId>-->
<!-- <artifactId>*</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->

<!-- Givara Ebo https://mvnrepository.com/artifact/io.socket/socket.io-client -->
<dependency>
Expand Down Expand Up @@ -535,7 +535,7 @@
<version>8.5.6</version>
</dependency>

<dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>6.8.0</version> <!-- Use the appropriate version here -->
Expand Down Expand Up @@ -641,6 +641,22 @@
<artifactId>jsoup</artifactId>
<version>1.17.2</version>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>3.5.0</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.24.2</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>

</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,10 @@ public DUUIComposer() throws URISyntaxException {
addEvent(DUUIEvent.Sender.COMPOSER, "Shutdown Hook finished.");
} catch (UnknownHostException e) {
e.printStackTrace();
} catch (IOException e) {
throw new RuntimeException(e);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
});

Expand Down Expand Up @@ -1932,7 +1936,7 @@ public int getWorkerCount() {
* Shuts down the DUUI controller by signaling every worker and stopping all components.
* @throws UnknownHostException
*/
public void shutdown() throws UnknownHostException {
public void shutdown() throws IOException, InterruptedException {
if (isService) {
addEvent(
DUUIEvent.Sender.COMPOSER,
Expand Down
Loading