Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 90174 invoked from network); 28 Dec 2006 21:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2006 21:48:46 -0000 Received: (qmail 82419 invoked by uid 500); 28 Dec 2006 21:48:52 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 81907 invoked by uid 500); 28 Dec 2006 21:48:50 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 81896 invoked by uid 99); 28 Dec 2006 21:48:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 13:48:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Dec 2006 13:48:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 20D877142BB for ; Thu, 28 Dec 2006 13:48:23 -0800 (PST) Message-ID: <23016035.1167342503131.JavaMail.jira@brutus> Date: Thu, 28 Dec 2006 13:48:23 -0800 (PST) From: "Stephen Colebourne (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Resolved: (IO-103) commons-io cannot be deployed with Maven 2 In-Reply-To: <19237356.1165394600979.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/IO-103?page=all ] Stephen Colebourne resolved IO-103. ----------------------------------- Resolution: Fixed Assignee: Henri Yandell I don't use Maven2, but this change appears to have been committed. > commons-io cannot be deployed with Maven 2 > ------------------------------------------ > > Key: IO-103 > URL: http://issues.apache.org/jira/browse/IO-103 > Project: Commons IO > Issue Type: Bug > Affects Versions: 1.3 > Reporter: Jochen Wiedmann > Assigned To: Henri Yandell > Fix For: 1.3 > > Attachments: commons-io-resources.patch > > > The commons-io POM contains a resource section, which specifies that the NOTICE.txt and LICENSE.txt files are being added to the jar files META-INF directory. Unfortunately, this triggers MSOURCES-6, a well known bug in the maven-sources-plugin, which attempts to include the base directory into the source jar file. The base directory includes the sources jar itself, which is growing while it is being included into itself, which is growing while it is included into itself, ... > In other words, the maven-sources-plugin is creating a jar file endleseely. > When deploying the commons-io with > mvn -Prc commons-io deploy > or > mvn -Prelease commons-io deploy > then the maven-sources-plugin is invoked by the commons-parent POM. In other words, the commons-io jar file cannot be deployed. > The attached patch removes the resources section from the commons-parent POM: This can easily be done, because the commons-parent POM is already addressing this by invoking the antrun plugin. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org