Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E79910F20 for ; Thu, 5 Mar 2015 12:30:43 +0000 (UTC) Received: (qmail 55435 invoked by uid 500); 5 Mar 2015 12:30:42 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 55384 invoked by uid 500); 5 Mar 2015 12:30:42 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 55373 invoked by uid 99); 5 Mar 2015 12:30:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 12:30:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 12:30:38 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 568E4B117B for ; Thu, 5 Mar 2015 06:30:18 -0600 (CST) Date: Thu, 5 Mar 2015 06:30:18 -0600 (CST) From: "Kristian Rosenvold (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MSHADE-174) Unable to shade Java 8 jarfiles with static interface methods using minimizeJar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MSHADE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Rosenvold reassigned MSHADE-174: ----------------------------------------- Assignee: Kristian Rosenvold > Unable to shade Java 8 jarfiles with static interface methods using minimizeJar > ------------------------------------------------------------------------------- > > Key: MSHADE-174 > URL: https://jira.codehaus.org/browse/MSHADE-174 > Project: Maven Shade Plugin > Issue Type: Bug > Affects Versions: 2.2, 2.3 > Environment: WIndows 7 (x64) > Netbeans 8.0 (also occurs on command line) > Maven 3.2.1 > (Maven) ASM-5.0.2 > Reporter: Spencer Alderman > Assignee: Kristian Rosenvold > Priority: Critical > Attachments: diff.1805, effective-pom.txt, out.txt, stacktrace.txt > > > Maven shade does not appear to work with shading in Java 8 jarfiles that include static interface methods. A full log of a build with dependency resolution is attached (as well as an effective-pom and the stacktrace) > The error header is: > {panel} > Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project --: Error creating shaded jar: INVOKESPECIAL/STATIC on interfaces require ASM 5 -> [Help 1] > {panel} > (Do note, I already am using ASM 5.0.2) > I've also created a public, reproducible version of this bug: https://github.com/1Rogue/Maven-Shade-Bug > You simply can clone that repo and attempt a "mvn clean install", and it should fail accordingly. > You can also view the stackoverflow question that sent me here: http://stackoverflow.com/questions/24415677/unable-to-shade-jar-with-maven-invokespecial-static/24417179#24417179 -- This message was sent by Atlassian JIRA (v6.1.6#6162)