Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 40950 invoked from network); 13 Nov 2009 12:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Nov 2009 12:55:26 -0000 Received: (qmail 83872 invoked by uid 500); 13 Nov 2009 12:55:25 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 83801 invoked by uid 500); 13 Nov 2009 12:55:25 -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 83791 invoked by uid 99); 13 Nov 2009 12:55:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 12:55:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 12:55:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 3C53E15F00C6 for ; Fri, 13 Nov 2009 06:54:55 -0600 (CST) Date: Fri, 13 Nov 2009 06:54:55 -0600 (CST) From: "Tjeerd Verhagen (JIRA)" To: issues@maven.apache.org Message-ID: <110004.11450.1258116895244.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Created: (MDEP-242) Exclude does not work correctly for tar.gz (but is working for zip) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org Exclude does not work correctly for tar.gz (but is working for zip) ------------------------------------------------------------------- Key: MDEP-242 URL: http://jira.codehaus.org/browse/MDEP-242 Project: Maven 2.x Dependency Plugin Issue Type: Bug Affects Versions: 2.1 Reporter: Tjeerd Verhagen Assignee: Brian Fox While using the unpack feather of the dependecy plug-in we did searched and tried hard to get the 'excludes' option to work. But whatever we did we were not able to get it working. Then came to the idea, of trying it with another archive type. So when using some zip file, it immediately worked. So it seams that somewhere in the unpacking of tar.gz, the excludes are forgotten. Sorry, did not find time yet to have a detailed look into the code, to track where it happens. PS: Also the documentation can be improved, where to include the 'excludes' tag. Under the tag 'configuration', or under the tag 'artifactItem'. The plug-in configuration as we are using it: maven-dependency-plugin 2.1 unpack-tar process-resources unpack false ${project.groupId} ${basicInterfaceArtifactId} ${basicInterfaceVersion} pkg tar.gz true ${project.build.directory}/staging/ **/*.jar **/*.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira