--- 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