No longer requires jersey in module-info.java.

Other fixes to dependency tree.
Fixes #115
This commit is contained in:
Tomas Langer
2018-11-06 11:45:04 +01:00
committed by Tomas Langer
parent 0676af28a3
commit 8f9f1fbb57
2 changed files with 15 additions and 11 deletions

View File

@@ -42,6 +42,7 @@
<groupId>io.helidon.webserver</groupId>
<artifactId>helidon-webserver</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.helidon.common</groupId>
@@ -52,11 +53,6 @@
<groupId>io.opentracing</groupId>
<artifactId>opentracing-util</artifactId>
</dependency>
<dependency>
<!-- needed for correct module name -->
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-sender-urlconnection</artifactId>
@@ -71,6 +67,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- needed for correct module name -->
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>

View File

@@ -20,22 +20,24 @@
module io.helidon.webserver.zipkin {
requires io.helidon.webserver;
requires io.helidon.common;
requires opentracing.api;
requires jersey.client;
requires jersey.server;
requires jersey.common;
requires transitive opentracing.api;
requires java.logging;
requires java.ws.rs;
requires opentracing.util;
requires java.annotation;
requires javax.inject;
requires brave.opentracing;
requires zipkin2.reporter;
requires zipkin2.reporter.urlconnection;
requires zipkin2;
requires brave;
// Support for injection and outbound context propagation
requires static javax.inject;
requires static jersey.client;
requires static jersey.server;
requires static jersey.common;
requires static java.ws.rs;
exports io.helidon.webserver.opentracing;
exports io.helidon.webserver.zipkin;
}