add Java named modules

This commit is contained in:
Jörg Prante 2020-05-22 13:41:49 +02:00
parent bc317a3d0d
commit 66e2dce3b3
5 changed files with 53 additions and 2 deletions

View file

@ -0,0 +1,5 @@
module org.xbib.elx.api {
exports org.xbib.elx.api;
requires org.xbib.metrics.api;
requires org.xbib.elasticsearch.server;
}

View file

@ -0,0 +1,19 @@
module org.xbib.elx.common {
exports org.xbib.elx.common;
exports org.xbib.elx.common.io;
exports org.xbib.elx.common.util;
requires org.xbib.elx.api;
requires org.xbib.metrics.api;
requires org.xbib.metrics.common;
requires org.xbib.elasticsearch.hppc;
requires org.xbib.elasticsearch.log4j;
requires org.xbib.elasticsearch.server;
provides java.net.URLStreamHandlerFactory with
org.xbib.elx.common.io.ClasspathURLStreamHandlerFactory;
provides org.xbib.elx.api.AdminClientProvider with
org.xbib.elx.common.MockAdminClientProvider;
provides org.xbib.elx.api.BulkClientProvider with
org.xbib.elx.common.MockBulkClientProvider;
provides org.xbib.elx.api.SearchClientProvider with
org.xbib.elx.common.MockSearchClientProvider;
}

View file

@ -0,0 +1,13 @@
module org.xbib.elx.node {
exports org.xbib.elx.node;
requires org.xbib.elx.api;
requires org.xbib.elx.common;
requires org.xbib.elasticsearch.log4j;
requires org.xbib.elasticsearch.server;
provides org.xbib.elx.api.AdminClientProvider with
org.xbib.elx.node.NodeAdminClientProvider;
provides org.xbib.elx.api.BulkClientProvider with
org.xbib.elx.node.NodeBulkClientProvider;
provides org.xbib.elx.api.SearchClientProvider with
org.xbib.elx.node.NodeSearchClientProvider;
}

View file

@ -0,0 +1,14 @@
module org.xbib.elx.transport {
exports org.xbib.elx.transport;
requires org.xbib.elx.api;
requires org.xbib.elx.common;
requires org.xbib.elasticsearch.log4j;
requires org.xbib.elasticsearch.server;
requires org.xbib.elasticsearch.transport.nettyfour;
provides org.xbib.elx.api.AdminClientProvider with
org.xbib.elx.transport.TransportAdminClientProvider;
provides org.xbib.elx.api.BulkClientProvider with
org.xbib.elx.transport.TransportBulkClientProvider;
provides org.xbib.elx.api.SearchClientProvider with
org.xbib.elx.transport.TransportSearchClientProvider;
}

View file

@ -4,10 +4,10 @@ version = 6.3.2.7
gradle.wrapper.version = 6.4.1
elasticsearch-server.version = 6.3.2.4
log4j.version = 2.13.1
tcnative.version = 2.0.29.Final
tcnative-legacy-macosx.version = 2.0.26.Final
bouncycastle.version = 1.64
xbib-metrics.version = 2.1.0
xbib-netty-http.version = 4.1.49.0
xbib-netty-http.version = 4.1.49.1
log4j.version = 2.13.1
asciidoclet.version = 1.6.0.0