Skip to content

Commit

Permalink
Upgrade jakarta inject, interceptor and transaction apis
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Aug 20, 2024
1 parent cdfd971 commit 1b2109e
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 31 deletions.
6 changes: 3 additions & 3 deletions dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
<version.lib.jakarta.annotation-api>2.0.0</version.lib.jakarta.annotation-api>
<version.lib.jakarta.cdi-api>3.0.0</version.lib.jakarta.cdi-api>
<version.lib.jakarta.el-api>4.0.0</version.lib.jakarta.el-api>
<version.lib.jakarta.inject>2.0.0</version.lib.jakarta.inject>
<version.lib.jakarta.interceptor-api>2.0.0</version.lib.jakarta.interceptor-api>
<version.lib.jakarta.inject>2.0.1</version.lib.jakarta.inject>
<version.lib.jakarta.interceptor-api>2.0.1</version.lib.jakarta.interceptor-api>
<version.lib.jakarta.jaxrs-api>3.0.0</version.lib.jakarta.jaxrs-api>
<version.lib.jakarta.jms-api>3.0.0</version.lib.jakarta.jms-api>
<version.lib.jakarta.jsonb-api>2.0.0</version.lib.jakarta.jsonb-api>
<version.lib.jakarta.jsonp-api>2.0.2</version.lib.jakarta.jsonp-api>
<version.lib.jakarta.persistence-api>3.0.0</version.lib.jakarta.persistence-api>
<version.lib.jakarta.transaction-api>2.0.0</version.lib.jakarta.transaction-api>
<version.lib.jakarta.transaction-api>2.0.1</version.lib.jakarta.transaction-api>
<version.lib.jakarta.validation-api>3.0.2</version.lib.jakarta.validation-api>
<version.lib.jakarta.websockets-api>2.1.1</version.lib.jakarta.websockets-api>
<!-- Check Hibernate when upgrading to ensure its supplied jaxb-runtime is compatible. -->
Expand Down
2 changes: 1 addition & 1 deletion integrations/cdi/jpa-cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
requires jakarta.xml.bind;

requires jakarta.inject; // automatic module
requires jakarta.interceptor.api; // automatic module
requires jakarta.interceptor;

requires io.helidon.integrations.cdi.delegates;
requires io.helidon.integrations.cdi.referencecountedcontext;
Expand Down
2 changes: 1 addition & 1 deletion integrations/cdi/jta-cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
requires jakarta.annotation;
requires java.sql;
requires java.rmi;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.inject;
requires jakarta.cdi;
requires narayana.jta.jakarta;
Expand Down
5 changes: 5 additions & 0 deletions integrations/jta/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
<artifactId>jakarta.transaction-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>provided</scope>
</dependency>

<!-- Test-scoped dependencies. -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion integrations/micrometer/cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
requires static jakarta.activation;
requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.interceptor.api;
requires static jakarta.interceptor;

requires io.helidon.common.http;
requires io.helidon.servicecommon.rest;
Expand Down
2 changes: 1 addition & 1 deletion integrations/micronaut/cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

requires jakarta.cdi;
requires jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

requires microprofile.config.api;

Expand Down
2 changes: 1 addition & 1 deletion integrations/micronaut/data/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
requires java.sql;

requires jakarta.cdi;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

requires io.micronaut.inject;

Expand Down
4 changes: 2 additions & 2 deletions integrations/microstream/cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
requires io.helidon.integrations.microstream.cache;
requires transitive jakarta.cdi;
requires transitive jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.annotation;
requires microstream.base;
requires microstream.cache;
Expand All @@ -38,4 +38,4 @@
provides jakarta.enterprise.inject.spi.Extension
with io.helidon.integrations.microstream.cdi.EmbeddedStorageManagerExtension,
io.helidon.integrations.microstream.cdi.CacheExtension;
}
}
2 changes: 1 addition & 1 deletion integrations/neo4j/metrics/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.interceptor.api;
requires static jakarta.interceptor;
requires static jakarta.annotation;

exports io.helidon.integrations.neo4j.metrics;
Expand Down
2 changes: 1 addition & 1 deletion integrations/neo4j/neo4j/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.interceptor.api;
requires static jakarta.interceptor;
requires static io.helidon.config;
requires static io.helidon.config.mp;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

requires oci.java.sdk.monitoring;

requires jakarta.interceptor.api;
requires jakarta.interceptor;
provides jakarta.enterprise.inject.spi.Extension with io.helidon.integrations.oci.metrics.cdi.OciMetricsCdiExtension;

opens io.helidon.integrations.oci.metrics.cdi to weld.core.impl, io.helidon.microprofile.cdi;
Expand Down
2 changes: 1 addition & 1 deletion integrations/oci/sdk/cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
requires java.logging;
requires transitive jakarta.cdi;
requires jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.ws.rs;
requires microprofile.config.api;
requires oci.java.sdk.common;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/access-log/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

requires io.helidon.microprofile.server;
requires io.helidon.webserver.accesslog;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

exports io.helidon.microprofile.accesslog;

Expand Down
2 changes: 1 addition & 1 deletion microprofile/cors/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
requires jersey.common;
requires microprofile.config.api;

requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.cdi;

exports io.helidon.microprofile.cors;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
requires java.logging;
requires jakarta.annotation;
requires jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

requires io.helidon.common.context;
requires io.helidon.common.configurable;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/graphql/server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
requires jakarta.json.bind;
requires jakarta.annotation;
requires jakarta.cdi;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires org.eclipse.yasson;

requires org.jboss.jandex;
Expand Down
4 changes: 2 additions & 2 deletions microprofile/grpc/metrics/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
requires io.helidon.servicecommon.restcdi;

requires java.logging;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

provides io.helidon.microprofile.grpc.server.AnnotatedServiceConfigurer
with io.helidon.microprofile.grpc.metrics.MetricsConfigurer;

provides jakarta.enterprise.inject.spi.Extension
with io.helidon.microprofile.grpc.metrics.GrpcMetricsCdiExtension;
}
}
2 changes: 1 addition & 1 deletion microprofile/health/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
requires jakarta.inject;
requires jakarta.ws.rs;
requires jakarta.json;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires microprofile.config.api;
requires microprofile.health.api;
requires io.helidon.config.mp;
Expand Down
1 change: 1 addition & 0 deletions microprofile/jwt-auth/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

requires jakarta.cdi;
requires jakarta.inject;
requires jakarta.interceptor;
requires jakarta.ws.rs;
requires microprofile.config.api;
requires transitive microprofile.jwt.auth.api;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/lra/jax-rs/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
requires io.helidon.microprofile.config;
requires io.helidon.microprofile.server;
requires microprofile.config.api;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jersey.common;
requires io.helidon.lra.coordinator.client;
requires io.helidon.common.serviceloader;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/messaging/core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.activation;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires io.helidon.config;
requires io.helidon.config.mp;
requires io.helidon.microprofile.config;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/metrics/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.interceptor.api;
requires static jakarta.interceptor;
requires static jakarta.annotation;
requires static jakarta.activation;

Expand Down
2 changes: 1 addition & 1 deletion microprofile/openapi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
requires microprofile.config.api;
requires io.helidon.microprofile.server;
requires io.helidon.openapi;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires transitive microprofile.openapi.api;

requires org.jboss.jandex;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/scheduling/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
requires java.logging;
requires static jakarta.cdi;
requires static jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires io.helidon.common.configurable;
requires io.helidon.config;
requires io.helidon.config.mp;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/security/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
requires transitive io.helidon.security.integration.webserver;
requires io.helidon.microprofile.server;
requires io.helidon.microprofile.cdi;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

exports io.helidon.microprofile.security;

Expand Down
2 changes: 1 addition & 1 deletion microprofile/server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
requires io.helidon.microprofile.config;
requires transitive jakarta.cdi;
requires transitive jakarta.ws.rs;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.validation;
requires transitive jakarta.json;
requires io.helidon.jersey.media.jsonp;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/tracing/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

requires static jakarta.cdi;
requires static jakarta.inject;
requires static jakarta.interceptor.api;
requires static jakarta.interceptor;

requires io.helidon.microprofile.server;
requires transitive io.helidon.microprofile.config;
Expand Down
2 changes: 1 addition & 1 deletion microprofile/websocket/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
module io.helidon.microprofile.tyrus {
requires java.logging;
requires jakarta.inject;
requires jakarta.interceptor.api;
requires jakarta.interceptor;

requires jakarta.cdi;
requires transitive jakarta.websocket;
Expand Down
2 changes: 1 addition & 1 deletion service-common/rest-cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
requires io.helidon.servicecommon.rest;
requires java.logging;
requires microprofile.config.api;
requires jakarta.interceptor.api;
requires jakarta.interceptor;
requires jakarta.inject;
requires io.helidon.config.mp;
requires io.helidon.microprofile.server;
Expand Down

0 comments on commit 1b2109e

Please sign in to comment.