Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 5674 invoked from network); 18 Nov 2010 00:49:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 00:49:07 -0000 Received: (qmail 31765 invoked by uid 500); 18 Nov 2010 00:49:37 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 31657 invoked by uid 500); 18 Nov 2010 00:49:37 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 31649 invoked by uid 99); 18 Nov 2010 00:49:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 00:49:37 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [148.87.113.121] (HELO rcsinet10.oracle.com) (148.87.113.121) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 00:49:30 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAI0n8cd004354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Nov 2010 00:49:09 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAH75GRe002378 for ; Thu, 18 Nov 2010 00:49:06 GMT Received: from abhmt020.oracle.com by acsmt354.oracle.com with ESMTP id 788605831290041262; Wed, 17 Nov 2010 16:47:42 -0800 Received: from [10.148.126.238] (/10.148.126.238) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Nov 2010 16:47:42 -0800 Message-ID: <4CE47734.8040701@oracle.com> Date: Wed, 17 Nov 2010 16:45:40 -0800 From: niklas modin Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 OracleBeehiveExtension/1.0.0.0-OracleInternal Thunderbird/3.1.1 MIME-Version: 1.0 To: user@commons.apache.org Subject: Re: [scxml] Need for JSF References: <4CE2FD74.70001@oracle.com> <4CE414FA.3080101@oracle.com> In-Reply-To: <4CE414FA.3080101@oracle.com> Content-Type: multipart/alternative; boundary="------------040900030407010006060600" --------------040900030407010006060600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi again, Looked into it a little bit more, and there is indeed a way to note import packages as optional, but it seems like this isn't set properly in the manifest file. Not sure if there is an issue with the maven assembly plugin, or if there is a way to instruct it to include the "resolution:=optional" parameter in the manifest file. /Niklas On 11/17/2010 9:46 AM, niklas modin wrote: > Hi, > > Looking at the manifest for scxml, it seems like all optional maven > dependencies along > with the required ones, all gets translated into an entry under the > Import-Package: part. > > AFAIK, I don't think there is a notion for optional dependency > injection in OSGi, so I guess > that means that all dependencies are in fact required for an OSGi > deployment. > > Not sure how to proceed here, but seems that also deploying JSF and > all transitive > dependencies is what I need to do. > > Another quick Q: > > Are there any plans for a 0.10 release ? > > Thanks, > Niklas > > > > On 11/16/2010 2:23 PM, Rahul Akolkar wrote: >> On Tue, Nov 16, 2010 at 4:53 PM, niklas >> modin wrote: >>> Hi, >>> >>> I'm trying to get SC XML up and running in an equinox OSGi >>> environment, and >>> I'm having some dependencies issues. >>> >>> What's the reason for having a dependency to myfaces-api ? This >>> isn't a big >>> issue per say I guess, but it just seems >>> like that drag's in a lot of dependencies, and can't really see what >>> JSF is >>> used for. >>> >> >> >> You are indeed correct that most applications that use Commons SCXML >> may be unrelated to JSF (and some of the other optional dependencies >> as well). >> >> Commons SCXML has three required dependencies, which are listed at the >> top of this page: >> >> http://commons.apache.org/scxml/dependencies.html >> >> Note that the others are optional. In addition, the JSF API is meant >> to be "provided" (by the environment). >> >> If the OSGi related headers in the release jar file don't reflect this >> correctly, then they should. >> >> -Rahul >> >> >>> Cheers, >>> Niklas >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > --------------040900030407010006060600--