You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by rm...@apache.org on 2020/10/26 19:25:02 UTC

[openwebbeans-meecrowave] branch master updated (0d576c2 -> 994a8a3)

This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git.


    from 0d576c2  [MEECROWAVE-264] we need next owb release to be able to fix owb logging
     new 5886a01  ensure cxf does not leak undesired dependencies
     new 994a8a3  [MEECROWAVE-265] fix meecrowave and its config bean scopes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 meecrowave-core/pom.xml                                           | 8 ++++++++
 .../java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java     | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)


[openwebbeans-meecrowave] 02/02: [MEECROWAVE-265] fix meecrowave and its config bean scopes

Posted by rm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git

commit 994a8a3e2a1d6c10194bf5e071b612f38fdc14a3
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Mon Oct 26 20:24:57 2020 +0100

    [MEECROWAVE-265] fix meecrowave and its config bean scopes
---
 .../main/java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java b/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java
index e6f78fb..78d82dc 100644
--- a/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java
+++ b/meecrowave-core/src/main/java/org/apache/meecrowave/openwebbeans/OWBAutoSetup.java
@@ -26,7 +26,7 @@ import org.apache.webbeans.configurator.BeanConfiguratorImpl;
 import org.apache.webbeans.container.BeanManagerImpl;
 import org.apache.webbeans.servlet.WebBeansConfigurationListener;
 
-import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.context.Dependent;
 import javax.enterprise.inject.spi.Bean;
 import javax.enterprise.inject.spi.Extension;
 import javax.enterprise.inject.spi.configurator.BeanConfigurator;
@@ -89,14 +89,14 @@ public class OWBAutoSetup implements ServletContainerInitializer {
 
             beanManager.addInternalBean(newBean(instance, configurator ->
                     configurator.beanClass(Meecrowave.Builder.class)
-                            .scope(ApplicationScoped.class)
+                            .scope(Dependent.class)
                             .qualifiers(DefaultLiteral.INSTANCE)
                             .types(Configuration.class, Meecrowave.Builder.class, Object.class)
                             .createWith(cc -> meecrowave.getConfiguration())));
 
             beanManager.addInternalBean(newBean(instance, configurator ->
                     configurator.beanClass(Meecrowave.class)
-                            .scope(ApplicationScoped.class)
+                            .scope(Dependent.class)
                             .qualifiers(DefaultLiteral.INSTANCE)
                             .types(Meecrowave.class, AutoCloseable.class, Object.class)
                             .createWith(cc -> meecrowave)));


[openwebbeans-meecrowave] 01/02: ensure cxf does not leak undesired dependencies

Posted by rm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git

commit 5886a015a99f9e7303c2c4b57007a206bf42bea0
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Mon Oct 26 20:24:43 2020 +0100

    ensure cxf does not leak undesired dependencies
---
 meecrowave-core/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meecrowave-core/pom.xml b/meecrowave-core/pom.xml
index 141388f..9156053 100644
--- a/meecrowave-core/pom.xml
+++ b/meecrowave-core/pom.xml
@@ -115,6 +115,14 @@
       <version>${cxf.version}</version>
       <exclusions>
         <exclusion>
+          <groupId>org.apache.geronimo.specs</groupId>
+          <artifactId>geronimo-jta_1.1_spec</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.jboss.spec.javax.rmi</groupId>
+          <artifactId>jboss-rmi-api_1.0_spec</artifactId>
+        </exclusion>
+        <exclusion>
           <groupId>jakarta.xml.ws</groupId>
           <artifactId>*</artifactId>
         </exclusion>