lib/maven/tools/dsl.rb in maven-tools-1.0.3 vs lib/maven/tools/dsl.rb in maven-tools-1.0.4
- old
+ new
@@ -371,10 +371,10 @@
spec = nil
f = ::File.expand_path( name )
spec_file = ::File.read( f )
begin
spec = Gem::Specification.from_yaml( spec_file )
- rescue
+ rescue Exception
FileUtils.cd( basedir ) do
# TODO jruby java user.dir
spec = eval( spec_file, nil, f )
end
end