ruby-maven 3.0.3.0.28.4 → 3.0.3.0.28.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/jetty-run +1 -0
- data/bin/rmvn +2 -1
- data/bin/tomcat-run +1 -0
- data/lib/ruby/ruby_maven.rb +4 -2
- metadata +2 -2
data/bin/jetty-run
CHANGED
data/bin/rmvn
CHANGED
data/bin/tomcat-run
CHANGED
data/lib/ruby/ruby_maven.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'maven/tools/rails_project'
|
3
|
+
require 'java' if defined? JRUBY_VERSION
|
3
4
|
|
4
5
|
module Maven
|
5
6
|
class RubyMaven
|
@@ -96,7 +97,7 @@ module Maven
|
|
96
97
|
log = File.join('log', 'rmvn.log')
|
97
98
|
if File.exists? File.dirname(log)
|
98
99
|
File.open(log, 'a') do |f|
|
99
|
-
f.puts "
|
100
|
+
f.puts "#{$0.sub(/.*\//, '')} #{args.join ' '}"
|
100
101
|
end
|
101
102
|
end
|
102
103
|
end
|
@@ -185,10 +186,11 @@ module Maven
|
|
185
186
|
end
|
186
187
|
|
187
188
|
def exec(*args)
|
189
|
+
log(args)
|
188
190
|
a = command_line(args.dup.flatten)
|
189
191
|
a << options_array
|
190
192
|
a.flatten!
|
191
|
-
a = generate_pom(a)
|
193
|
+
a = generate_pom(*a)
|
192
194
|
puts a.join ' '
|
193
195
|
if defined? JRUBY_VERSION
|
194
196
|
launch_jruby(a)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ruby-maven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 3.0.3.0.28.4
|
5
|
+
version: 3.0.3.0.28.4.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- mkristian
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-27 00:00:00 +05:30
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|