Author: boisvert
Date: Sun Nov 28 01:47:20 2010
New Revision: 1039810

URL: http://svn.apache.org/viewvc?rev=1039810&view=rev
Log:
BUILDR-544 Support  in pom files (Chris Dean)

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/java/pom.rb

Modified: buildr/trunk/CHANGELOG
URL: 
http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1039810&r1=1039809&r2=1039810&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Sun Nov 28 01:47:20 2010
@@ -4,6 +4,7 @@
           (via libnotify/notify-send)
 * Added:  BUILDR-537 Shell tasks should use JAVA_OPTS by default
 * Added:  BUILDR-538 Shell tasks should support passing :java_args
+* Added:  BUILDR-544 Support ${groupId} in pom files (Chris Dean)
 * Change: BUILDR-540 Upgrade to rspec 2.1.0
 * Change: BUILDR-546 Upgrade to Rubyzip 0.9.4 (Michael Guymon)
 * Fixed:  BUILDR-542 Release task:  SVN tagging fails if parent tag directory

Modified: buildr/trunk/lib/buildr/java/pom.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/pom.rb?rev=1039810&r1=1039809&r2=1039810&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/pom.rb (original)
+++ buildr/trunk/lib/buildr/java/pom.rb Sun Nov 28 01:47:20 2010
@@ -115,7 +115,7 @@ module Buildr
       @properties ||= begin
         pom = ["groupId", "artifactId", "version", "packaging"].inject({}) { 
|hash, key|
           value = project[key] || (parent ? parent.project[key] : nil)
-          hash["pom.#{key}"] = hash["project.#{key}"] = value_of(value) if 
value
+          hash[key] = hash["pom.#{key}"] = hash["project.#{key}"] = 
value_of(value) if value
           hash
         }
         props = project["properties"].first rescue {}


Reply via email to