ruby-maven 3.1.1.0.8 → 3.1.1.0.9

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: 27ef9a25d907138421beb114ac1be9a4268d9c81
4
- data.tar.gz: 79ebc066645c10a9fb893e2aa3edfbe503048cf6
3
+ metadata.gz: b888984701021933f46920b0597a356835ca8f56
4
+ data.tar.gz: 121810c0b01d0e6f733a7db58fd763bbb758315a
5
5
  SHA512:
6
- metadata.gz: 6ac53801ad411fdcdf099c64ff7bbaa56fa343efe3b8d62bbf91433488d7219bf36852b082a8122155c1e3c0797f943230ae67a396d609fad0df25b5146386ff
7
- data.tar.gz: 170eaebdfd282aeb7ed17b3fb1d65bb226d6b86342dea9abe2c894b765d8ba50ab5d5c450469719c46c9abbb7071a52ef3791d2c1564f21a2c1c3bb7032141a4
6
+ metadata.gz: 63baf4b32d68ca6f232a3ec0065c8fec56a2160d512bd9e5e349ffdcc287a893086cc1d7ffabee032fe8fcf11857a664dd5133bc36b2019f0c65b50804c79f9d
7
+ data.tar.gz: 510d0e2c53d6b0831acc2f4289d18c5650353c4d7f0d1ea8ef434a1185646ecda2351a159299aedd5fb493e4a330d5d629c260d6a202179a64b7ea034f4a5a95
data/bin/dumppom ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ require 'maven/ruby/maven'
3
+
4
+ mvn = Maven::Ruby::Maven.new
5
+
6
+ args = ARGV.dup + [ 'validate', '-Dtesla.dump.pom=pom.xml' ]
7
+ ARGV.clear # clean up in case another script gets executed it gets clear ARGV
8
+
9
+ mvn.exec(*args)
File without changes
@@ -33,6 +33,7 @@ module Maven
33
33
 
34
34
  private
35
35
 
36
+ # TODO if this is not needed anymore remove it completely
36
37
  def launch_jruby(args)
37
38
  java.lang.System.setProperty( "classworlds.conf",
38
39
  TeslaMaven.bin( "m2jruby.conf" ) )
@@ -150,13 +151,8 @@ module Maven
150
151
  end
151
152
 
152
153
  def launch( args )
153
- if defined? JRUBY_VERSION
154
- puts "using jruby #{JRUBY_VERSION} invokation" if verbose
155
- result = launch_jruby( args )
156
- else
157
- puts "using java invokation" if verbose
158
- result = launch_java( args )
159
- end
154
+ puts "using java invokation" if verbose
155
+ result = launch_java( args )
160
156
  if @embedded and not result
161
157
  raise "error in executing maven #{result}"
162
158
  else
File without changes
@@ -0,0 +1,6 @@
1
+ module Maven
2
+ module Ruby
3
+ MAVEN_VERSION = '3.1.1'.freeze
4
+ VERSION = MAVEN_VERSION + '.0.9'# + '.dev'
5
+ end
6
+ end
File without changes
File without changes
@@ -9,7 +9,7 @@ module TeslaMaven
9
9
  VERSION = '0.1.1'.freeze
10
10
 
11
11
  def self.home
12
- File.expand_path( File.join( File.dirname( File.expand_path( __FILE__ ) ), '..' ) )
12
+ File.expand_path( File.join( File.dirname( File.expand_path( __FILE__ ) ), '../ruby-maven-home' ) )
13
13
  end
14
14
 
15
15
  def self.bin( file = nil )
File without changes
File without changes
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.8
4
+ version: 3.1.1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maven-tools
@@ -16,12 +16,12 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.1
19
+ version: 1.0.7
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 1.0.1
24
+ version: 1.0.7
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency
@@ -71,22 +71,24 @@ email:
71
71
  - m.kristian@web.de
72
72
  executables:
73
73
  - rmvn
74
+ - dumppom
74
75
  extensions: []
75
76
  extra_rdoc_files: []
76
77
  files:
77
78
  - bin/rmvn
78
- - bin/m2jruby.conf
79
- - bin/m2.conf
80
- - ext/ruby/tesla-polyglot-ruby-0.1.1.jar
81
- - ruby/ruby-maven.rb
82
- - ruby/tesla_maven.rb
83
- - ruby/ruby_maven.rb
84
- - ruby/maven/ruby.rb
85
- - ruby/maven/ruby/version.rb
86
- - ruby/maven/ruby/maven.rb
87
- - ruby/maven/ruby/tasks.rb
88
- - lib/tesla-polyglot-cli-0.1.1.jar
89
- - lib/tesla-polyglot-common-0.1.1.jar
79
+ - ruby-maven-home/bin/m2jruby.conf
80
+ - ruby-maven-home/bin/m2.conf
81
+ - ruby-maven-home/ext/ruby/tesla-polyglot-ruby-0.1.1.jar
82
+ - lib/ruby-maven.rb
83
+ - lib/tesla_maven.rb
84
+ - lib/ruby_maven.rb
85
+ - lib/maven/ruby.rb
86
+ - lib/maven/ruby/version.rb
87
+ - lib/maven/ruby/maven.rb
88
+ - lib/maven/ruby/tasks.rb
89
+ - ruby-maven-home/lib/tesla-polyglot-cli-0.1.1.jar
90
+ - ruby-maven-home/lib/tesla-polyglot-common-0.1.1.jar
91
+ - bin/dumppom
90
92
  homepage: https://github.com/tesla/tesla-polyglot/tree/master/tesla-polyglot-gem
91
93
  licenses:
92
94
  - EPL
@@ -96,7 +98,7 @@ rdoc_options:
96
98
  - --main
97
99
  - README.md
98
100
  require_paths:
99
- - ruby
101
+ - lib
100
102
  required_ruby_version: !ruby/object:Gem::Requirement
101
103
  requirements:
102
104
  - - '>='
@@ -1,7 +0,0 @@
1
- require 'maven'
2
- module Maven
3
- module Ruby
4
- MAVEN_VERSION = ::Maven::VERSION
5
- VERSION = MAVEN_VERSION + '.0.8'# + '.dev'
6
- end
7
- end