Sha256: b79377e7b3876850648060f4bf3ce2fc34f5cf5e91588754903ae685946bd762

Contents?: true

Size: 773 Bytes

Versions: 3

Compression:

Stored size: 773 Bytes

Contents

--- lib/buildr/packaging/package.rb
+++ lib/buildr/packaging/package.rb
@@ -183,12 +183,16 @@
                 pom_filename = Util.replace_extension(self.name, 'pom') 
                 spec = {:group=>group, :id=>id, :version=>version, :type=>:pom} @pom = Buildr.artifact(spec, pom_filename) 
+                @pom.dependencies = dependencies 
                 @pom.content @pom.pom_xml 
               end 
               @pom 
             end 
           end 
 
+          # package dependencies are compile dependencies iff not otherwise set
+          package.dependencies |= compile.dependencies 
+ 
           file(Buildr.repositories.locate(package)=>package) { package.install 
 
           # Add the package to the list of packages created by this project, an 
 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
buildr-1.4.5-x86-mswin32 lib/buildr/packaging/#package.rb.rej#
buildr-1.4.5-java lib/buildr/packaging/#package.rb.rej#
buildr-1.4.5 lib/buildr/packaging/#package.rb.rej#