From 51064fe07128c0c3622b381b7a1917d58001002f Mon Sep 17 00:00:00 2001 From: Ken Wenzel Date: Fri, 1 Dec 2023 14:57:49 +0100 Subject: [PATCH] Include parquet and hadoop dependencies in core module. --- bundles/io.github.linkedfactory.core/bnd.bnd | 13 ++-- .../plugin.xml | 0 bundles/io.github.linkedfactory.core/pom.xml | 67 +++++++++++++++++-- .../io.github.linkedfactory.feature/pom.xml | 2 +- 4 files changed, 67 insertions(+), 15 deletions(-) rename bundles/{io.github.linkedfactory.service => io.github.linkedfactory.core}/plugin.xml (100%) diff --git a/bundles/io.github.linkedfactory.core/bnd.bnd b/bundles/io.github.linkedfactory.core/bnd.bnd index 9b834596..61f45c2d 100644 --- a/bundles/io.github.linkedfactory.core/bnd.bnd +++ b/bundles/io.github.linkedfactory.core/bnd.bnd @@ -1,9 +1,4 @@ -Bundle-ClassPath: .,\ -lib/influxdb-java.jar,\ -lib/logging-interceptor.jar,\ -lib/okhttp.jar,\ -lib/okio.jar,\ -lib/leveldb-api.jar,\ -lib/leveldb.jar,\ -lib/snappy.jar -Import-Package: com.google.common.*;version="[25,40)", net.enilink.*, org.slf4j, scala.*, org.apache.http.*, com.fasterxml.jackson.* \ No newline at end of file +Bundle-SymbolicName: ${project.artifactId};singleton:=true +Import-Package: com.google.common.*;version="[25,40)", \ +!org.influxdb.*, \ +*;resolution:=optional \ No newline at end of file diff --git a/bundles/io.github.linkedfactory.service/plugin.xml b/bundles/io.github.linkedfactory.core/plugin.xml similarity index 100% rename from bundles/io.github.linkedfactory.service/plugin.xml rename to bundles/io.github.linkedfactory.core/plugin.xml diff --git a/bundles/io.github.linkedfactory.core/pom.xml b/bundles/io.github.linkedfactory.core/pom.xml index 5da63a9a..91605fec 100644 --- a/bundles/io.github.linkedfactory.core/pom.xml +++ b/bundles/io.github.linkedfactory.core/pom.xml @@ -12,7 +12,7 @@ 1.13.1 - 3.3.5 + 3.3.5 @@ -38,51 +38,103 @@ * + provided org.iq80.snappy snappy 0.4 + provided org.influxdb influxdb-java 2.10 + provided org.apache.parquet parquet-common ${parquet.version} + provided org.apache.parquet parquet-encoding ${parquet.version} + provided org.apache.parquet parquet-column ${parquet.version} + provided org.apache.parquet parquet-hadoop ${parquet.version} + provided org.apache.parquet parquet-avro ${parquet.version} + provided org.apache.avro avro 1.11.1 + provided org.apache.hadoop hadoop-client - ${hadoop.client.version} + ${hadoop.version} + provided + + + hadoop-auth + org.apache.hadoop + + + * + org.eclipse.jetty + + + * + com.google.re2j + + + * + ch.qos.reload4j + + + slf4j-reload4j + org.slf4j + + + * + org.apache.curator + + + * + org.apache.kerby + + + *t + com.sun.jersey + + + * + com.fasterxml.jackson.jaxrs + + + * + com.fasterxml.jackson.module + + org.openjdk.jmh @@ -183,13 +235,18 @@ maven-dependency-plugin - copy-libraries + unpack-libraries validate - + + unpack-dependencies + + ${project.build.outputDirectory} + false - org.iq80.leveldb,org.iq80.snappy,io.github.pcmind,org.influxdb,com.squareup.okhttp3,com.squareup.okio + io.github.pcmind,org.iq80.snappy,org.apache.parquet,org.apache.avro,org.apache.hadoop + META-INF/versions/** diff --git a/features/io.github.linkedfactory.feature/pom.xml b/features/io.github.linkedfactory.feature/pom.xml index 69e0d9bb..f7e4fdcc 100644 --- a/features/io.github.linkedfactory.feature/pom.xml +++ b/features/io.github.linkedfactory.feature/pom.xml @@ -18,7 +18,7 @@ io.github.linkedfactory - io.github.linkedfactory.kvin + io.github.linkedfactory.core ${project.version}