[cdi-dev] Enabling extensions

Jens Schumann jens.schumann at openknowledge.de
Mon Sep 12 11:25:26 EDT 2011

Hi Pete,

>From my experience this is a problem, especially for (partial) integration
tests within a maven based build infrastructure. In the end we had to move
certain META-INF/services/javax.enterprise.inject.spi.Extension files from
extension jars to the final deployment artifact or use System Properties
(!) to disable them;(.


On 12.09.11 16:51 "Pete Muir" <pmuir at redhat.com> wrote:

>Seam team, and others on the CDI EG,
>Looking for feedback on an issue Marius and I discussed in CDI 1.0. This
>is potentially an issue - we weren't sure if people had seen it in the
>real world, hopefully you may have seen feedback in the forums or at
>This relates closely to the interceptor/decorator/alternative enabling
>Typically an extension class is packaged in a jar, along with a
>META-INF/services/javax.enterprise.inject.spi.Extension file which
>enables it. However, this means that an application, or another
>extension, has no way of disabling extensions.
>Is this a problem, really? Or just theoretically.
>cdi-dev mailing list
>cdi-dev at lists.jboss.org

More information about the cdi-dev mailing list