diff --git a/lib/maven/ruby/version.rb b/lib/maven/ruby/version.rb index f88c13a..f78e073 100644 --- a/lib/maven/ruby/version.rb +++ b/lib/maven/ruby/version.rb @@ -1,6 +1,6 @@ module Maven module Ruby - VERSION = '3.9.14'.freeze + VERSION = '3.9.0'.freeze POLYGLOT_VERSION = "0.7.1".freeze end end diff --git a/lib/extensions/.keep b/lib/polyglot_jars/.keep similarity index 100% rename from lib/extensions/.keep rename to lib/polyglot_jars/.keep diff --git a/lib/ruby_maven.rb b/lib/ruby_maven.rb index 66ba27c..522a5c8 100644 --- a/lib/ruby_maven.rb +++ b/lib/ruby_maven.rb @@ -69,7 +69,7 @@ def self.launch( *args ) ENV['M2_HOME'] = Maven.home ext_dir = File.join(Maven.lib, 'ext') FileUtils.mkdir_p(ext_dir) - local_dir = File.join(__dir__, 'extensions') + local_dir = File.join(__dir__, 'polyglot_jars') Dir.new(local_dir).select do |file| file =~ /.*\.jar$/ end.each do |jar| diff --git a/ruby-maven.gemspec b/ruby-maven.gemspec index bbf1c18..0b7c86c 100644 --- a/ruby-maven.gemspec +++ b/ruby-maven.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.rdoc_options = ["--main", "README.md"] - s.add_dependency 'ruby-maven-libs', "~> 3.9.6" + s.add_dependency 'ruby-maven-libs', "~> 3.9.9" s.add_development_dependency 'minitest', '~> 5.3' s.add_development_dependency 'rake', '~> 12.3' end diff --git a/spec/ruby_maven_spec.rb b/spec/ruby_maven_spec.rb index 9b3fc22..8a79ed5 100644 --- a/spec/ruby_maven_spec.rb +++ b/spec/ruby_maven_spec.rb @@ -10,7 +10,7 @@ _, err = capture_io do RubyMaven.exec( '--version' ) end - _(err).must_match /Polyglot Maven Extension 0.4.8/ + _(err).must_match /Polyglot Maven Extension 0.7/ xml = File.read('.mvn/extensions.xml') _(xml).must_equal "dummy\n" end @@ -30,8 +30,6 @@ end _(out).must_match /mvn -Dverbose package/ _(File.exist?( gem_name )).must_equal true - _(File.exist?( '.mvn/extensions.xml' )).must_equal true - _(File.exist?( '.mvn/extensions.xml.orig' )).wont_equal true end end