Sha256: c0c46fa5dee97e37a7052ee77f20295b0b41e437c5312681632bdebd98b42707
Contents?: true
Size: 743 Bytes
Versions: 3
Compression:
Stored size: 743 Bytes
Contents
require 'jbundler/configurator' require 'maven/ruby/maven' require 'fileutils' module JBundler class Tree def initialize( config ) @config = Configurator.new( config ) end def show_it( debug = false ) m = Maven::Ruby::Maven.new m.options[ '-f' ] = File.join( File.dirname( __FILE__ ), '.polyglot.dependency_pom.rb' ) m.options[ '-q' ] = nil unless debug m.verbose = debug @config.configure( m ) puts '...' tree = File.join( File.expand_path( @config.work_dir ), 'tree.txt' ) m.property( 'jbundler.outputFile', tree ) m.exec( 'dependency:tree' ) puts File.read( tree ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jruby-bundler-0.9.7 | lib/jbundler/tree.rb |
jruby-bundler-0.9.6 | lib/jbundler/tree.rb |
jruby-bundler-0.9.5 | lib/jbundler/tree.rb |