lib/maven/tools/dsl.rb in maven-tools-1.0.10 vs lib/maven/tools/dsl.rb in maven-tools-1.0.11

- old
+ new

@@ -333,9 +333,10 @@ end if file.is_a?( Maven::Tools::Jarfile ) warn "DEPRECATED use filename instead" file = jfile.file end + file = ::File.join( basedir, file ) unless ::File.exists?( file ) dsl = Maven::Tools::DSL::Jarfile.new( @current, file, options[ :skip_lock ] ) # TODO this setup should be part of DSL::Jarfile jarfile_dsl( dsl ) end