Skip to content

Commit

Permalink
5068 mock connector beans xml 4x (#5070)
Browse files Browse the repository at this point in the history
* Bad beans.xml name fix #5068

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
  • Loading branch information
danielkec committed Oct 5, 2022
1 parent b0a3c11 commit 01fe7c1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
14 changes: 9 additions & 5 deletions messaging/connectors/mock/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
*/
module helidon.messaging.mock {
requires java.logging;
requires io.helidon.common.reactive;
requires microprofile.reactive.messaging.api;
requires microprofile.reactive.streams.operators.api;

requires static jakarta.cdi;
requires static jakarta.inject;
requires org.reactivestreams;
requires io.helidon.common.reactive;
requires transitive microprofile.reactive.messaging.api;
requires transitive microprofile.reactive.streams.operators.api;
requires hamcrest.all;
requires microprofile.config.api;
requires jakarta.cdi;
requires jakarta.inject;


exports io.helidon.messaging.connectors.mock;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
limitations under the License.
-->

<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
version="2.0"
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
https://jakarta.ee/xml/ns/jakartaee/beans_3_0.xsd"
version="3.0"
bean-discovery-mode="annotated">
</beans>
</beans>
3 changes: 3 additions & 0 deletions microprofile/messaging/core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@

exports io.helidon.microprofile.messaging;

// this is needed for CDI extensions that use non-public observer methods
opens io.helidon.microprofile.messaging to weld.core.impl, io.helidon.microprofile.cdi;

provides jakarta.enterprise.inject.spi.Extension with io.helidon.microprofile.messaging.MessagingCdiExtension;
}

0 comments on commit 01fe7c1

Please sign in to comment.