Sha256: 7ce82bff754b980ccbfba98420781bab2a202d0885ef37e4448a6a0eace540f3
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
require 'jbundler/configurator' module JBundler class Configurator attr_accessor :groups, :bootstrap, :verbose, :compile, :work_dir def initialize( config ) @config = config end def configure( maven ) maven.property( 'jbundler.basedir', @config.basedir ) maven.property( 'jbundler.jarfile', @config.jarfile ) maven.property( 'jbundler.gemfile', @config.gemfile ) maven.property( 'jbundler.workdir', work_dir ) maven.property( 'jbundler.groups', @groups ) maven.property( 'jbundler.bootstrap', @bootstrap ) maven.property( 'maven.repo.local', @config.local_repository ) maven.options[ '-s' ] = @config.settings maven.options[ '-o' ] = nil if @config.offline end def work_dir @work_dir ||= File.expand_path( @config.work_dir ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jbundler-0.6.3 | lib/jbundler/configurator.rb |