class Jars::LockDown
def maven_new
def maven_new factory = MavenFactory.new({}, @debug, @verbose) pom = File.expand_path('lock_down_pom.rb', __dir__) m = factory.maven_new(pom) m['jruby.plugins.version'] = Jars::JRUBY_PLUGINS_VERSION m['dependency.plugin.version'] = Jars::DEPENDENCY_PLUGIN_VERSION m['jars.basedir'] = File.expand_path(basedir) jarfile = File.expand_path(Jars.jarfile) m['jars.jarfile'] = jarfile if File.exist?(jarfile) attach_jar_coordinates_from_bundler_dependencies(m) m end