Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1D351767D for ; Tue, 12 May 2015 13:23:06 +0000 (UTC) Received: (qmail 82190 invoked by uid 500); 12 May 2015 13:23:06 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 82145 invoked by uid 500); 12 May 2015 13:23:06 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 82128 invoked by uid 99); 12 May 2015 13:23:06 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 13:23:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B236DC43D1 for ; Tue, 12 May 2015 13:23:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id zdH5BjOoJNhi for ; Tue, 12 May 2015 13:22:52 +0000 (UTC) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9D2AA24C65 for ; Tue, 12 May 2015 13:22:51 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so107332259igb.0 for ; Tue, 12 May 2015 06:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=qUoJ5CPSpdg5vykLX4AHhYKa/bR3CtYehTw9C72nFi0=; b=gB4IB+nJlo7HvzV9KxFq6KT/6vM9Ko14BMS+e7Gw7VSIMdhO1SF2g6U1W9ofkYGc5J rtus4mMzTyFqvQ6JIXxhZCTTly6jMoofE3azsV+O5Doa9NYHpwxi7GtgIO/88Ekfjxh5 ytilAhBFmlv8Jd/q95DfWUs8HJU5kPHaypHWpB+AVZ+0sjK3b1V6Pgs8wKxd3/HWOhjs 0/gm6JVyGNrHOjkfXOlly//G6OaFTg4ZMhhfxGr8mYM2gxeimCo7ncsS7o/ZMS10o51Z I1wxxnsnLTUX3GS8uLLwJ0rF/m6sKQOYbVY6vC/L6bB5RCGiHqr6lkHq8zXJtQJe44Ks s7Lg== X-Received: by 10.50.147.10 with SMTP id tg10mr21335384igb.36.1431436880181; Tue, 12 May 2015 06:21:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.90.199 with HTTP; Tue, 12 May 2015 06:20:59 -0700 (PDT) In-Reply-To: <5551F8E6.1070300@linagora.com> References: <5551F8E6.1070300@linagora.com> From: Claus Ibsen Date: Tue, 12 May 2015 15:20:59 +0200 Message-ID: Subject: Re: Why spi-annotation content is included in camel-core? To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi As end users you should not depend on spi-annotations - only camel-core. spi-annotations is an internal model used as part of building camel-core using the camel apt compiler plugin. On Tue, May 12, 2015 at 2:58 PM, Victor NO=C3=8BL wrote: > Hi, > > Why is spi-annotation included in camel-core? > > It's bothering because: > - the source are not in camel-core so one can't see the definition of th= e > annotatons (so it's not easy to use them like that). > - and then if we add spi-annotation to the pom, there is duplicate class= es > from the two artefacts which is not very nice in term of code quality. > > Is there really a reason to do that? > > Thanks, > > Victor --=20 Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/