lib/ruby_maven.rb in ruby-maven-3.9.1 vs lib/ruby_maven.rb in ruby-maven-3.9.2
- old
+ new
@@ -67,10 +67,10 @@
end
old_maven_home = ENV['M2_HOME']
ENV['M2_HOME'] = Maven.home
ext_dir = File.join(Maven.lib, 'ext')
FileUtils.mkdir_p(ext_dir)
- local_dir = File.join(__dir__, 'polyglot_jars')
+ local_dir = File.join(__dir__, 'extensions')
Dir.new(local_dir).select do |file|
file =~ /.*\.jar$/
end.each do |jar|
source = File.join(local_dir, jar)
if jar =~ /polyglot-.*-#{Maven::Ruby::POLYGLOT_VERSION}.jar/