ruby-maven 3.3.0.dev → 3.3.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: 8e03da4bc5c0ca4eb74a7972b46c8164d0143a70
4
- data.tar.gz: c38d06abd005604e8f09656043c8d497a61d34c3
3
+ metadata.gz: 92671b8ffd49dc6da94ae8f9b185666779e3c658
4
+ data.tar.gz: 8663bc0a42c7946f8902567db93d13794a88b1b7
5
5
  SHA512:
6
- metadata.gz: 4ae0e3c6152bf8c891f0e84d272854feccdbca15c419cd42844bdbf9e6a14669c265cce942ccde26770a2f36f6acd0102433526a3b3ac65ab88097a6d456366c
7
- data.tar.gz: 0b97469946062419fcc526c156bdf587154b5827533699d4af108f54213b7195a444a9e16895615f9b62344675d03d6b30a17ba6aa17612a5997a90aa3b4cc59
6
+ metadata.gz: f2ba799da965bfaae231c41e4b88e1c3da034d31095f3ae25942b3657c202b9d04d9416f9edc07ae8ac71aa1df5762463ae9420f320e88198be7551e8adda66f
7
+ data.tar.gz: 7035932c41450f5fa0aa7e0489dbb4deb0ae0d97f2fec4be7ddece3fd910cb83b68b94bb33f51918337c1cc4820e550cfb7bfe0fa936e68a73a4b535ba148b55
data/Mavenfile ADDED
@@ -0,0 +1,26 @@
1
+ # -*- mode:ruby -*-
2
+
3
+ gemspec
4
+
5
+ distribution_management do
6
+ repository :id => :ossrh, :url => 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
7
+ end
8
+
9
+ plugin :deploy, '2.8.2' do
10
+ execute_goal :deploy, :phase => :deploy, :id => 'deploy gem to maven central', :skip => '${deploy.skip}'
11
+ end
12
+
13
+ properties 'push.skip' => true, 'deploy.skip' => true
14
+
15
+ profile :id => :release do
16
+ properties 'maven.test.skip' => true, 'invoker.skip' => true
17
+ properties 'push.skip' => false, 'deploy.skip' => false
18
+ plugin :gpg, '1.5' do
19
+ execute_goal :sign, :id => 'sign artifacts', :phase => :verify
20
+ end
21
+ build do
22
+ default_goal :deploy
23
+ end
24
+ end
25
+
26
+ # vim: syntax=Ruby
@@ -1,5 +1,5 @@
1
1
  module Maven
2
2
  module Ruby
3
- VERSION = '3.3.0' + '.dev'
3
+ VERSION = '3.3.2'
4
4
  end
5
5
  end
data/lib/ruby_maven.rb CHANGED
@@ -43,9 +43,19 @@ module RubyMaven
43
43
  end
44
44
 
45
45
  def self.launch( *args )
46
- Dir.chdir( dir ) do
47
- Maven.exec( *args )
46
+ old_maven_home = ENV['M2_HOME']
47
+ ENV['M2_HOME'] = Maven.home
48
+
49
+ extensions = File.join( '.mvn/extensions.xml' )
50
+ unless has_extensions = File.exists?( extensions )
51
+ FileUtils.mkdir_p( '.mvn' )
52
+ FileUtils.cp( File.join( dir, extensions), extensions )
48
53
  end
54
+ Maven.exec( *args )
55
+
56
+ ensure
57
+ ENV['M2_HOME'] = old_maven_home
58
+ FileUtils.rm_f( extensions ) unless has_extensions
49
59
  end
50
60
 
51
61
  POLYGLOT_VERSION = begin
data/ruby-maven.gemspec CHANGED
@@ -19,9 +19,8 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.executables = ['rmvn']
21
21
  s.rdoc_options = ["--main", "README.md"]
22
-
23
- #s.add_dependency 'maven-tools', "~> 1.0.6"
24
- #s.add_dependency 'ruby-maven-libs', "~> 3.3.1"
22
+
23
+ s.add_dependency 'ruby-maven-libs', "~> 3.3.1"
25
24
  s.add_development_dependency 'minitest', '~> 5.3'
26
25
  s.add_development_dependency 'rake', '~> 10.3'
27
26
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-maven
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0.dev
4
+ version: 3.3.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: 2015-05-13 00:00:00.000000000 Z
11
+ date: 2015-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby-maven-libs
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.3.1
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 3.3.1
25
+ prerelease: false
26
+ type: :runtime
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: minitest
15
29
  version_requirements: !ruby/object:Gem::Requirement
@@ -48,6 +62,7 @@ extra_rdoc_files: []
48
62
  files:
49
63
  - .gitignore
50
64
  - .mvn/extensions.xml
65
+ - Mavenfile
51
66
  - lib/maven/ruby.rb
52
67
  - lib/maven/ruby/maven.rb
53
68
  - lib/maven/ruby/tasks.rb
@@ -75,9 +90,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
90
  version: '0'
76
91
  required_rubygems_version: !ruby/object:Gem::Requirement
77
92
  requirements:
78
- - - '>'
93
+ - - '>='
79
94
  - !ruby/object:Gem::Version
80
- version: 1.3.1
95
+ version: '0'
81
96
  requirements: []
82
97
  rubyforge_project:
83
98
  rubygems_version: 2.1.9