module NexusCli::ArtifactActions
def generate_fake_pom(pom_name, artifact)
def generate_fake_pom(pom_name, artifact) Tempfile.open(pom_name) do |file| template_path = File.join(NexusCli.root, "data", "pom.xml.erb") file.puts ERB.new(File.read(template_path)).result(binding) file end end