ruby-maven 3.1.1.0.1 → 3.1.1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a3d5ed4bd3167569a385244bc1f1728f48b80b0
4
- data.tar.gz: 4904cf2ca52ec6ba0a3a507bccfe4fa22f2e529e
3
+ metadata.gz: 97a21808d4d81a73e5e114a0d39442d29d5a7f25
4
+ data.tar.gz: 61cd2d0f3e7dd1e69030ae50160381ee932ce5e1
5
5
  SHA512:
6
- metadata.gz: caff755d93768010d1a682ad2c2a9d899245bcc2066179c8b546d07e2b9311b1d2a870ba31adc21d2b3d17842508458d17bf638890420e160763a32ac9d94950
7
- data.tar.gz: 7f4306d7bbca2a5d832339ad574d2c21359585ad8b1a00e03821e4056c1e93a92706c9423d3f850d6733906b9a84345a9e840c777dd13b89cd51e578f6cd2603
6
+ metadata.gz: 7220ee0cdd96b04e90c7467e0d61bfaefc9b3bbdb75153e3f947e65cce7375a933c9cf04feeef9379c5b891343949a00b63acd734c128dccb6875fe40d5f5339
7
+ data.tar.gz: 16d88bc843a771648728eba067f6723c83af433521adafe2bab1ae0d483174b1de036d86b9549bb8fb3acfc1bbec895dcbe2d610ca9f932058e6c70f7ea9333d
Binary file
Binary file
Binary file
@@ -46,7 +46,22 @@ module Maven
46
46
  self.class.require_classpath( TeslaMaven.maven_lib )
47
47
  self.class.require_classpath( TeslaMaven.lib )
48
48
 
49
+ # this is a hack to ensure ruby-maven also works inside the
50
+ # jruby development itself where the lib/jruby.jar gets build
51
+ # during the execution of maven and the jar used to launch jruby
52
+ # will be replaced.
53
+
54
+ jar = 'lib/jruby.jar'
55
+ jar_copy = 'lib/jruby-copy.jar'
56
+ if File.exists? jar
57
+ FileUtils.mv( jar, jar_copy )
58
+ end
59
+
49
60
  org.codehaus.plexus.classworlds.launcher.Launcher.main_with_exit_code( args )
61
+ ensure
62
+ if File.exists? jar_copy
63
+ FileUtils.mv( jar_copy, jar )
64
+ end
50
65
  end
51
66
 
52
67
  def launch_java(args)
@@ -2,6 +2,6 @@ require 'maven'
2
2
  module Maven
3
3
  module Ruby
4
4
  MAVEN_VERSION = ::Maven::VERSION
5
- VERSION = MAVEN_VERSION + '.0.1'# + '.dev'
5
+ VERSION = MAVEN_VERSION + '.0.2'# + '.dev'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-maven
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1.0.1
4
+ version: 3.1.1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-18 00:00:00.000000000 Z
11
+ date: 2014-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maven-tools