Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D101DFCC for ; Mon, 22 Oct 2012 15:46:14 +0000 (UTC) Received: (qmail 10476 invoked by uid 500); 22 Oct 2012 15:46:13 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 10332 invoked by uid 500); 22 Oct 2012 15:46:12 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 10323 invoked by uid 99); 22 Oct 2012 15:46:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 15:46:12 +0000 Date: Mon, 22 Oct 2012 15:46:12 +0000 (UTC) From: "Rudy De Busscher (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: <1235657642.10134.1350920772362.JavaMail.jiratomcat@arcas> In-Reply-To: <696775298.10129.1350920412581.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (DELTASPIKE-285) MinimalMessagesTest fails on WLS12c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DELTASPIKE-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481442#comment-13481442 ] Rudy De Busscher commented on DELTASPIKE-285: --------------------------------------------- By excluding that class from being used in the test war (is not the class under test), it works. @@ -57,7 +56,8 @@ public class MinimalMessagesTest { JavaArchive testJar = ShrinkWrap .create(JavaArchive.class, "minimalMessageTest.jar") - .addPackage(MinimalMessagesTest.class.getPackage()) + .addPackages(false, Filters.exclude(MessageContextTest.class), + MinimalMessagesTest.class.getPackage()) .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); return ShrinkWrap > MinimalMessagesTest fails on WLS12c > ----------------------------------- > > Key: DELTASPIKE-285 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-285 > Project: DeltaSpike > Issue Type: Test > Components: Core > Affects Versions: 0.2-incubating > Environment: WLS12C > Reporter: Rudy De Busscher > Priority: Minor > > Was already a long time on my TODO list > Test archive fails during deployment with > org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [MessageContext] with qualifiers [@Default] at injection point [[field] @Inject private org.apache.deltaspike.test.core.api.message.MessageContextTest.messageContext] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira