Return-Path: Delivered-To: apmail-incubator-buildr-commits-archive@locus.apache.org Received: (qmail 5968 invoked from network); 1 Apr 2008 02:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 02:51:54 -0000 Received: (qmail 85958 invoked by uid 500); 1 Apr 2008 02:51:54 -0000 Delivered-To: apmail-incubator-buildr-commits-archive@incubator.apache.org Received: (qmail 85944 invoked by uid 500); 1 Apr 2008 02:51:54 -0000 Mailing-List: contact buildr-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-dev@incubator.apache.org Delivered-To: mailing list buildr-commits@incubator.apache.org Received: (qmail 85935 invoked by uid 99); 1 Apr 2008 02:51:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 19:51:54 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 02:51:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 00D571A9832; Mon, 31 Mar 2008 19:51:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r643246 - in /incubator/buildr/trunk: CHANGELOG lib/buildr/core/generate.rb Date: Tue, 01 Apr 2008 02:51:20 -0000 To: buildr-commits@incubator.apache.org From: assaf@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080401025121.00D571A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: assaf Date: Mon Mar 31 19:51:18 2008 New Revision: 643246 URL: http://svn.apache.org/viewvc?rev=643246&view=rev Log: Fixed: POM generation now applies JAR as default packaging if unspecified. Modified: incubator/buildr/trunk/CHANGELOG incubator/buildr/trunk/lib/buildr/core/generate.rb Modified: incubator/buildr/trunk/CHANGELOG URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/CHANGELOG?rev=643246&r1=643245&r2=643246&view=diff ============================================================================== --- incubator/buildr/trunk/CHANGELOG (original) +++ incubator/buildr/trunk/CHANGELOG Mon Mar 31 19:51:18 2008 @@ -53,6 +53,12 @@ (http://blog.evanweaver.com/files/doc/fauna/allison). * Changed: Resource tasks no longer generate target directory if there are no resources to copy over. +* Changed: To prevent collissions with required files, the source layout now +places everything under lib/buildr, so require 'core/compile' is now require +'buildr/core/compile'. +* Changed: The various Java tasks (JavaCC, XMLBeans, JDepends, etc) are now +located in the extra directory, and may at some point relocate to an addon +Gem. * Removed: Prepare tasks removed. * Removed: All deprecated features since 1.1. If you've seen warnings before, except the build to break. @@ -69,6 +75,8 @@ Marek). * Fixed: When compiling Scala only include scala-library and scala-compiler JARs (John Layton). +* Fixed: POM generation now applies JAR as default packaging if unspecified +(Maarten Billemont). 1.2.10 (2007-11-26) * Changed: Resources sets permission on copied files to make them Modified: incubator/buildr/trunk/lib/buildr/core/generate.rb URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/core/generate.rb?rev=643246&r1=643245&r2=643246&view=diff ============================================================================== --- incubator/buildr/trunk/lib/buildr/core/generate.rb (original) +++ incubator/buildr/trunk/lib/buildr/core/generate.rb Mon Mar 31 19:51:18 2008 @@ -174,7 +174,7 @@ test_dependencies = test_dependencies.sort.map{|d| "'#{d}'"}.join(', ') script << " test.with #{test_dependencies}" unless test_dependencies.empty? - packaging = project['packaging'].first + packaging = project['packaging'] ? project['packaging'].first : 'jar' if %w(jar war).include?(packaging) script << " package :#{packaging}, :id => '#{artifactId}'" end