diff --git a/api/src/main/resources/META-INF/beans.xml b/api/src/main/resources/META-INF/beans.xml index e69de29b..e7d2c6c7 100644 --- a/api/src/main/resources/META-INF/beans.xml +++ b/api/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/application/src/main/resources/META-INF/beans.xml b/application/src/main/resources/META-INF/beans.xml index e69de29b..e7d2c6c7 100644 --- a/application/src/main/resources/META-INF/beans.xml +++ b/application/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/cdi/src/main/resources/META-INF/beans.xml b/cdi/src/main/resources/META-INF/beans.xml index e69de29b..e7d2c6c7 100644 --- a/cdi/src/main/resources/META-INF/beans.xml +++ b/cdi/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/core/src/main/resources/META-INF/beans.xml b/core/src/main/resources/META-INF/beans.xml index e69de29b..e7d2c6c7 100644 --- a/core/src/main/resources/META-INF/beans.xml +++ b/core/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/jta/src/main/resources/META-INF/beans.xml b/jta/src/main/resources/META-INF/beans.xml index e69de29b..e7d2c6c7 100644 --- a/jta/src/main/resources/META-INF/beans.xml +++ b/jta/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/tests/src/main/java/io/smallrye/context/test/jta/TransactionalService.java b/tests/src/main/java/io/smallrye/context/test/jta/TransactionalService.java index 363cdfd2..9d1af1a9 100644 --- a/tests/src/main/java/io/smallrye/context/test/jta/TransactionalService.java +++ b/tests/src/main/java/io/smallrye/context/test/jta/TransactionalService.java @@ -2,11 +2,13 @@ import java.util.concurrent.CompletableFuture; +import javax.enterprise.context.Dependent; import javax.inject.Inject; import javax.transaction.Transactional; import org.eclipse.microprofile.context.ManagedExecutor; +@Dependent public class TransactionalService { @Inject private TransactionalBean bean; diff --git a/tests/src/main/resources/META-INF/beans.xml b/tests/src/main/resources/META-INF/beans.xml index e69de29b..51e8caf9 100644 --- a/tests/src/main/resources/META-INF/beans.xml +++ b/tests/src/main/resources/META-INF/beans.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file