Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 61468 invoked from network); 1 Dec 2004 20:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Dec 2004 20:11:34 -0000 Received: (qmail 77226 invoked by uid 500); 1 Dec 2004 20:11:25 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 77164 invoked by uid 500); 1 Dec 2004 20:11:24 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 77116 invoked by uid 99); 1 Dec 2004 20:11:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from beaver.codehaus.org (HELO codehaus.org) (64.7.141.17) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 01 Dec 2004 12:11:22 -0800 Received: (qmail 24816 invoked from network); 1 Dec 2004 20:17:11 -0000 Received: from localhost (HELO beaver.codehaus.org) (127.0.0.1) by codehaus.org with SMTP; 1 Dec 2004 20:17:11 -0000 Message-ID: <2796184.1101932231255.JavaMail.orion@beaver.codehaus.org> Date: Wed, 1 Dec 2004 15:17:11 -0500 (EST) From: jira@codehaus.org To: dev@maven.apache.org Subject: [jira] Commented: (MPJAR-33) jar:install copies jar even when no changes have occurred In-Reply-To: <431270.1089707495989.JavaMail.orion@beaver.codehaus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following comment has been added to this issue: Author: andrew wilde Created: Wed, 1 Dec 2004 3:16 PM Body: I came across this problem today when a developer was using multiproject:install to build a set of sub-projects. He assumed that jar:install would not overwrite the repository jar if there had been no changes. It seems to me that that wasn't an unreasonable assumption, and even if it wasn't the default behaviour it would at least be configurable. --------------------------------------------------------------------- View this comment: http://jira.codehaus.org/browse/MPJAR-33?page=comments#action_27357 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPJAR-33 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPJAR-33 Summary: jar:install copies jar even when no changes have occurred Type: Improvement Status: Open Priority: Major Original Estimate: 2 minutes Time Spent: Unknown Remaining: 2 minutes Project: maven-jar-plugin Fix Fors: 1.7 Versions: 1.6 Assignee: Jason van Zyl Reporter: Colin Saxton Created: Tue, 13 Jul 2004 4:30 AM Updated: Wed, 1 Dec 2004 3:16 PM Environment: Linux/Windows Description: jar:install copies the built jar from the target area to the local repository even if the jar has no changes. This can cause a snowball effect on builds if you are using the reactor for instance. When testing a large project (before a release) it can be cumbersome since the build time is increased significantly. As an example, I currently use the reactor to build 26 separate jars with all of them dependent on the base component. if I change one of them and then re-run the build it builds everything because the base jar is being copied back into the repository even if I don' change it. This causes the reactor to build all of the other jars and so-forth. All that is needed is to change the jar:install copy line...remove the overwrite attribute and the builds speed up...It doesn't break anything either since you can alway runs a clean before a major build but when testing you can just keep running maven without the clean...you would be saving a lot of disk activity around the world by removing the overwrite attribute. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org