From dev-return-10243-archive-asf-public=cust-asf.ponee.io@chemistry.apache.org Tue Jun 4 08:57:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DA37318064D for ; Tue, 4 Jun 2019 10:57:04 +0200 (CEST) Received: (qmail 20366 invoked by uid 500); 4 Jun 2019 08:57:02 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 20191 invoked by uid 99); 4 Jun 2019 08:57:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 08:57:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2A966E2CE5 for ; Tue, 4 Jun 2019 08:57:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5A13A245A1 for ; Tue, 4 Jun 2019 08:57:00 +0000 (UTC) Date: Tue, 4 Jun 2019 08:57:00 +0000 (UTC) From: "Mark Struberg (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-1075) Allow exclusion of Woodstox dependency 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/CMIS-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855473#comment-16855473 ] Mark Struberg commented on CMIS-1075: ------------------------------------- Woodstox is known to crash various appliation servers. So this is not an option for us. We also need to rely on Java8 due to customer constraints. And there is crashes quite badly. > Allow exclusion of Woodstox dependency > -------------------------------------- > > Key: CMIS-1075 > URL: https://issues.apache.org/jira/browse/CMIS-1075 > Project: Chemistry > Issue Type: Bug > Components: opencmis-commons > Affects Versions: OpenCMIS 1.1.0 > Reporter: Manfred Huber > Priority: Critical > Labels: build, easyfix, patch, usability > Attachments: opencmis_xmlutils.patch > > Original Estimate: 3h > Remaining Estimate: 3h > > We need to exlcude the Woodstox dependency from opencmis in our project, which is currently not possible. > If you exclude Woodstox you'll get an {{NoClassDefFoundError}} at runtime. > The reason is that the class {{XMLUtils}} imports Woodstox classes. The attached patch resolves this logic in a static inner class. > Please note that we created this patch based on the {{chemistry-opencmis-1.1.0}} tag. > I pushed this change to my fork of opencmis on [Github|https://github.com/downdrown/chemistry-opencmis/commit/ff047559e077cf4d57566a0f43e5f08d29d46b07] but was not able to create a PR since there's no maintenance branch for 1.1.0. > Edit: the above link to Github is wrong, the correct one is [this|https://github.com/downdrown/chemistry-opencmis/commit/26c3be7583ca6ad74ac30ac06c3b0ea02c588bfb] -- This message was sent by Atlassian JIRA (v7.6.3#76005)