Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ruby_maven.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def self.launch( *args )
# ruby maven defines the polyglot version and this jar sets up its classpath
# i.e. on upgrade or downgrade the right version will be picked
FileUtils.cp(source, File.join(ext_dir, jar.sub(/-[0-9.]*(-SNAPSHOT)?.jar$/, '.jar')))
elsif not File.exists?(File.join(ext_dir, jar)) and not jar =~ /jruby-(core|stdlib).*/
elsif not File.exist?(File.join(ext_dir, jar)) and not jar =~ /jruby-(core|stdlib).*/
# jar files are immutable as they carry the version
warn jar
FileUtils.cp(source, File.join(ext_dir, jar.sub(/-9.4.5.0/, '')))
Expand Down
Loading