lib/gjp/script_generator.rb in gjp-0.33.0 vs lib/gjp/script_generator.rb in gjp-0.34.0

- old
+ new

@@ -28,10 +28,10 @@ "PROJECT_PREFIX=`readlink -e .`", "cd #{@project.latest_dry_run_directory}" ] + relevant_lines.map do |line| if line =~ /gjp +mvn/ - line.gsub(/gjp +mvn/, "#{@maven_runner.get_maven_commandline("$PROJECT_PREFIX")}") + line.gsub(/gjp +mvn/, "#{@maven_runner.get_maven_commandline("$PROJECT_PREFIX", ["-o"])}") elsif line =~ /gjp +ant/ line.gsub(/gjp +ant/, "#{@ant_runner.get_ant_commandline("$PROJECT_PREFIX")}") else line end