[1417]Integrate install_build.rb into maven install phase and copy script, too