Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93CE1200C31 for ; Wed, 22 Feb 2017 01:31:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 92842160B74; Wed, 22 Feb 2017 00:31:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA82B160B68 for ; Wed, 22 Feb 2017 01:31:44 +0100 (CET) Received: (qmail 48934 invoked by uid 500); 22 Feb 2017 00:31:44 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 48920 invoked by uid 99); 22 Feb 2017 00:31:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2017 00:31:43 +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 4B03AC67EC for ; Wed, 22 Feb 2017 00:31:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.18 X-Spam-Level: * X-Spam-Status: No, score=1.18 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wT6G834SR-FB for ; Wed, 22 Feb 2017 00:31:42 +0000 (UTC) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7A85B5F1B8 for ; Wed, 22 Feb 2017 00:31:41 +0000 (UTC) Received: by mail-it0-f51.google.com with SMTP id 203so59977234ith.0 for ; Tue, 21 Feb 2017 16:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Y6ojuREq+NEVa04tNoO5CkHomV7u5UwrSgwLAnW1Le8=; b=mvh50tp67oCrpfWAMdUGDuZoo0HG+iwQ3v1MQeZFJ3X7M6cShepG3x7Tj67sDCzD56 +hamdzSHeVJbr+vPH6rYok65qcKsPmzWPBi7XIZJJ0hAlFnOjjGDrjDVYRoIfe2xaypo SM7T6VosBdBNKBx5RG9Jmlxq1Cx1x4ZRW1pr/ns2AMhg74Xj6c6cqfHL1M4zmhtxdIPn KIFdQOW0tFpT07GBypiRah814Iu4f1kdwcQSFFyKLrdY88YAVEYXRbVt3kWs52919+wQ CYp1/eWXzD/84srSQgwCY1xS8vFwzhOa/J42Rd7R1RWDILk2js8h5vW2UEeGUoCPF5qk TwnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Y6ojuREq+NEVa04tNoO5CkHomV7u5UwrSgwLAnW1Le8=; b=kySz9EZ7peCFVnYfn5N8xIMRufHSXOMqM0hK5HBR3Wey76krHOd9kaB/FIrLx3gElP TmiMkJmvcuRwyPJ3TIKj2xZE3fKW3mNhlqo49Pkp0xnov5eoDDH4hdcnWOvjegafOJio 7jyKuAunI9aQ0d81E1L/yxgrLWEfOPZ0yF3Zc+kfH4mQTIwwqRIGFsV/jzaXTTQ7Eumx JbWRDnKIj+Bl5/0qE6E5vV3eViXdUqOCPG38WPvnBd6cX29MPzMizGLMiVRULLV1PqVx LXeBVOPsRZTbZl2czYKRr/zFQNakpaMGuCc/Wtvix3WF0i9yiJJoJOm8yxeguiIQWw9F KjLA== X-Gm-Message-State: AMke39neGM6ySA4PZIRP5QubByKR2KBHp5+5NpjQEyY0CclP82+ohQuXGFuMDc4oeOhH8g2TFojDR6ou83lraA== X-Received: by 10.36.95.134 with SMTP id r128mr29327420itb.15.1487723500363; Tue, 21 Feb 2017 16:31:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.46.163 with HTTP; Tue, 21 Feb 2017 16:31:40 -0800 (PST) In-Reply-To: References: From: Karl Wright Date: Tue, 21 Feb 2017 19:31:40 -0500 Message-ID: Subject: Re: [ CONNECTORS-1290 ] Nuxeo connector for Apache ManifoldCF To: dev Content-Type: multipart/alternative; boundary=001a1144a228c369c90549139e86 archived-at: Wed, 22 Feb 2017 00:31:45 -0000 --001a1144a228c369c90549139e86 Content-Type: text/plain; charset=UTF-8 Hi, I did an analysis, with the help of mvn dependency:tree, and determined the following usages of these: (1) wiremock, which is used for unit tests only; our version is com.github.tomakehurst:wiremock:jar:1.34 - we should see if we can upgrade this and still have things work. I'll check it out. (2) A direct dependency from the Amazon Cloud Search connector on version 2.3.x. I'm not sure why there's a direct dependency. We should try to build without the dependency there at all. I'll look into it. (3) A direct dependency in the Tika Transformer on 2.3.x. I'll look into that too. (4) A child dependency of com.amazonaws:aws-java-sdk-core:jar:1.9.0, on 2.1.2, used for the Amazon S3 connector. Maybe that can be upgraded? That's it. I'll do some research and see if I can bump the versions of these libraries up to something more modern. Karl On Tue, Feb 21, 2017 at 6:51 PM, Karl Wright wrote: > Hi David, > > If the jackson libraries make an attempt to preserve backwards > compatibility, it should be fine to update to 2.6.0. I don't recall the > connectors that make use of those (maybe they were a dependency of Tika?) > but in general, well-behaved libraries do not change their APIs > carelessly. Of course, you need to confirm this picture as best you can: > change the dependencies, download them (using ant make-core-deps) build, > and run tests. The tests, though, do not exercise all connectors, so it > would help to determine where the dependency came from and if reasonable > make sure those connectors still work after the update. > > Thanks, > Karl > > > On Tue, Feb 21, 2017 at 6:27 PM, David Arroyo < > arroyoescobardavid@gmail.com> wrote: > >> Hello everyone >> >> >> I'm updating the Nuxeo connector with the nuxeo java client. I have found >> an issue with the libraries jackson-annotations and jackson-databind due >> to >> monifoldcf uses versions 2.1.1 and 2.1.3 respectively, and the nuxeo java >> client needs at least 2.6.0 version for both. >> >> >> If i compile and build the last manifold with the nexus connector, it >> works >> fine, but I have not tested it with other connectors. Is there any problem >> for update the libraries to 2.6.0 version? >> >> >> Moreover, I am adding new functionality to connector for filter the type >> of >> files we want to index. >> >> >> Aside of that, nuxeo java client seems to have a bug for recovery the >> attachment content, so it can not be recovered. Therefore, I think there >> are 3 possible options: >> >> 1. Wait the issue be fixed [1] >> >> 2. Generate a patch for the nuxeo client (Not sure how to share this >> patched lib) >> >> 3. Not included the content of the attachments >> >> >> Regards. >> >> >> [1] https://github.com/nuxeo/nuxeo-java-client/issues/21 >> > > --001a1144a228c369c90549139e86--