Sha256: aa1ffcb7fa0f702a4d62945ad87fde13345f5f2f430039f884b4f70fca28c3a9

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

#!/usr/bin/env jruby
begin
  require 'java'
rescue LoadError => e
  raise "this executable need jruby. quit."
end

bin = File.dirname(__FILE__)
boot = File.join(bin, "..", "boot")

classpath = Dir.glob(boot + "/*jar").join(":")

java.lang.System.setProperty("classworlds.conf", File.join(bin, "m2.conf"))

java.lang.System.setProperty("maven.home", File.join(bin, ".."))

classpath.split(":").each do |path|
  require path
end

org.codehaus.plexus.classworlds.launcher.Launcher.main(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maven-0.8.pre.0-java bin/maven