lib/maven/tools/execute_in_phase.rb in maven-tools-0.31.0 vs lib/maven/tools/execute_in_phase.rb in maven-tools-0.32.0
- old
+ new
@@ -1,9 +1,9 @@
require File.join(File.dirname(__FILE__), 'gem_project.rb')
proj = Maven::Tools::GemProject.new("in_phase_execution")
-proj.load(ARGV[0])
+proj.load_mavenfile(ARGV[0])
block = proj.executions_in_phase[ARGV[1]]
block.call if block