texttechnologylab / DockerUnifiedUIMAInterface

A UIMA-based tool for the scaled, uniform, distributed, platform-independent and easily reusable use of Natural Language Processing (NLP) methods using Docker.
https://texttechnologylab.github.io/DockerUnifiedUIMAInterface/
GNU Affero General Public License v3.0
11 stars 10 forks source link

( org.texttechnologylab.duui.ReproducibleAnnotation ) && ( Plugin 'maven-assembly-plugin:' not found ) #62

Closed p2keshtidar closed 10 months ago

p2keshtidar commented 10 months ago

org.texttechnologylab.duui.ReproducibleAnnotation fehlt. die verwendung in: 1) org.texttechnologylab.DockerUnifiedUIMAInterface.driver.DUUIMADriver 2) org.texttechnologylab.DockerUnifiedUIMAInterface.driver.IDUUIInstantiatedPipelineComponent 3) org.texttechnologylab.DockerUnifiedUIMAInterface.tools.BorlandExport 4) org.texttechnologylab.DockerUnifiedUIMAInterface.tools.RemoveAnnotations 5) org.texttechnologylab.DockerUnifiedUIMAInterface.tools.SimpleSegmenter 6) org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIPipelineAnnotationComponent 7) org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIPipelineDescription


&&


pom.xml zeile 52 : Plugin 'maven-assembly-plugin:' not found

meine Loesung : add pluginManagement. Code :

false src/main/resources desc/type/**/* org/**/* true src/main/resources desc/type/**/* org/**/* maven-assembly-plugin org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIComposer jar-with-dependencies io.github.git-commit-id git-commit-id-maven-plugin 5.0.0 get-the-git-infos revision initialize true ${project.build.outputDirectory}/git.properties ^git.build.(time|version)$ ^git.commit.id.(abbrev|full)$ full org.apache.uima jcasgen-maven-plugin 2.9.0 true src/main/resources/org/texttechnologylab/types/reproducibleAnnotations.xml generate-sources generate org.codehaus.mojo build-helper-maven-plugin 1.10 addToSourceFolder add-source process-sources ${project.build.directory}/generated-sources/jcasgen org.apache.maven.plugins maven-compiler-plugin 3.8.0 11 11 org.apache.maven.plugins maven-surefire-plugin 2.22.0 --illegal-access=permit org.apache.maven.plugins maven-failsafe-plugin 2.22.0 --illegal-access=permit
p2keshtidar commented 10 months ago

there was a build error. but found another Error.


Dec 28, 2023 6:20:58 AM com.github.dockerjava.core.DockerClientBuilder build WARNING: 'dockerHttpClient' should be set.Falling back to Jersey, will be an error in future releases. Exception in thread "main" java.lang.IllegalArgumentException: Unsupported protocol scheme: npipe:////./pipe/docker_engine at com.github.dockerjava.jaxrs.JerseyDockerHttpClient.(JerseyDockerHttpClient.java:225) at com.github.dockerjava.jaxrs.JerseyDockerHttpClient.(JerseyDockerHttpClient.java:49) at com.github.dockerjava.jaxrs.JerseyDockerHttpClient$Builder.build(JerseyDockerHttpClient.java:124) at com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:106) at org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIDockerInterface.(DUUIDockerInterface.java:167) at org.texttechnologylab.DockerUnifiedUIMAInterface.driver.DUUISwarmDriver.(DUUISwarmDriver.java:42) at org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIComposer.main(DUUIComposer.java:1167)


unfortunately could not find solution. the Problem Line is : _docker = DockerClientBuilder.getInstance().build();

abrami commented 10 months ago

Solution regarding the reproducible annotations, as specified in the description:

mvn clean compile exec:java -Dexec.mainClass="org.texttechnologylab.DockerUnifiedUIMAInterface.DUUIComposer"

abrami commented 10 months ago

solved, closed.