module RJack::Maven

Constants

BASE_DIR
MAVEN_VERSION
VERSION

Public Class Methods

launch( args = ARGV ) click to toggle source

Launch maven with args, using plexis launcher. Returns exit status.

# File lib/rjack-maven.rb, line 41
def self.launch( args = ARGV )
  Launcher.main_with_exit_code( args )
end
setup_system_properties() click to toggle source
# File lib/rjack-maven.rb, line 29
def self.setup_system_properties
  sys = Java::java.lang.System

  sys.set_property( "maven.home", BASE_DIR )
  sys.set_property( "classworlds.conf",
                    File.join( BASE_DIR, 'config', 'm2.conf' ) )
end