Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26659104B9 for ; Sat, 10 Aug 2013 19:39:24 +0000 (UTC) Received: (qmail 19623 invoked by uid 500); 10 Aug 2013 19:39:24 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 19560 invoked by uid 500); 10 Aug 2013 19:39:23 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 19551 invoked by uid 99); 10 Aug 2013 19:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 19:39:23 +0000 X-ASF-Spam-Status: No, hits=4.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saltnlight5@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 19:39:17 +0000 Received: by mail-lb0-f171.google.com with SMTP id t13so4013857lbd.30 for ; Sat, 10 Aug 2013 12:38:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=t3oaDfux79lXzA6BWuL7Na6lAOF7rv1/edqCw8yrdwI=; b=oQZigTTRUO6bjsK/1fIRvr2e3NJLxsws3wEZVrZ04cnPriuxdOQtp+8m91c+nwZDs6 WMQ/nfaliyflZTERO+t8ih2n6f4mqnFT57pMq+pnMzdOGG3lGpQW3he1zEjX8Fzl59W0 bEIWCno1XkU17vlo70/QJiEqZWxcZNHr7U6omS1rjCif9NUrsuvWHKTAJwmIK1By9iTp qyUhMf4mqj3kYLqveHCaO5DkeKUH/PcZ8Z8lQCihrTHx5dC8kpMGuje8lCnNOB5fnVPd x75uEGYXkIu35Dx+Oe8LgAIfU+zGd4qkGRGpTMQZuPcZ4KGc2xBinKL3ELBMb2C6JHPE JwEg== MIME-Version: 1.0 X-Received: by 10.112.200.135 with SMTP id js7mr6765244lbc.12.1376163536478; Sat, 10 Aug 2013 12:38:56 -0700 (PDT) Received: by 10.112.171.33 with HTTP; Sat, 10 Aug 2013 12:38:56 -0700 (PDT) In-Reply-To: <31377402-1F64-4801-816F-92B38FED353A@swissonline.ch> References: <1375837296061-5736873.post@n5.nabble.com> <9E94BB06C75941908CE42DB57341BEE3@gmail.com> <31377402-1F64-4801-816F-92B38FED353A@swissonline.ch> Date: Sat, 10 Aug 2013 15:38:56 -0400 Message-ID: Subject: Re: About the spi-annotations dependency From: Zemian Deng To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=001a11c37e0cbea58504e39d0ae0 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c37e0cbea58504e39d0ae0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Babak, I use these: zemian@ZEMIANs-iMac:~/projects/camel bash> mvn -version Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: /Users/zemian/apps/maven Java version: 1.7.0_11, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac" On Sat, Aug 10, 2013 at 10:01 AM, Babak Vahdat wrote: > Hi > > Which Java version do you use for building, 6 or 7? > > Babak > > Am 10.08.2013 um 14:51 schrieb Zemian Deng : > > > Willem, > > > > I will vote to make spi-annotation non-optional in camel-core since it > only > > has 4 classes, and they are already used in quite of few sub modules. > > > > But if you stick to optional in camel-core, then any modules that uses > > @UriParam should has a hard dependency on spi-annotation, not optional. > We > > should add spi-annotation in camel-jms/pom.xml as regular dependency. > Here > > is a list of modules that I can see using @UriParam: > > > > camel-jms > > camel-salesforce > > camel-sap-netweaver > > camel-sjms > > camel-sql > > camel-ssh > > camel-twitter > > camel-weather > > camel-yammer > > > > Same need to be check on other annotations usage, which I haven't check= . > > > > > > > > On Sat, Aug 10, 2013 at 3:08 AM, Willem jiang >wrote: > > > >> > >> How about add the spi-annotation dependency as optional in the > >> camel-jms/pom.xml? > >> > >> -- > >> Willem Jiang > >> > >> Red Hat, Inc. > >> FuseSource is now part of Red Hat > >> Web: http://www.fusesource.com | http://www.redhat.com > >> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com= / > ) > >> (English) > >> http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) > >> Twitter: willemjiang > >> Weibo: =E5=A7=9C=E5=AE=81willem > >> > >> > >> > >> > >> > >> On Wednesday, August 7, 2013 at 9:01 AM, saltnlight5 wrote: > >> > >>> Hi, > >>> > >>> I have a question on camel pom usage. > >>> > >>> In camel-core/pom.xml, the spi-annotations dependency is added as > >>> true, however other modules such as > >> camel-jms/pom.xml > >>> do not include this dependency explicitly. Is that intentional? How > does > >>> camel-jms resolve this spi-annotations jar if it's only optional from > the > >>> core? > >>> > >>> When I use IntelliJ IDE to open the camel project, and it complains t= he > >>> @UriParam is not resolvable in JmsEndpoint.java until I add this > >>> spi-annotations into camel-jms/pom.xml. I wonder if any of you > experience > >>> this, or just my misunderstanding of the maven usage? > >>> > >>> Zemian > >>> > >>> > >>> > >>> -- > >>> View this message in context: > >> > http://camel.465427.n5.nabble.com/About-the-spi-annotations-dependency-tp= 5736873.html > >>> Sent from the Camel Development mailing list archive at Nabble.com ( > >> http://Nabble.com). > >> > >> > >> > >> > --001a11c37e0cbea58504e39d0ae0--