Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-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 0350518A7A for ; Tue, 14 Jul 2015 22:25:06 +0000 (UTC) Received: (qmail 89909 invoked by uid 500); 14 Jul 2015 22:25:05 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 89867 invoked by uid 500); 14 Jul 2015 22:25:05 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 89678 invoked by uid 99); 14 Jul 2015 22:25:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 22:25:05 +0000 Date: Tue, 14 Jul 2015 22:25:05 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MYFACES-4005) Classloading conflict with httpclient (update commons-codec to 1.10) 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/MYFACES-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14627160#comment-14627160 ] Leonardo Uribe commented on MYFACES-4005: ----------------------------------------- I think the best solution is use maven-shade-plugin to bundle commons-coded inside myfaces-impl and mark the dependency as optional in the pom.xml. It is too late at this moment to update commons-codec in 2.2 branch so this is something to do for 2.3. > Classloading conflict with httpclient (update commons-codec to 1.10) > -------------------------------------------------------------------- > > Key: MYFACES-4005 > URL: https://issues.apache.org/jira/browse/MYFACES-4005 > Project: MyFaces Core > Issue Type: Task > Reporter: Thomas Andraschko > Assignee: Leonardo Uribe > > To avoid problems like: > http://stackoverflow.com/questions/7688644/java-lang-nosuchmethoderror-org-apache-commons-codec-binary-base64-encodebase64 > when e.g. httpclient is also used in the application (which imports a newer version). > Source: > /core/trunk/parent/pom.xml > Line 497 > I could also provide an patch but should be the same effort to commit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)